summaryrefslogtreecommitdiffstats
path: root/tools/perf/ui/gtk/browser.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/ui/gtk/browser.c')
-rw-r--r--tools/perf/ui/gtk/browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/ui/gtk/browser.c b/tools/perf/ui/gtk/browser.c
index fd41e8d10337..ec12e0b4ded6 100644
--- a/tools/perf/ui/gtk/browser.c
+++ b/tools/perf/ui/gtk/browser.c
@@ -199,7 +199,7 @@ int perf_evlist__gtk_browse_hists(struct perf_evlist *evlist,
list_for_each_entry(pos, &evlist->entries, node) {
struct hists *hists = &pos->hists;
- const char *evname = event_name(pos);
+ const char *evname = perf_evsel__name(pos);
GtkWidget *scrolled_window;
GtkWidget *tab_label;