From: Arnaldo Carvalho de Melo Date: Wed, 12 Mar 2025 20:31:36 +0000 (-0300) Subject: perf python: Fixup description of sample.id event member X-Git-Tag: block-6.15-20250403~13^2~43 X-Git-Url: https://git.kernel.dk/?a=commitdiff_plain;h=1376c195e8ad327bb9f2d32e0acc5ac39e7cb30a;p=linux-block.git perf python: Fixup description of sample.id event member Some old cut'n'paste error, its "ip", so the description should be "event ip", not "event type". Fixes: 877108e42b1b9ba6 ("perf tools: Initial python binding") Signed-off-by: Arnaldo Carvalho de Melo Reviewed-by: Ian Rogers Link: https://lore.kernel.org/r/20250312203141.285263-2-acme@kernel.org Signed-off-by: Namhyung Kim --- diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 69ec2ad60d98..6c5bb5e88939 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c @@ -49,7 +49,7 @@ struct pyrf_event { }; #define sample_members \ - sample_member_def(sample_ip, ip, T_ULONGLONG, "event type"), \ + sample_member_def(sample_ip, ip, T_ULONGLONG, "event ip"), \ sample_member_def(sample_pid, pid, T_INT, "event pid"), \ sample_member_def(sample_tid, tid, T_INT, "event tid"), \ sample_member_def(sample_time, time, T_ULONGLONG, "event timestamp"), \