perf evsel: Handle hw breakpoints event names in perf_evsel__name()
authorJiri Olsa <jolsa@redhat.com>
Thu, 28 Jun 2012 21:18:49 +0000 (23:18 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 29 Jun 2012 16:28:13 +0000 (13:28 -0300)
commit287e74aa3db097469bdca401f33f00ef20dc710d
treeff8e1984ad2a4f024fc65bf4291a9088ac509f75
parent7582732f57e547929d4c65ad8e38f3446e0538d8
perf evsel: Handle hw breakpoints event names in perf_evsel__name()

Adding hw breakpoint events hook in the perf_evsel__name function, to
display event names properly all over the perf tools.

Updated hw breakpoints events tests.

Signed-off-by: Jiri Olsa <jolsa@redhat.com>
Cc: Jovi Zhang <bookjovi@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1340918329-3012-3-git-send-email-jolsa@redhat.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c
tools/perf/util/parse-events-test.c
tools/perf/util/parse-events.c