]> git.baikalelectronics.ru Git - kernel.git/commit
perf header: Use event_name() to get an event name
authorAndrew Vagin <avagin@openvz.org>
Mon, 28 Nov 2011 09:03:29 +0000 (12:03 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 6 Dec 2011 11:22:48 +0000 (09:22 -0200)
commitb45801c97a35b95d0f72146721105766ca07ec1b
tree23d29fd4ed23d2c5f76cc54f7bdfdf95355d1207
parentfbaddbdf74ff90241537f9b4915725c321a9eff1
perf header: Use event_name() to get an event name

perf_evsel.name may be not initialized

Cc: David Ahern <dsahern@gmail.com>
Cc: Ingo Molnar <mingo@elte.hu>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Arun Sharma <asharma@fb.com>
Cc: devel@openvz.org
Link: http://lkml.kernel.org/r/1322471015-107825-2-git-send-email-avagin@openvz.org
Signed-off-by: Andrew Vagin <avagin@openvz.org>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/header.c