On Thu, Feb 24, 2022 at 8:37 AM Tzvetomir Stoyanov (VMware) <tz.stoyanov@xxxxxxxxx> wrote: > > Two major functionalities are introduced by this patch set: > - VMA <-> function name resolving, using bfd library. Just wanted to point out that perf is often not built against libbfd: Please build perf against libbfd - https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=911815 where long running addr2line is now the best performance solution: https://lore.kernel.org/linux-perf-users/20210909112202.1947499-1-tonyg@xxxxxxxxxxxxxxxxxxx/ The comment from the bug: perf can link against libbfd if available, but the result is undistributable as they are licenced under GPL v2 and v3+ respectively. Thanks, Ian > - 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/20220221102628.43904-1-tz.stoyanov@xxxxxxxxx/ > > 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 > > -- > 2.34.1 >