aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/header.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2011-12-07 23:23:44 +0100
committerIngo Molnar <mingo@elte.hu>2011-12-07 23:23:44 +0100
commit167e33c32845a30368463dac5a4fe2be5edcc34a (patch)
tree761029012ce71a6a3e90226cb676f05367292d0e /tools/perf/util/header.c
parentperf: Do no try to schedule task events if there are none (diff)
parentperf header: Use event_name() to get an event name (diff)
downloadlinux-dev-167e33c32845a30368463dac5a4fe2be5edcc34a.tar.xz
linux-dev-167e33c32845a30368463dac5a4fe2be5edcc34a.zip
Merge branch 'perf/urgent' of git://github.com/acmel/linux into perf/urgent
Diffstat (limited to 'tools/perf/util/header.c')
-rw-r--r--tools/perf/util/header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index bcd05d05b4f0..33c17a2b2a81 100644
--- a/tools/perf/util/header.c
+++ b/tools/perf/util/header.c
@@ -388,7 +388,7 @@ static int write_event_desc(int fd, struct perf_header *h __used,
/*
* write event string as passed on cmdline
*/
- ret = do_write_string(fd, attr->name);
+ ret = do_write_string(fd, event_name(attr));
if (ret < 0)
return ret;
/*