The kill command in the DAMON documentation uses an incorrect option syntax in the perf example. Use kill -9 instead of kill 9 to correctly send SIGKILL to the perf process. Signed-off-by: Adrian Huang (Lenovo) --- Documentation/admin-guide/mm/damon/usage.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/admin-guide/mm/damon/usage.rst b/Documentation/admin-guide/mm/damon/usage.rst index 3d43954c7046..bd687d89ea4c 100644 --- a/Documentation/admin-guide/mm/damon/usage.rst +++ b/Documentation/admin-guide/mm/damon/usage.rst @@ -749,7 +749,7 @@ show results using tracepoint supporting tools like ``perf``. For example:: # echo on > kdamonds/0/state # perf record -e damon:damon_aggregated & # sleep 5 - # kill 9 $(pidof perf) + # kill -9 $(pidof perf) # echo off > kdamonds/0/state # perf script kdamond.0 46568 [027] 79357.842179: damon:damon_aggregated: target_id=0 nr_regions=11 122509119488-135708762112: 0 864 -- 2.43.0