Searched refs:events (Results 1 – 25 of 860) sorted by relevance
12345678910>>...35
115 static int ndis_events_get_adapter(struct ndis_events_data *events,119 static int ndis_events_constructor(struct ndis_events_data *events) in ndis_events_constructor() argument121 events->ref = 1; in ndis_events_constructor()123 if (!CreatePipe(&events->read_pipe, &events->write_pipe, NULL, 512)) { in ndis_events_constructor()128 events->event_avail = CreateEvent(NULL, TRUE, FALSE, NULL); in ndis_events_constructor()129 if (events->event_avail == NULL) { in ndis_events_constructor()132 CloseHandle(events->read_pipe); in ndis_events_constructor()133 CloseHandle(events->write_pipe); in ndis_events_constructor()141 static void ndis_events_destructor(struct ndis_events_data *events) in ndis_events_destructor() argument143 CloseHandle(events->read_pipe); in ndis_events_destructor()[all …]
9 echo 0 > $TRACE/events/mmc/enable13 echo 0 > $TRACE/events/block/block_rq_complete/enable14 echo 0 > $TRACE/events/block/block_bio_complete/enable18 echo $G > $TRACE/events/f2fs/f2fs_get_victim/enable22 echo $A > $TRACE/events/f2fs/f2fs_reserve_new_block/enable26 echo $T > $TRACE/events/f2fs/f2fs_truncate/enable27 echo $T > $TRACE/events/f2fs/f2fs_truncate_inode_blocks_enter/enable28 echo $T > $TRACE/events/f2fs/f2fs_truncate_inode_blocks_exit/enable29 echo $T > $TRACE/events/f2fs/f2fs_truncate_blocks_enter/enable30 echo $T > $TRACE/events/f2fs/f2fs_truncate_blocks_exit/enable[all …]
29 static int do_count_loop(struct event *events, u64 instructions, in do_count_loop() argument42 event_read(&events[0]); in do_count_loop()43 event_read(&events[1]); in do_count_loop()46 difference = events[0].result.value - expected; in do_count_loop()47 percentage = (double)difference / events[0].result.value * 100; in do_count_loop()50 event_report(&events[0]); in do_count_loop()51 event_report(&events[1]); in do_count_loop()55 printf("Actual %llu\n", events[0].result.value); in do_count_loop()59 event_reset(&events[0]); in do_count_loop()60 event_reset(&events[1]); in do_count_loop()[all …]
25 struct event *e, events[4]; in per_event_excludes() local37 e = &events[0]; in per_event_excludes()42 e = &events[1]; in per_event_excludes()49 e = &events[2]; in per_event_excludes()56 e = &events[3]; in per_event_excludes()63 FAIL_IF(event_open(&events[0])); in per_event_excludes()71 FAIL_IF(event_open_with_group(&events[i], events[0].fd)); in per_event_excludes()86 FAIL_IF(event_read(&events[i])); in per_event_excludes()87 event_report(&events[i]); in per_event_excludes()95 FAIL_IF(events[i].result.running != events[i].result.enabled); in per_event_excludes()[all …]
57 struct epoll_event *events; member80 short old, short events, void *p);82 short old, short events, void *p);131 epollop->events = mm_calloc(INITIAL_NEVENT, sizeof(struct epoll_event)); in epoll_init()132 if (epollop->events == NULL) { in epoll_init()179 int op, events = 0; in epoll_apply_one_change() local198 events = 0; in epoll_apply_one_change()201 events |= EPOLLIN; in epoll_apply_one_change()205 events |= EPOLLIN; in epoll_apply_one_change()208 events |= EPOLLOUT; in epoll_apply_one_change()[all …]
54 struct pollfd *events; member62 static int devpoll_add(struct event_base *, int fd, short old, short events, void *);63 static int devpoll_del(struct event_base *, int fd, short old, short events, void *);97 devpoll_queue(struct devpollop *devpollop, int fd, int events) { in devpoll_queue() argument111 pfd->events = events; in devpoll_queue()143 devpollop->events = mm_calloc(nfiles, sizeof(struct pollfd)); in devpoll_init()144 if (devpollop->events == NULL) { in devpoll_init()153 mm_free(devpollop->events); in devpoll_init()168 struct pollfd *events = devpollop->events; in devpoll_dispatch() local178 dvp.dp_fds = devpollop->events; in devpoll_dispatch()[all …]
73 struct kevent *events; member135 kqueueop->events = mm_calloc(NEVENT, sizeof(struct kevent)); in kq_init()136 if (kqueueop->events == NULL) in kq_init()151 kqueueop->changes, 1, kqueueop->events, NEVENT, NULL) != 1 || in kq_init()152 (int)kqueueop->events[0].ident != -1 || in kq_init()153 kqueueop->events[0].flags != EV_ERROR) { in kq_init()243 newresult = mm_realloc(kqop->events, in kq_grow_events()247 kqop->events = newresult; in kq_grow_events()259 struct kevent *events = kqop->events; in kq_dispatch() local298 events = kqop->events; in kq_dispatch()[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then31 echo 'traceoff if child_pid == 0' > events/sched/sched_process_fork/trigger40 ! echo 'traceoff if a' > events/sched/sched_process_fork/trigger41 ! echo 'traceoff if common_pid=0' > events/sched/sched_process_fork/trigger42 ! echo 'traceoff if common_pid==b' > events/sched/sched_process_fork/trigger43 echo 'traceoff if common_pid == 0' > events/sched/sched_process_fork/trigger44 echo '!traceoff' > events/sched/sched_process_fork/trigger45 ! echo 'traceoff if common_pid == child_pid' > events/sched/sched_process_fork/trigger46 echo 'traceoff if common_pid <= 0' > events/sched/sched_process_fork/trigger[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then29 FEATURE=`grep enable_event events/sched/sched_process_fork/trigger`36 echo 0 > events/sched/sched_switch/enable37 echo 'enable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger39 if [ `cat events/sched/sched_switch/enable` != '1*' ]; then46 echo 1 > events/sched/sched_switch/enable47 echo 'disable_event:sched:sched_switch' > events/sched/sched_process_fork/trigger49 if [ `cat events/sched/sched_switch/enable` != '0*' ]; then56 ! echo 'enable_event:nogroup:noevent' > events/sched/sched_process_fork/trigger[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then38 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger39 echo 'hist:keys=parent_comm:vals=child_pid' >> events/sched/sched_process_fork/trigger41 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \43 grep child events/sched/sched_process_fork/hist > /dev/null || \46 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \53 echo 'hist:name=test_hist:keys=common_pid' > events/sched/sched_process_fork/trigger55 grep test_hist events/sched/sched_process_fork/hist > /dev/null || \[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then36 echo 'hist:keys=parent_pid:vals=child_pid' > events/sched/sched_process_fork/trigger38 grep parent_pid events/sched/sched_process_fork/hist > /dev/null || \40 grep child events/sched/sched_process_fork/hist > /dev/null || \47 echo 'hist:keys=parent_pid,child_pid' > events/sched/sched_process_fork/trigger49 grep '^{ parent_pid:.*, child_pid:.*}' events/sched/sched_process_fork/hist > /dev/null || \56 echo 'hist:keys=parent_comm' > events/sched/sched_process_fork/trigger59 grep "parent_comm: $COMM" events/sched/sched_process_fork/hist > /dev/null || \[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then26 if [ ! -f events/sched/sched_process_fork/hist ]; then36 echo 'hist:keys=common_pid.execname' > events/sched/sched_process_fork/trigger39 grep "common_pid: $COMM" events/sched/sched_process_fork/hist > /dev/null || \46 echo 'hist:keys=parent_pid.hex' > events/sched/sched_process_fork/trigger50 grep "parent_pid: $HEX" events/sched/sched_process_fork/hist > /dev/null || \57 echo 'hist:keys=id.syscall' > events/raw_syscalls/sys_exit/trigger59 grep "id: sys_" events/raw_syscalls/sys_exit/hist > /dev/null || \67 echo 'hist:keys=bytes_req.log2' > events/kmem/kmalloc/trigger[all …]
16 if [ ! -f set_event -o ! -d events/sched ]; then21 if [ ! -f events/sched/sched_process_fork/trigger ]; then31 echo 'traceoff' > events/sched/sched_process_fork/trigger41 echo 'traceon' > events/sched/sched_process_fork/trigger50 ! echo 'traceoff:badparam' > events/sched/sched_process_fork/trigger51 ! echo 'traceoff+0' > events/sched/sched_process_fork/trigger52 echo 'traceon' > events/sched/sched_process_fork/trigger53 ! echo 'traceon' > events/sched/sched_process_fork/trigger54 ! echo 'traceoff' > events/sched/sched_process_fork/trigger
9 def __init__(self, events = None, trace_filename = None): argument17 if trace_filename and events:19 if not trace_filename and events == None:42 events = json.loads(t)46 if 'traceEvents' in events:47 events = events['traceEvents']49 if not hasattr(events, '__iter__'):51 self.events = events56 return len(self.events)59 return self.events[i][all …]
18 struct event events[6]; in multi_counter() local23 event_init_named(&events[0], 0x1001C, "PM_CMPLU_STALL_THRD"); in multi_counter()24 event_init_named(&events[1], 0x2D016, "PM_CMPLU_STALL_FXU"); in multi_counter()25 event_init_named(&events[2], 0x30006, "PM_CMPLU_STALL_OTHER_CMPL"); in multi_counter()26 event_init_named(&events[3], 0x4000A, "PM_CMPLU_STALL"); in multi_counter()27 event_init_named(&events[4], 0x600f4, "PM_RUN_CYC"); in multi_counter()28 event_init_named(&events[5], 0x500fa, "PM_RUN_INST_CMPL"); in multi_counter()30 event_leader_ebb_init(&events[0]); in multi_counter()32 event_ebb_init(&events[i]); in multi_counter()36 events[i].attr.exclude_kernel = 1; in multi_counter()[all …]
21 import org.yaml.snakeyaml.events.AliasEvent;22 import org.yaml.snakeyaml.events.DocumentEndEvent;23 import org.yaml.snakeyaml.events.DocumentStartEvent;24 import org.yaml.snakeyaml.events.Event;25 import org.yaml.snakeyaml.events.ImplicitTuple;26 import org.yaml.snakeyaml.events.MappingEndEvent;27 import org.yaml.snakeyaml.events.MappingStartEvent;28 import org.yaml.snakeyaml.events.ScalarEvent;29 import org.yaml.snakeyaml.events.SequenceEndEvent;30 import org.yaml.snakeyaml.events.SequenceStartEvent;[all …]
41 static struct epoll_event events[3] = { variable42 {.events = EPOLLIN},43 {.events = EPOLLOUT},44 {.events = EPOLLIN}55 events[0].data.fd = fd[0]; in setup()56 events[1].data.fd = fd[1]; in setup()57 events[2].data.fd = fd[1]; in setup()73 int fd, unsigned int events) in has_event() argument78 if ((epvs[i].data.fd == fd) && (epvs[i].events == events)) in has_event()93 {.events = 0, .data.fd = 0}, in check_epoll_ctl()[all …]
51 static struct epoll_event events[2] = { variable52 {.events = EPOLLIN},53 {.events = EPOLLOUT},63 {&inv, EPOLL_CTL_ADD, &fd[1], &events[1], EBADF},64 {&epfd, EPOLL_CTL_ADD, &inv, &events[1], EBADF},65 {&epfd, -1, &fd[1], &events[1], EINVAL},66 {&epfd, EPOLL_CTL_ADD, &epfd, &events[1], EINVAL},67 {&epfd, EPOLL_CTL_DEL, &fd[1], &events[1], ENOENT},68 {&epfd, EPOLL_CTL_MOD, &fd[1], &events[1], ENOENT},69 {&epfd, EPOLL_CTL_ADD, &fd[0], &events[0], EEXIST}[all …]
... filetransfer/ org/eclipse/ecf/filetransfer/events/ org/eclipse/ecf/filetransfer/events ...
56 short events = pfd->events; in print_pollfd_entering() local58 if (pfd->events) { in print_pollfd_entering()59 PRINT_EVENT(POLLIN, events) in print_pollfd_entering()60 PRINT_EVENT(POLLPRI, events) in print_pollfd_entering()61 PRINT_EVENT(POLLOUT, events) in print_pollfd_entering()63 PRINT_EVENT(POLLRDNORM, events) in print_pollfd_entering()66 PRINT_EVENT(POLLWRNORM, events) in print_pollfd_entering()69 PRINT_EVENT(POLLRDBAND, events) in print_pollfd_entering()72 PRINT_EVENT(POLLWRBAND, events) in print_pollfd_entering()74 PRINT_EVENT(POLLERR, events) in print_pollfd_entering()[all …]
94 @events = split(/\s+/, $events);95 %events = ();97 foreach $event (@events) {98 $events{$event} = $n;103 (defined $events{$show_event}) or107 @show_events = @events;111 push(@show_order, $events{$show_event});124 (@CC <= @events) or die("Line $.: too many event counts\n");140 foreach my $event (@events) {176 my $event = $events[$i];[all …]
14 def FindEventNamed(events, name): argument15 for event in events:23 events = [38 trace_data = trace_data_module.CreateTraceDataFromRawData(events)83 events = [90 trace_data = trace_data_module.CreateTraceDataFromRawData(events)100 events = [107 trace_data = trace_data_module.CreateTraceDataFromRawData(events)123 events = [133 trace_data = trace_data_module.CreateTraceDataFromRawData(events)[all …]
158 self.events = {} # dict { ev_type : dict { ev_code : Valuator } }196 elif ev.type not in self.events or ev.code not in self.events[ev.type]:205 self.events[ev.type][ev.code].value = ev.value207 self.events[ev.type][ev.code].value = ev.value260 self.events[ev_type] = {}271 self.events[ev_type][c] = self._ioctl_absinfo(c)273 self.events[ev_type][c] = self._ioctl_get_switch(c)275 self.events[ev_type][c] = Valuator()312 if c not in self.events[EV_ABS]:333 ev_abs = self.events[EV_ABS][all …]