Skip to content

Commit 628d736

Browse files
captain5050acmel
authored andcommitted
perf script: add -S/--symbols documentation
Capture both that this option exists and that symbols can be hexadecimal addresses. Signed-off-by: Ian Rogers <[email protected]> Suggested-by: Arnaldo Carvalho de Melo <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lore.kernel.org/lkml/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
1 parent 8ed1faf commit 628d736

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

tools/perf/Documentation/perf-script.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,14 @@ include::itrace.txt[]
412412
--xed::
413413
Run xed disassembler on output. Requires installing the xed disassembler.
414414

415+
-S::
416+
--symbols=symbol[,symbol...]::
417+
Only consider the listed symbols. Symbols are typically a name
418+
but they may also be hexadecimal address.
419+
420+
For example, to select the symbol noploop or the address 0x4007a0:
421+
perf script --symbols=noploop,0x4007a0
422+
415423
--call-trace::
416424
Show call stream for intel_pt traces. The CPUs are interleaved, but
417425
can be filtered with -C.

0 commit comments

Comments
 (0)