perf intel-pt: Factor out intel_pt_set_event_name()
authorAdrian Hunter <adrian.hunter@intel.com>
Fri, 26 May 2017 08:17:32 +0000 (11:17 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 30 Jun 2017 14:44:36 +0000 (11:44 -0300)
commitbbac88ed64436201d6b6f2b00177d58081d56707
tree487c01aa48f566b94fb22a58fc5b2a02b13a60e3
parent63a22cd9f8400fe914ddc3d597d925594f212519
perf intel-pt: Factor out intel_pt_set_event_name()

Factor out intel_pt_set_event_name() so it can be reused.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Link: http://lkml.kernel.org/r/1495786658-18063-32-git-send-email-adrian.hunter@intel.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/intel-pt.c