]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
perf python: Fixup description of sample.id event member
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 12 Mar 2025 20:31:36 +0000 (17:31 -0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 10 Apr 2025 12:32:02 +0000 (14:32 +0200)
[ Upstream commit 1376c195e8ad327bb9f2d32e0acc5ac39e7cb30a ]

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 <acme@redhat.com>
Reviewed-by: Ian Rogers <irogers@google.com>
Link: https://lore.kernel.org/r/20250312203141.285263-2-acme@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
tools/perf/util/python.c

index 8feef3a05af7b31d7b73c90860f9d2dc2be3c5b0..13d65a3cc6d7decca743aa95c8b975f58d66b0dc 100644 (file)
@@ -158,7 +158,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"),            \