/linux-2.6.39/tools/perf/util/ |
D | evsel.h | 29 struct perf_evsel; 38 struct perf_evsel *evsel; 47 struct perf_evsel { struct 70 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx); argument 71 void perf_evsel__init(struct perf_evsel *evsel, 73 void perf_evsel__exit(struct perf_evsel *evsel); 74 void perf_evsel__delete(struct perf_evsel *evsel); 76 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); 77 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); 78 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus); [all …]
|
D | evsel.c | 18 void perf_evsel__init(struct perf_evsel *evsel, in perf_evsel__init() 26 struct perf_evsel *perf_evsel__new(struct perf_event_attr *attr, int idx) in perf_evsel__new() 28 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); in perf_evsel__new() 36 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_fd() 42 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__alloc_id() 58 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus) in perf_evsel__alloc_counts() 65 void perf_evsel__free_fd(struct perf_evsel *evsel) in perf_evsel__free_fd() 71 void perf_evsel__free_id(struct perf_evsel *evsel) in perf_evsel__free_id() 79 void perf_evsel__close_fd(struct perf_evsel *evsel, int ncpus, int nthreads) in perf_evsel__close_fd() 90 void perf_evsel__exit(struct perf_evsel *evsel) in perf_evsel__exit() [all …]
|
D | evlist.c | 49 struct perf_evsel *pos, *n; in perf_evlist__purge() 74 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry) in perf_evlist__add() 86 struct perf_evsel *evsel = perf_evsel__new(&attr, 0); in perf_evlist__add_default() 111 struct perf_evsel *evsel, in perf_evlist__id_hash() 123 void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, in perf_evlist__id_add() 131 struct perf_evsel *evsel, in perf_evlist__id_add_fd() 150 struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id) in perf_evlist__id2evsel() 158 return list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evlist__id2evsel() 260 static int __perf_evlist__mmap(struct perf_evlist *evlist, struct perf_evsel *evsel, in __perf_evlist__mmap() 280 struct perf_evsel *evsel; in perf_evlist__mmap_per_cpu() [all …]
|
D | evlist.h | 30 struct perf_evsel; 39 void perf_evlist__add(struct perf_evlist *evlist, struct perf_evsel *entry); 42 void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, 48 struct perf_evsel *perf_evlist__id2evsel(struct perf_evlist *evlist, u64 id);
|
D | parse-events.h | 10 struct perf_evsel; 24 const char *event_name(struct perf_evsel *event);
|
D | top.h | 12 struct perf_evsel; 47 struct perf_evsel *sym_evsel;
|
D | session.h | 58 struct perf_evsel; 62 struct perf_evsel *evsel, struct perf_session *session);
|
D | top.c | 72 struct perf_evsel *counter; in perf_top__header_snprintf() 108 struct perf_evsel *first; in perf_top__header_snprintf() 109 first = list_entry(top->evlist->entries.next, struct perf_evsel, node); in perf_top__header_snprintf()
|
D | python.c | 382 struct perf_evsel evsel; 497 struct perf_evsel *evsel = &pevsel->evsel; in pyrf_evsel__open() 658 struct perf_evsel *evsel; in pyrf_evlist__add() 685 struct perf_evsel *first; in pyrf_evlist__read_on_cpu() 692 first = list_entry(evlist->entries.next, struct perf_evsel, node); in pyrf_evlist__read_on_cpu() 746 struct perf_evsel *pos; in pyrf_evlist__item()
|
D | header.c | 448 struct perf_evsel *attr, *pair = NULL; in perf_session__write_header() 454 pair = list_entry(session->evlist->entries.next, struct perf_evsel, node); in perf_session__write_header() 469 pair = list_entry(pair->node.next, struct perf_evsel, node); in perf_session__write_header() 873 struct perf_evsel *evsel; in perf_session__read_header() 939 struct perf_evsel *pos; in perf_evlist__sample_type() 955 struct perf_evsel *pos; in perf_evlist__sample_id_all() 1002 struct perf_evsel *attr; in perf_session__synthesize_attrs() 1021 struct perf_evsel *evsel; in perf_event__process_attr()
|
D | trace-event-scripting.c | 41 struct perf_evsel *evsel __unused, in process_event_unsupported()
|
D | build-id.c | 19 struct perf_evsel *evsel __used, in build_id__mark_dso_hit()
|
D | cgroup.c | 79 struct perf_evsel *counter; in add_cgroup()
|
D | parse-events.c | 288 const char *event_name(struct perf_evsel *evsel) in event_name() 823 struct perf_evsel *evsel; in parse_events() 850 struct perf_evsel *last = NULL; in parse_filter() 853 last = list_entry(evlist->entries.prev, struct perf_evsel, node); in parse_filter()
|
D | trace-event-info.c | 477 struct perf_evsel *pos; in get_tracepoints_path() 495 struct perf_evsel *pos; in have_tracepoints()
|
D | trace-event.h | 283 struct perf_evsel *evsel,
|
/linux-2.6.39/tools/perf/ |
D | builtin-stat.c | 106 static int perf_evsel__alloc_stat_priv(struct perf_evsel *evsel) in perf_evsel__alloc_stat_priv() 112 static void perf_evsel__free_stat_priv(struct perf_evsel *evsel) in perf_evsel__free_stat_priv() 162 static int create_perf_stat_counter(struct perf_evsel *evsel) in create_perf_stat_counter() 186 static inline int nsec_counter(struct perf_evsel *evsel) in nsec_counter() 199 static int read_counter_aggr(struct perf_evsel *counter) in read_counter_aggr() 234 static int read_counter(struct perf_evsel *counter) in read_counter() 259 struct perf_evsel *counter; in run_perf_stat() 375 static void print_noise(struct perf_evsel *evsel, double avg) in print_noise() 387 static void nsec_printout(int cpu, struct perf_evsel *evsel, double avg) in nsec_printout() 411 static void abs_printout(int cpu, struct perf_evsel *evsel, double avg) in abs_printout() [all …]
|
D | builtin-report.c | 54 struct perf_evsel *evsel) in perf_session__add_hist_entry() 104 struct perf_evsel *evsel, in process_sample_event() 131 struct perf_evsel *evsel = perf_evlist__id2evsel(session->evlist, in process_read_event() 217 struct perf_evsel *pos; in perf_evlist__tty_browse_hists() 251 struct perf_evsel *pos; in __cmd_report()
|
D | builtin-record.c | 161 static void config_attr(struct perf_evsel *evsel, struct perf_evlist *evlist) in config_attr() 235 struct perf_evsel *pos, *pair; in perf_evlist__equal() 240 pair = list_entry(other->entries.next, struct perf_evsel, node); in perf_evlist__equal() 245 pair = list_entry(pair->node.next, struct perf_evsel, node); in perf_evlist__equal() 253 struct perf_evsel *pos; in open_counters() 698 struct perf_evsel *pos; in __cmd_record() 796 struct perf_evsel *pos; in cmd_record()
|
D | builtin-annotate.c | 45 struct perf_evsel *evsel, in perf_evlist__add_sample() 83 struct perf_evsel *evsel, in process_sample_event() 175 struct perf_evsel *pos; in __cmd_annotate()
|
D | builtin-evlist.c | 23 struct perf_evsel *pos; in __cmd_evlist()
|
D | builtin-inject.c | 48 struct perf_evsel *evsel __used, in perf_event__repipe_sample() 135 struct perf_evsel *evsel __used, in perf_event__inject_buildid()
|
D | builtin-top.c | 529 top.sym_evsel = list_entry(top.evlist->entries.next, struct perf_evsel, node); in handle_keypress() 538 top.sym_evsel = list_entry(top.evlist->entries.next, struct perf_evsel, node); in handle_keypress() 785 struct perf_evsel *evsel; in perf_event__process_sample() 829 struct perf_evsel *counter; in start_counters() 1012 struct perf_evsel *pos; in cmd_top() 1091 top.sym_evsel = list_entry(top.evlist->entries.next, struct perf_evsel, node); in cmd_top()
|
D | builtin-test.c | 268 struct perf_evsel *evsel; in test__open_syscall_event() 333 struct perf_evsel *evsel; in test__open_syscall_event_on_all_cpus() 476 struct perf_evsel *evsels[nsyscalls], *evsel; in test__basic_mmap()
|
/linux-2.6.39/tools/perf/util/ui/browsers/ |
D | hists.c | 806 static int perf_evsel__hists_browse(struct perf_evsel *evsel, in perf_evsel__hists_browse() 1003 struct perf_evsel *selection; 1011 struct perf_evsel *evsel = list_entry(entry, struct perf_evsel, node); in perf_evsel_menu__write() 1033 struct perf_evsel *pos; in perf_evsel_menu__run() 1070 pos = list_entry(evlist->entries.next, struct perf_evsel, node); in perf_evsel_menu__run() 1072 pos = list_entry(pos->node.next, struct perf_evsel, node); in perf_evsel_menu__run() 1076 pos = list_entry(evlist->entries.prev, struct perf_evsel, node); in perf_evsel_menu__run() 1078 pos = list_entry(pos->node.prev, struct perf_evsel, node); in perf_evsel_menu__run() 1096 struct perf_evsel *pos; in __perf_evlist__tui_browse_hists() 1131 struct perf_evsel *first = list_entry(evlist->entries.next, in perf_evlist__tui_browse_hists() [all …]
|