/external/chromium/third_party/libevent/ |
event-internal.h | 50 const struct eventop *evsel; member in struct:event_base
|
event.c | 188 base->evsel = eventops[i]; 190 base->evbase = base->evsel->init(base); 198 base->evsel->name); 248 if (base->evsel->dealloc != NULL) 249 base->evsel->dealloc(base, base->evbase); 270 const struct eventop *evsel = base->evsel; local 276 if (!evsel->need_reinit) 291 if (base->evsel->dealloc != NULL) 292 base->evsel->dealloc(base, base->evbase) 467 const struct eventop *evsel = base->evsel; local 703 const struct eventop *evsel = base->evsel; local 781 const struct eventop *evsel; local [all...] |
/external/chromium_org/third_party/libevent/ |
event-internal.h | 50 const struct eventop *evsel; member in struct:event_base
|
event.c | 188 base->evsel = eventops[i]; 190 base->evbase = base->evsel->init(base); 198 base->evsel->name); 248 if (base->evsel->dealloc != NULL) 249 base->evsel->dealloc(base, base->evbase); 270 const struct eventop *evsel = base->evsel; local 276 if (!evsel->need_reinit) 291 if (base->evsel->dealloc != NULL) 292 base->evsel->dealloc(base, base->evbase) 467 const struct eventop *evsel = base->evsel; local 703 const struct eventop *evsel = base->evsel; local [all...] |
/external/linux-tools-perf/util/ |
evsel.h | 40 * Per fd, to map back from PERF_SAMPLE_ID to evsel, only used when there are 46 struct perf_evsel *evsel; member in struct:perf_sample_id 79 void perf_evsel__init(struct perf_evsel *evsel, 81 void perf_evsel__exit(struct perf_evsel *evsel); 82 void perf_evsel__delete(struct perf_evsel *evsel); 84 int perf_evsel__alloc_fd(struct perf_evsel *evsel, int ncpus, int nthreads); 85 int perf_evsel__alloc_id(struct perf_evsel *evsel, int ncpus, int nthreads); 86 int perf_evsel__alloc_counts(struct perf_evsel *evsel, int ncpus); 87 void perf_evsel__free_fd(struct perf_evsel *evsel); 88 void perf_evsel__free_id(struct perf_evsel *evsel); [all...] |
evlist.c | 13 #include "evsel.h" 92 struct perf_evsel *evsel = perf_evsel__new(&attr, 0); local 94 if (evsel == NULL) 97 perf_evlist__add(evlist, evsel); 117 struct perf_evsel *evsel, 121 struct perf_sample_id *sid = SID(evsel, cpu, thread); 124 sid->evsel = evsel; 129 void perf_evlist__id_add(struct perf_evlist *evlist, struct perf_evsel *evsel, 132 perf_evlist__id_hash(evlist, evsel, cpu, thread, id) 282 struct perf_evsel *evsel; local 323 struct perf_evsel *evsel; local 379 struct perf_evsel *evsel; local 441 struct perf_evsel *evsel; local [all...] |
evsel.c | 10 #include "evsel.h" 34 void perf_evsel__init(struct perf_evsel *evsel, 37 evsel->idx = idx; 38 evsel->attr = *attr; 39 INIT_LIST_HEAD(&evsel->node); 44 struct perf_evsel *evsel = zalloc(sizeof(*evsel)); local 46 if (evsel != NULL) 47 perf_evsel__init(evsel, attr, idx); 49 return evsel; [all...] |
header.c | 19 #include "evsel.h" 909 struct perf_evsel *evsel; local 919 evsel = perf_evsel__new(&f_attr.attr, i); 921 if (evsel == NULL) 927 perf_evlist__add(session->evlist, evsel); 935 if (perf_evsel__alloc_id(evsel, 1, nr_ids)) 944 perf_evlist__id_add(session->evlist, evsel, 0, j, f_id); 1035 struct perf_evsel *evsel; local 1043 evsel = perf_evsel__new(&event->attr.attr, 1045 if (evsel == NULL [all...] |
parse-events.c | 11 #include "evsel.h" 298 const char *event_name(struct perf_evsel *evsel) 300 u64 config = evsel->attr.config; 301 int type = evsel->attr.type; 303 if (evsel->name) 304 return evsel->name; 849 struct perf_evsel *evsel; local 850 evsel = perf_evsel__new(&attr, evlist->nr_entries); 851 if (evsel == NULL) 853 perf_evlist__add(evlist, evsel); [all...] |
python.c | 6 #include "evsel.h" 382 struct perf_evsel evsel; member in struct:pyrf_evsel 484 perf_evsel__init(&pevsel->evsel, &attr, idx); 490 perf_evsel__exit(&pevsel->evsel); 497 struct perf_evsel *evsel = &pevsel->evsel; local 514 evsel->attr.inherit = inherit; 515 if (perf_evsel__open(evsel, cpus, threads, group) < 0) { 538 .tp_name = "perf.evsel", 658 struct perf_evsel *evsel; local [all...] |
session.c | 17 #include "evsel.h" 302 struct perf_evsel *evsel __used, 737 struct perf_evsel *evsel; local 744 evsel = perf_evlist__id2evsel(session->evlist, sample->id); 745 if (evsel == NULL) { 749 return ops->sample(event, sample, evsel, session); [all...] |
/external/linux-tools-perf/ |
builtin-report.c | 33 #include "util/evsel.h" 62 struct perf_evsel *evsel) 75 he = __hists__add_entry(&evsel->hists, al, parent, sample->period); 93 assert(evsel != NULL); 100 err = hist_entry__inc_addr_samples(he, evsel->idx, al->addr); 103 evsel->hists.stats.total_period += sample->period; 104 hists__inc_nr_events(&evsel->hists, PERF_RECORD_SAMPLE); 112 struct perf_evsel *evsel, 130 if (perf_session__add_hist_entry(session, &al, sample, evsel)) { 142 struct perf_evsel *evsel = perf_evlist__id2evsel(session->evlist local [all...] |
builtin-test.c | 239 #include "util/evsel.h" 268 struct perf_evsel *evsel; local 287 evsel = perf_evsel__new(&attr, 0); 288 if (evsel == NULL) { 293 if (perf_evsel__open_per_thread(evsel, threads, false) < 0) { 305 if (perf_evsel__read_on_cpu(evsel, 0, 0) < 0) { 310 if (evsel->counts->cpu[0].val != nr_open_calls) { 312 nr_open_calls, evsel->counts->cpu[0].val); 318 perf_evsel__close_fd(evsel, 1, threads->nr); 320 perf_evsel__delete(evsel); 333 struct perf_evsel *evsel; local [all...] |
builtin-top.c | 27 #include "util/evsel.h" 832 struct perf_evsel *evsel; local 834 evsel = perf_evlist__id2evsel(top.evlist, sample->id); 835 assert(evsel != NULL); 836 syme->count[evsel->idx]++; 837 record_precise_ip(syme, evsel->idx, ip);
|
builtin-script.c | 15 #include "util/evsel.h" 151 static int perf_evsel__check_attr(struct perf_evsel *evsel, 154 struct perf_event_attr *attr = &evsel->attr; 195 struct perf_evsel *evsel; local 198 evsel = perf_session__find_first_evtype(session, j); 204 if (!evsel && output[j].user_set && !output[j].wildcard_set) { 211 if (evsel && output[j].fields && 212 perf_evsel__check_attr(evsel, session)) 276 struct perf_evsel *evsel, 280 struct perf_event_attr *attr = &evsel->attr [all...] |
/external/linux-tools-perf/util/ui/browsers/ |
hists.c | 10 #include "../../evsel.h" 806 static int perf_evsel__hists_browse(struct perf_evsel *evsel, 810 struct hists *self = &evsel->hists; 952 hist_entry__tui_annotate(he, evsel->idx); 1011 struct perf_evsel *evsel = list_entry(entry, struct perf_evsel, node); local 1013 unsigned long nr_events = evsel->hists.stats.nr_events[PERF_RECORD_SAMPLE]; 1014 const char *ev_name = event_name(evsel); 1026 menu->selection = evsel; 1117 * Cache the evsel name, tracepoints have a _high_ cost per
|