Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

perf daemon: Complete list of supported subcommand in help message

perf daemon supports start, signal, stop and ping subcommands, complete it

Before:

# perf daemon -h
Usage: perf daemon start [<options>]
or: perf daemon [<options>]

-v, --verbose be more verbose
-x, --field-separator[=<field separator>]
print counts with custom separator
--base <directory>
base directory
--config <config file>
config file path

After:

# perf daemon -h

Usage: perf daemon {start|signal|stop|ping} [<options>]
or: perf daemon [<options>]

-v, --verbose be more verbose
-x, --field-separator[=<field separator>]
print counts with custom separator
--base <directory>
base directory
--config <config file>
config file path

Signed-off-by: Yang Jihong <yangjihong1@huawei.com>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: https://lore.kernel.org/r/20221022092735.114967-3-yangjihong1@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>

authored by

Yang Jihong and committed by
Arnaldo Carvalho de Melo
a87edbec 8b76a318

+1 -1
+1 -1
tools/perf/builtin-daemon.c
··· 100 100 }; 101 101 102 102 static const char * const daemon_usage[] = { 103 - "perf daemon start [<options>]", 103 + "perf daemon {start|signal|stop|ping} [<options>]", 104 104 "perf daemon [<options>]", 105 105 NULL 106 106 };