From: "Tzvetomir Stoyanov (VMware)" <tz.stoyanov@gmail.com>
To: y.karadz@gmail.com
Cc: rostedt@goodmis.org, linux-trace-devel@vger.kernel.org
Subject: [RFC PATCH v2 0/3] trace-cruncher: Initial support for perf
Date: Fri, 8 Apr 2022 13:03:36 +0300 [thread overview]
Message-ID: <20220408100339.594358-1-tz.stoyanov@gmail.com> (raw)
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.
v2 changes:
- Renamed a lot of APIs and internal functions, to have more consistent
names and prefixes.
- Added support for staring an application that is going to be traced.
- Added support for setting the time duration of collecting the traces.
- Handle ctrl-c into the C library instead of the user application.
- Coding style fixes.
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 | 53 ++
setup.py | 9 +-
src/perfpy-utils.c | 896 ++++++++++++++++++++++++++++++++++
src/perfpy-utils.h | 43 ++
src/perfpy.c | 141 ++++++
src/trace-obj-debug.c | 982 ++++++++++++++++++++++++++++++++++++++
src/trace-obj-debug.h | 54 +++
7 files changed, 2176 insertions(+), 2 deletions(-)
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.35.1
next reply other threads:[~2022-04-08 10:04 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 10:03 Tzvetomir Stoyanov (VMware) [this message]
2022-04-08 10:03 ` [RFC PATCH v2 1/3] trace-cruncher: Logic for resolving address to function name Tzvetomir Stoyanov (VMware)
2022-04-08 10:03 ` [RFC PATCH v2 2/3] trace-cruncher: Support for perf Tzvetomir Stoyanov (VMware)
2022-04-14 12:58 ` Yordan Karadzhov
2022-04-15 11:35 ` Tzvetomir Stoyanov
2022-04-08 10:03 ` [RFC PATCH v2 3/3] trace-cruncher: perf example Tzvetomir Stoyanov (VMware)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220408100339.594358-1-tz.stoyanov@gmail.com \
--to=tz.stoyanov@gmail.com \
--cc=linux-trace-devel@vger.kernel.org \
--cc=rostedt@goodmis.org \
--cc=y.karadz@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).