Searched refs:nevents (Results 1 – 10 of 10) sorted by relevance
/external/linux-tools-perf/ |
D | builtin-probe.c | 60 int nevents; member 72 struct perf_probe_event *pev = ¶ms.events[params.nevents]; in parse_probe_event() 75 pr_debug("probe-definition(%d): %s\n", params.nevents, str); in parse_probe_event() 76 if (++params.nevents == MAX_PROBES) { in parse_probe_event() 148 struct perf_probe_event *pev = ¶ms.events[params.nevents]; in opt_show_vars() 281 if ((!params.nevents && !params.dellist && !params.list_events && in cmd_probe() 314 if (params.nevents != 0 || params.dellist) { in cmd_probe() 366 ret = show_available_vars(params.events, params.nevents, in cmd_probe() 387 if (params.nevents) { in cmd_probe() 388 ret = add_perf_probe_events(params.events, params.nevents, in cmd_probe()
|
/external/chromium/third_party/libevent/ |
D | kqueue.c | 76 int nevents; member 135 kqueueop->nevents = NEVENT; in kq_init() 169 int nevents = kqop->nevents; in kq_insert() local 171 if (kqop->nchanges == nevents) { in kq_insert() 175 nevents *= 2; in kq_insert() 178 nevents * sizeof(struct kevent)); in kq_insert() 186 nevents * sizeof(struct kevent)); in kq_insert() 198 kqop->nevents = nevents; in kq_insert() 233 events, kqop->nevents, ts_p); in kq_dispatch()
|
D | epoll.c | 68 int nevents; member 139 epollop->nevents = INITIAL_NEVENTS; in epoll_init() 198 res = epoll_wait(epollop->epfd, events, epollop->nevents, timeout); in epoll_dispatch() 245 if (res == epollop->nevents && epollop->nevents < MAX_NEVENTS) { in epoll_dispatch() 248 int new_nevents = epollop->nevents * 2; in epoll_dispatch() 255 epollop->nevents = new_nevents; in epoll_dispatch()
|
D | evport.c | 298 int nevents = 1; in evport_dispatch() local 333 (unsigned int *) &nevents, ts_p)) == -1) { in evport_dispatch() 338 if (nevents == 0) in evport_dispatch() 348 event_debug(("%s: port_getn reports %d events", __func__, nevents)); in evport_dispatch() 350 for (i = 0; i < nevents; ++i) { in evport_dispatch()
|
D | devpoll.c | 66 int nevents; member 109 if (devpollop->nchanges >= devpollop->nevents) { in devpoll_queue() 160 devpollop->nevents = nfiles; in devpoll_init() 228 dvp.dp_nfds = devpollop->nevents; in devpoll_dispatch()
|
/external/blktrace/ |
D | blktrace.c | 88 unsigned long long nevents; member 489 static inline void pdc_nev_update(struct devpath *dpp, int cpu, int nevents) in pdc_nev_update() argument 491 dpp->stats[cpu].nevents += nevents; in pdc_nev_update() 1325 int off, t_len, nevents; in handle_list_file() local 1349 nevents = 0; in handle_list_file() 1357 nevents++; in handle_list_file() 1359 if (nevents) in handle_list_file() 1360 pdc_nev_update(tbp->dpp, tbp->cpu, nevents); in handle_list_file() 1948 unsigned long long nevents, data_read; in show_stats() local 1967 nevents = 0; in show_stats() [all …]
|
/external/linux-tools-perf/util/ |
D | annotate.h | 85 int symbol__alloc_hist(struct symbol *sym, int nevents);
|
D | annotate.c | 26 int symbol__alloc_hist(struct symbol *sym, int nevents) in symbol__alloc_hist() argument 32 notes->src = zalloc(sizeof(*notes->src) + nevents * sizeof_sym_hist); in symbol__alloc_hist() 36 notes->src->nr_histograms = nevents; in symbol__alloc_hist()
|
D | header.c | 43 struct perf_trace_event_type *nevents; in perf_header__push_event() local 45 nevents = realloc(events, (event_count + 1) * sizeof(*events)); in perf_header__push_event() 46 if (nevents == NULL) in perf_header__push_event() 48 events = nevents; in perf_header__push_event()
|
/external/valgrind/main/coregrind/m_syswrap/ |
D | syswrap-darwin.c | 1431 struct vki_kevent *,eventlist, int,nevents, in PRE()
|