perf python: Add an example for sampling
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | perf python: Add support for record_opts structtools/ | +183 | 0 replies | |
| 2/2 | perf python: Add sampling.py as example for samplingtools/ | +49 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] perf python: Add an example for sampling
Add an example for sampling events with python. Patch 1 adds support for record_opts struct and patch 2 adds an example for sampling. The example also demonstrates usage of the record_opts struct to customize the evsel initialization from python.
Gautam Menghani (2):
perf python: Add support for record_opts struct perf python: Add sampling.py as example for sampling
tools/perf/python/sampling.py | 49 +++++++++ tools/perf/util/python.c | 186 +++++++++++++++++++++++++++++++++- 2 files changed, 232 insertions(+), 3 deletions(-) create mode 100755 tools/perf/python/sampling.py
Signature · 1 line
2.49.0