Skip to content

Commit d793107

Browse files
Ravi Bangoriaacmel
authored andcommitted
perf script: Add missing fields in usage hint
A few fields are missing in the usage message printed when an unknown field option is passed. Add them to the list. Signed-off-by: Ravi Bangoria <[email protected]> Acked-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ali Saidi <[email protected]> Cc: Ananth Narayan <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Borislav Petkov <[email protected]> Cc: Dave Hansen <[email protected]> Cc: H. Peter Anvin <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Joe Mario <[email protected]> Cc: Kan Liang <[email protected]> Cc: Kim Phillips <[email protected]> Cc: Leo Yan <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Sandipan Das <[email protected]> Cc: Santosh Shukla <[email protected]> Cc: Stephane Eranian <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent c72de11 commit d793107

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

tools/perf/builtin-script.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3846,9 +3846,10 @@ int cmd_script(int argc, const char **argv)
38463846
"Valid types: hw,sw,trace,raw,synth. "
38473847
"Fields: comm,tid,pid,time,cpu,event,trace,ip,sym,dso,"
38483848
"addr,symoff,srcline,period,iregs,uregs,brstack,"
3849-
"brstacksym,flags,bpf-output,brstackinsn,brstackinsnlen,brstackoff,"
3850-
"callindent,insn,insnlen,synth,phys_addr,metric,misc,ipc,tod,"
3851-
"data_page_size,code_page_size,ins_lat",
3849+
"brstacksym,flags,data_src,weight,bpf-output,brstackinsn,"
3850+
"brstackinsnlen,brstackoff,callindent,insn,insnlen,synth,"
3851+
"phys_addr,metric,misc,srccode,ipc,tod,data_page_size,"
3852+
"code_page_size,ins_lat",
38523853
parse_output_fields),
38533854
OPT_BOOLEAN('a', "all-cpus", &system_wide,
38543855
"system-wide collection from all CPUs"),

0 commit comments

Comments
 (0)