summaryrefslogtreecommitdiffhomepage
path: root/content/docs/user_guide/debugging.md
diff options
context:
space:
mode:
authorIan Lewis <ianlewis@google.com>2020-01-21 01:11:58 -0500
committerIan Lewis <ianlewis@google.com>2020-01-21 01:11:58 -0500
commita910cc8fd10e508de56e97c2de2af289c1f1f7bb (patch)
treed41db4d1a236f32cd62b4d8a22a7ca25bdc0075e /content/docs/user_guide/debugging.md
parentdcd8504d9866a9b0d95fadbff79e599f5d6893db (diff)
parent3bdcdb0097d4a1d499d78c9e5a50dab2e1a01e0a (diff)
Merge branch 'lint-md'
Diffstat (limited to 'content/docs/user_guide/debugging.md')
-rw-r--r--content/docs/user_guide/debugging.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/docs/user_guide/debugging.md b/content/docs/user_guide/debugging.md
index 4d26d557c..49f9638d7 100644
--- a/content/docs/user_guide/debugging.md
+++ b/content/docs/user_guide/debugging.md
@@ -106,9 +106,9 @@ Then restart docker to refresh the runtime options. While the container is runni
execute `runsc debug` to collect profile information and save to a file. Here are
the options available:
- * **--profile-heap:** Generates heap profile to the speficied file.
- * **--profile-cpu:** Enables CPU profiler, waits for `--profile-delay` seconds
- and generates CPU profile to the speficied file.
+* **--profile-heap:** Generates heap profile to the speficied file.
+* **--profile-cpu:** Enables CPU profiler, waits for `--profile-delay` seconds
+ and generates CPU profile to the speficied file.
For example:
@@ -120,7 +120,7 @@ sudo runsc --root /var/run/docker/runtime-runsc-prof/moby debug --profile-heap=/
sudo runsc --root /var/run/docker/runtime-runsc-prof/moby debug --profile-cpu=/tmp/cpu.prof --profile-delay=30 63254c6ab3a6989623fa1fb53616951eed31ac605a2637bb9ddba5d8d404b35b
```
-The resulting files can be opened using `go tool pprof` or [pprof]. The examples
+The resulting files can be opened using `go tool pprof` or [pprof][]. The examples
below create image file (`.svg`) with the heap profile and writes the top
functions using CPU to the console: