Skip to content

Commit 492e4ed

Browse files
committed
perf ftrace: Make option description initials all capital letters
And improve a bit the -m description to state that a B/K/M/G suffix is needed. Cc: Changbin Du <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Steven Rostedt (VMware) <[email protected]> Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c7a14fd commit 492e4ed

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

tools/perf/builtin-ftrace.c

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -816,42 +816,42 @@ int cmd_ftrace(int argc, const char **argv)
816816
};
817817
const struct option ftrace_options[] = {
818818
OPT_STRING('t', "tracer", &ftrace.tracer, "tracer",
819-
"tracer to use: function_graph(default) or function"),
819+
"Tracer to use: function_graph(default) or function"),
820820
OPT_BOOLEAN('F', "funcs", &ftrace.list_avail_functions,
821821
"Show available functions to filter"),
822822
OPT_STRING('p', "pid", &ftrace.target.pid, "pid",
823-
"trace on existing process id"),
823+
"Trace on existing process id"),
824824
/* TODO: Add short option -t after -t/--tracer can be removed. */
825825
OPT_STRING(0, "tid", &ftrace.target.tid, "tid",
826-
"trace on existing thread id (exclusive to --pid)"),
826+
"Trace on existing thread id (exclusive to --pid)"),
827827
OPT_INCR('v', "verbose", &verbose,
828-
"be more verbose"),
828+
"Be more verbose"),
829829
OPT_BOOLEAN('a', "all-cpus", &ftrace.target.system_wide,
830-
"system-wide collection from all CPUs"),
830+
"System-wide collection from all CPUs"),
831831
OPT_STRING('C', "cpu", &ftrace.target.cpu_list, "cpu",
832-
"list of cpus to monitor"),
832+
"List of cpus to monitor"),
833833
OPT_CALLBACK('T', "trace-funcs", &ftrace.filters, "func",
834-
"trace given functions using function tracer",
834+
"Trace given functions using function tracer",
835835
parse_filter_func),
836836
OPT_CALLBACK('N', "notrace-funcs", &ftrace.notrace, "func",
837-
"do not trace given functions", parse_filter_func),
837+
"Do not trace given functions", parse_filter_func),
838838
OPT_CALLBACK(0, "func-opts", &ftrace, "options",
839-
"function tracer options, available options: call-graph,irq-info",
839+
"Function tracer options, available options: call-graph,irq-info",
840840
parse_func_tracer_opts),
841841
OPT_CALLBACK('G', "graph-funcs", &ftrace.graph_funcs, "func",
842-
"trace given functions using function_graph tracer",
842+
"Trace given functions using function_graph tracer",
843843
parse_filter_func),
844844
OPT_CALLBACK('g', "nograph-funcs", &ftrace.nograph_funcs, "func",
845845
"Set nograph filter on given functions", parse_filter_func),
846846
OPT_CALLBACK(0, "graph-opts", &ftrace, "options",
847-
"graph tracer options, available options: nosleep-time,noirqs,verbose,thresh=<n>,depth=<n>",
847+
"Graph tracer options, available options: nosleep-time,noirqs,verbose,thresh=<n>,depth=<n>",
848848
parse_graph_tracer_opts),
849849
OPT_CALLBACK('m', "buffer-size", &ftrace.percpu_buffer_size, "size",
850-
"size of per cpu buffer", parse_buffer_size),
850+
"Size of per cpu buffer, needs to use a B, K, M or G suffix.", parse_buffer_size),
851851
OPT_BOOLEAN(0, "inherit", &ftrace.inherit,
852-
"trace children processes"),
852+
"Trace children processes"),
853853
OPT_UINTEGER('D', "delay", &ftrace.initial_delay,
854-
"ms to wait before starting tracing after program start"),
854+
"Number of milliseconds to wait before starting tracing after program start"),
855855
OPT_END()
856856
};
857857

0 commit comments

Comments
 (0)