Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1248585

[PATCH 47/57] perf stat report: Process attr update events

From Jiri Olsa <jolsa@kernel.org>
Newsgroups linux.kernel
Subject [PATCH 47/57] perf stat report: Process attr update events
Date 2015-10-16 12:50 +0200
Message-ID <qkaKf-3Nh-29@gated-at.bofh.it> (permalink)
References <qkaKe-3Nh-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Adding processing of attr update events, so perf stat report
can store additional info for events - unit,scale,name.

Link: http://lkml.kernel.org/n/tip-3afz05w7naoeu8slxi9hc0d5@git.kernel.org
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
---
 tools/perf/builtin-stat.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
index e9ddeba637b8..64546a868170 100644
--- a/tools/perf/builtin-stat.c
+++ b/tools/perf/builtin-stat.c
@@ -1664,6 +1664,7 @@ static const char * const report_usage[] = {
 static struct perf_stat perf_stat = {
 	.tool = {
 		.attr		= perf_event__process_attr,
+		.attr_update	= perf_event__process_attr_update,
 		.thread_map	= process_thread_map_event,
 		.cpu_map	= process_cpu_map_event,
 		.stat_config	= process_stat_config_event,
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH 47/57] perf stat report: Process attr update events Jiri Olsa <jolsa@kernel.org> - 2015-10-16 12:50 +0200

csiph-web