linux-perf-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Howard Chu <howardchu95@gmail.com>
To: Arnaldo Carvalho de Melo <acme@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
	Ian Rogers <irogers@google.com>,
	Adrian Hunter <adrian.hunter@intel.com>,
	Kan Liang <kan.liang@linux.intel.com>,
	linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: [PATCH v1 0/5] perf trace: Augment enum arguments with BTF
Date: Tue, 18 Jun 2024 23:26:47 +0800	[thread overview]
Message-ID: <20240618152652.3446472-1-howardchu95@gmail.com> (raw)

Augment enum arguments in perf trace, including syscall arguments and
non-syscall tracepoint arguments.

The augmentation is implemented using BTF.

This patch series also includes a bug fix, which makes more syscalls to 
be traceable by perf trace.

Test is included.

*** BLURB HERE ***

Howard Chu (5):
  perf trace: Fix iteration of syscall ids in syscalltbl->entries
  perf trace: Augment enum syscall arguments with BTF
  perf trace: Augment enum tracepoint arguments with BTF
  perf trace: Filter enum arguments with enum names
  perf trace: Add test for enum augmentation

 tools/perf/builtin-trace.c               | 214 ++++++++++++++++++++---
 tools/perf/tests/shell/trace_btf_enum.sh | 104 +++++++++++
 tools/perf/util/syscalltbl.c             |   7 +
 tools/perf/util/syscalltbl.h             |   1 +
 4 files changed, 301 insertions(+), 25 deletions(-)
 create mode 100755 tools/perf/tests/shell/trace_btf_enum.sh

-- 
2.45.2


             reply	other threads:[~2024-06-18 15:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-18 15:26 Howard Chu [this message]
2024-06-18 15:26 ` [PATCH v1 1/5] perf trace: Fix iteration of syscall ids in syscalltbl->entries Howard Chu
2024-06-18 15:26 ` [PATCH v1 2/5] perf trace: Augment enum syscall arguments with BTF Howard Chu
2024-06-18 15:26 ` [PATCH v1 3/5] perf trace: Augment enum tracepoint " Howard Chu
2024-06-18 15:26 ` [PATCH v1 4/5] perf trace: Filter enum arguments with enum names Howard Chu
2024-06-18 15:26 ` [PATCH v1 5/5] perf trace: Add test for enum augmentation Howard Chu
2024-06-18 17:56   ` Arnaldo Carvalho de Melo
2024-06-18 18:00     ` Howard Chu

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=20240618152652.3446472-1-howardchu95@gmail.com \
    --to=howardchu95@gmail.com \
    --cc=acme@kernel.org \
    --cc=adrian.hunter@intel.com \
    --cc=irogers@google.com \
    --cc=jolsa@kernel.org \
    --cc=kan.liang@linux.intel.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=namhyung@kernel.org \
    /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).