HomeSort by relevance Sort by last modified time
    Searched refs:hists (Results 1 - 18 of 18) sorted by null

  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
hist.c 10 static bool hists__filter_entry_by_dso(struct hists *hists,
12 static bool hists__filter_entry_by_thread(struct hists *hists,
14 static bool hists__filter_entry_by_symbol(struct hists *hists,
31 u16 hists__col_len(struct hists *hists, enum hist_column col)
33 return hists->col_len[col];
36 void hists__set_col_len(struct hists *hists, enum hist_column col, u16 len
    [all...]
hist.h 67 struct hists { struct
83 struct hist_entry *__hists__add_entry(struct hists *self,
90 struct hists *hists);
93 struct hist_entry *__hists__add_branch_entry(struct hists *self,
100 struct hist_entry *__hists__add_mem_entry(struct hists *self,
107 void hists__output_resort(struct hists *self);
108 void hists__collapse_resort(struct hists *self);
110 void hists__decay_entries(struct hists *hists, bool zap_user, bool zap_kernel)
    [all...]
evsel.h 69 struct hists hists; member in struct:perf_evsel
95 #define hists_to_evsel(h) container_of(h, struct perf_evsel, hists)
258 void hists__init(struct hists *hists);
sort.h 108 struct hists *hists; member in struct:hist_entry
evsel.c 117 void hists__init(struct hists *hists)
119 memset(hists, 0, sizeof(*hists));
120 hists->entries_in_array[0] = hists->entries_in_array[1] = RB_ROOT;
121 hists->entries_in = &hists->entries_in_array[0];
122 hists->entries_collapsed = RB_ROOT;
123 hists->entries = RB_ROOT
    [all...]
session.c 986 hists__inc_nr_events(&evsel->hists, event->header.type);
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/tests/
hists_link.c 225 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
247 he = __hists__add_entry(&evsel->hists, &al, NULL, 1, 1);
277 static int __validate_match(struct hists *hists)
287 root = &hists->entries_collapsed;
289 root = hists->entries_in;
320 static int validate_match(struct hists *leader, struct hists *other)
325 static int __validate_link(struct hists *hists, int idx
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/browsers/
hists.c 23 struct hists *hists; member in struct:hist_browser
34 static int hists__browser_title(struct hists *hists, char *bf, size_t size,
40 browser->b.width = 3 + (hists__sort_list_width(browser->hists) +
46 browser->b.nr_entries = browser->hists->nr_entries;
201 browser->hists->nr_entries -= he->nr_rows;
207 browser->hists->nr_entries += he->nr_rows;
208 browser->b.nr_entries = browser->hists->nr_entries;
283 static void hists__set_folding(struct hists *hists, bool unfold
605 struct hists *hists = he->hists; local
1392 struct hists *hists = &evsel->hists; local
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/
builtin-diff.c 47 struct hists *hists; member in struct:data__file
222 u64 total = he->hists->stats.total_period;
264 pair->stat.period, pair->hists->stats.total_period,
265 he->stat.period, he->hists->stats.total_period);
305 static int hists__add_entry(struct hists *self,
331 if (hists__add_entry(&evsel->hists, &al, sample->period, sample->weight)) {
336 evsel->hists.stats.total_period += sample->period;
368 struct hists *hists = &evsel->hists local
737 struct hists *hists = he->hists; local
    [all...]
builtin-annotate.c 66 he = __hists__add_entry(&evsel->hists, al, NULL, 1, 1);
79 evsel->hists.stats.total_period += sample->period;
80 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
119 static void hists__find_annotations(struct hists *self,
229 struct hists *hists = &pos->hists; local
230 u32 nr_samples = hists->stats.nr_events[PERF_RECORD_SAMPLE];
234 hists__collapse_resort(hists);
235 hists__output_resort(hists);
    [all...]
builtin-report.c 114 he = __hists__add_mem_entry(&evsel->hists, al, parent, mi, cost, cost);
153 evsel->hists.stats.total_period += cost;
154 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
202 he = __hists__add_branch_entry(&evsel->hists, al, parent,
234 evsel->hists.stats.total_period += 1;
235 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
261 he = __hists__add_entry(&evsel->hists, al, parent, sample->period,
290 evsel->hists.stats.total_period += sample->period;
291 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
410 struct hists *self
453 struct hists *hists = &pos->hists; local
551 struct hists *hists = &pos->hists; local
    [all...]
builtin-top.c 248 pthread_mutex_lock(&evsel->hists.lock);
249 he = __hists__add_entry(&evsel->hists, al, NULL, sample->period,
251 pthread_mutex_unlock(&evsel->hists.lock);
256 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE);
275 if (top->sym_evsel->hists.stats.nr_lost_warned !=
276 top->sym_evsel->hists.stats.nr_events[PERF_RECORD_LOST]) {
277 top->sym_evsel->hists.stats.nr_lost_warned =
278 top->sym_evsel->hists.stats.nr_events[PERF_RECORD_LOST];
281 top->sym_evsel->hists.stats.nr_lost_warned);
290 hists__collapse_resort(&top->sym_evsel->hists);
    [all...]
Makefile 478 LIB_OBJS += $(OUTPUT)ui/browsers/hists.o
493 LIB_OBJS += $(OUTPUT)ui/gtk/hists.o
626 $(OUTPUT)ui/browsers/hists.o: ui/browsers/hists.c $(OUTPUT)PERF-CFLAGS
builtin-sched.c     [all...]
builtin-script.c 538 evsel->hists.stats.total_period += sample->period;
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/
hist.c 19 struct hists *hists = he->hists; local
20 struct perf_evsel *evsel = hists_to_evsel(hists);
25 if (hists->stats.total_period)
27 hists->stats.total_period;
42 u64 total = pair->hists->stats.total_period;
47 evsel = hists_to_evsel(pair->hists);
240 struct hists *hists)
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/gtk/
hists.c 34 struct hists *hists = he->hists; local
35 struct perf_evsel *evsel = hists_to_evsel(hists);
37 if (hists->stats.total_period)
38 percent = 100.0 * get_field(he) / hists->stats.total_period;
51 u64 total = pair->hists->stats.total_period;
53 evsel = hists_to_evsel(pair->hists);
201 static void perf_gtk__show_hists(GtkWidget *window, struct hists *hists,
379 struct hists *hists = &pos->hists; local
    [all...]
  /external/linux-tools-perf/perf-3.12.0/tools/perf/ui/stdio/
hist.c 295 struct hists *hists,
299 u64 total_period = hists->stats.total_period;
304 left_margin = hists__col_len(hists, se->se_width_idx);
352 struct hists *hists,
365 hist_entry__sort_snprintf(he, bf + ret, size - ret, hists);
370 ret += hist_entry__callchain_fprintf(he, hists, fp);
375 size_t hists__fprintf(struct hists *hists, bool show_header, int max_rows
    [all...]

Completed in 2829 milliseconds