History

perf scripts: Add event_analyzing_sample-record/report

So that event_analyzing_sample.py can be shown by "perf script -l"

Feng Tang committed 14 years ago

Commit 59cbea21 parent 36385be2 files · +11 −0Browse files

Showing the changes to tools/perf/scripts/python/bin (2 of 2 files). Show all

Unified · Split

2 files
  1. tools/perf/scripts/python/bin/event_analyzing_sample-record +8 −0
  2. tools/perf/scripts/python/bin/event_analyzing_sample-report +3 −0
tools/perf/scripts/python/bin/event_analyzing_sample-record+8−0
@@ -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#
8perf record $@
tools/perf/scripts/python/bin/event_analyzing_sample-report+3−0
@@ -0,0 +1,3 @@
1#!/bin/bash
2# description: analyze all perf samples
3perf script $@ -s "$PERF_EXEC_PATH"/scripts/python/event_analyzing_sample.py

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t