|
@@ -32,8 +32,7 @@
|
|
|
|
|
|
extern void hist_browser__init_hpp(void);
|
|
|
|
|
|
-static int perf_evsel_browser_title(struct hist_browser *browser,
|
|
|
- char *bf, size_t size);
|
|
|
+static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size);
|
|
|
static void hist_browser__update_nr_entries(struct hist_browser *hb);
|
|
|
|
|
|
static struct rb_node *hists__filter_entries(struct rb_node *nd,
|
|
@@ -2183,7 +2182,7 @@ perf_evsel_browser__new(struct perf_evsel *evsel,
|
|
|
if (browser) {
|
|
|
browser->hbt = hbt;
|
|
|
browser->env = env;
|
|
|
- browser->title = perf_evsel_browser_title;
|
|
|
+ browser->title = hists_browser__scnprintf_title;
|
|
|
}
|
|
|
return browser;
|
|
|
}
|
|
@@ -2209,8 +2208,7 @@ static inline bool is_report_browser(void *timer)
|
|
|
return timer == NULL;
|
|
|
}
|
|
|
|
|
|
-static int perf_evsel_browser_title(struct hist_browser *browser,
|
|
|
- char *bf, size_t size)
|
|
|
+static int hists_browser__scnprintf_title(struct hist_browser *browser, char *bf, size_t size)
|
|
|
{
|
|
|
struct hist_browser_timer *hbt = browser->hbt;
|
|
|
struct hists *hists = browser->hists;
|