hists.c (ce9036a6e3bdfac6c7ccf8221aec9bcf9c2d355e) hists.c (6484d2f9dc3ecbf13f07100f7f771d1d779eda04)
1// SPDX-License-Identifier: GPL-2.0
2#include <dirent.h>
3#include <errno.h>
4#include <inttypes.h>
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <linux/rbtree.h>

--- 3390 unchanged lines hidden (view full) ---

3399
3400int perf_evlist__tui_browse_hists(struct evlist *evlist, const char *help,
3401 struct hist_browser_timer *hbt,
3402 float min_pcnt,
3403 struct perf_env *env,
3404 bool warn_lost_event,
3405 struct annotation_options *annotation_opts)
3406{
1// SPDX-License-Identifier: GPL-2.0
2#include <dirent.h>
3#include <errno.h>
4#include <inttypes.h>
5#include <stdio.h>
6#include <stdlib.h>
7#include <string.h>
8#include <linux/rbtree.h>

--- 3390 unchanged lines hidden (view full) ---

3399
3400int perf_evlist__tui_browse_hists(struct evlist *evlist, const char *help,
3401 struct hist_browser_timer *hbt,
3402 float min_pcnt,
3403 struct perf_env *env,
3404 bool warn_lost_event,
3405 struct annotation_options *annotation_opts)
3406{
3407 int nr_entries = evlist->nr_entries;
3407 int nr_entries = evlist->core.nr_entries;
3408
3409single_entry:
3410 if (nr_entries == 1) {
3411 struct evsel *first = perf_evlist__first(evlist);
3412
3413 return perf_evsel__hists_browse(first, nr_entries, help,
3414 false, hbt, min_pcnt,
3415 env, warn_lost_event,

--- 21 unchanged lines hidden ---
3408
3409single_entry:
3410 if (nr_entries == 1) {
3411 struct evsel *first = perf_evlist__first(evlist);
3412
3413 return perf_evsel__hists_browse(first, nr_entries, help,
3414 false, hbt, min_pcnt,
3415 env, warn_lost_event,

--- 21 unchanged lines hidden ---