Skip to content

Commit 59cbea2

Browse files
ftang1acmel
authored andcommitted
perf scripts: Add event_analyzing_sample-record/report
So that event_analyzing_sample.py can be shown by "perf script -l" Signed-off-by: Feng Tang <feng.tang@intel.com> Cc: Andi Kleen <andi@firstfloor.org> Cc: David Ahern <dsahern@gmail.com> Cc: Ingo Molnar <mingo@elte.hu> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Link: http://lkml.kernel.org/r/1347007349-3102-4-git-send-email-feng.tang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
1 parent 36385be commit 59cbea2

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/bin/bash
2+
3+
#
4+
# event_analyzing_sample.py can cover all type of perf samples including
5+
# the tracepoints, so no special record requirements, just record what
6+
# you want to analyze.
7+
#
8+
perf record $@
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
#!/bin/bash
2+
# description: analyze all perf samples
3+
perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/event_analyzing_sample.py

0 commit comments

Comments
 (0)