Skip to content

Commit

Permalink
Merge pull request #24314 from galderz/t_native_ref_guide_updates
Browse files Browse the repository at this point in the history
Fix curl URL and note formatting
  • Loading branch information
gsmet authored Mar 15, 2022
2 parents 21ef6b5 + e654580 commit 6b814be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/src/main/asciidoc/native-reference.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -535,7 +535,7 @@ Send a `GET` request multiple times from another terminal:

[source,bash]
----
curl -w '\n' http://localhost:8080/time # run this multiple times
curl -w '\n' http://localhost:8080/timestamp # run this multiple times
----

to see how the current time has been baked into the binary.
Expand Down Expand Up @@ -736,7 +736,7 @@ go to the root of the project and start the tools container created earlier as a
docker run --privileged -t -i --rm -v ${PWD}:/data -p 8080:8080 fedora-tools:v1
----

[[NOTE]]
[NOTE]
====
Note that in order to use `perf` to profile the native executables in the guide,
the container needs to run as privileged, or with `--cap-add sys_admin`.
Expand Down

0 comments on commit 6b814be

Please sign in to comment.