perf evsel: Carve out event modifier formatting
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 11 Jun 2012 16:33:09 +0000 (13:33 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Jun 2012 16:06:20 +0000 (13:06 -0300)
commit27f18617b01dbbc928e9bd3731d1766222fb7e0d
treeb8c0882cc655499cb275a4e82334424d41433614
parentaff3f3f68ae6002a30543726b2ae48cafce109e6
perf evsel: Carve out event modifier formatting

From perf_evsel__hw_name, so that we can use it for the other kinds of
events (tracepoints, software, hw cache, etc).

Cc: David Ahern <dsahern@gmail.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@gmail.com>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-9gmd5wewsrvtny8tzxjfp471@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evsel.c