Skip to content

RFC trace-cruncher: Initial support for perf

Tzvetomir Stoyanov (VMware) linux-perf-users linux-trace-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest3 patches 6 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3trace-cruncher: Logic for resolving address to function namesrc/trace-obj-debug.c src/trace-obj-debug.h+925 -00 replies
2/3trace-cruncher: Support for perfsetup.py src/perfpy-utils.c src/perfpy-utils.h +1 more+889 -12 replies
3/3trace-cruncher: perf exampleexamples/perf_sampling.py+51 -01 reply

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC PATCH 0/3] trace-cruncher: Initial support for perf

Two major functionalities are introduced by this patch set:
- VMA <-> function name resolving, using bfd library.
- Support for Linux kernel perf framework, using perf library.

This is still a work in progress. Depends on this patch, not yet merged:
https://lore.kernel.org/linux-perf-users/[email protected]/

Tzvetomir Stoyanov (VMware) (3):
trace-cruncher: Logic for resolving address to function name
trace-cruncher: Support for perf
trace-cruncher: perf example

 examples/perf_sampling.py |  51 +++
 setup.py                  |   9 +-
 src/perfpy-utils.c        | 699 ++++++++++++++++++++++++++++++
 src/perfpy-utils.h        |  41 ++
 src/perfpy.c              | 141 ++++++
 src/trace-obj-debug.c     | 873 ++++++++++++++++++++++++++++++++++++++
 src/trace-obj-debug.h     |  52 +++
 7 files changed, 1865 insertions(+), 1 deletion(-)
 create mode 100755 examples/perf_sampling.py
 create mode 100644 src/perfpy-utils.c
 create mode 100644 src/perfpy-utils.h
 create mode 100644 src/perfpy.c
 create mode 100644 src/trace-obj-debug.c
 create mode 100644 src/trace-obj-debug.h
Signature · 1 line
2.34.1