/tools/perf/tests/ |
D | event_update.c | 13 struct event_update_event *ev = (struct event_update_event *) event; in process_event_unit() local 15 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_unit() 16 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__UNIT); in process_event_unit() 17 TEST_ASSERT_VAL("wrong unit", !strcmp(ev->data, "KRAVA")); in process_event_unit() 26 struct event_update_event *ev = (struct event_update_event *) event; in process_event_scale() local 29 ev_data = (struct event_update_event_scale *) ev->data; in process_event_scale() 31 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_scale() 32 TEST_ASSERT_VAL("wrong id", ev->type == PERF_EVENT_UPDATE__SCALE); in process_event_scale() 48 struct event_update_event *ev = (struct event_update_event*) event; in process_event_name() local 50 TEST_ASSERT_VAL("wrong id", ev->id == 123); in process_event_name() [all …]
|
/tools/testing/selftests/net/ |
D | reuseport_dualstack.c | 103 struct epoll_event ev; in receive_once() local 107 i = epoll_wait(epfd, &ev, 1, -1); in receive_once() 112 fd = accept(ev.data.fd, NULL, NULL); in receive_once() 118 i = recv(ev.data.fd, buf, sizeof(buf), 0); in receive_once() 124 return ev.data.fd; in receive_once() 129 struct epoll_event ev; in test() local 138 ev.events = EPOLLIN; in test() 140 ev.data.fd = rcv_fds[i]; in test() 141 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fds[i], &ev)) in test()
|
D | reuseport_bpf_cpu.c | 152 struct epoll_event ev; in receive_on_cpu() local 156 i = epoll_wait(epfd, &ev, 1, -1); in receive_on_cpu() 161 fd = accept(ev.data.fd, NULL, NULL); in receive_on_cpu() 167 i = recv(ev.data.fd, buf, sizeof(buf), 0); in receive_on_cpu() 174 if (ev.data.fd == rcv_fd[i]) in receive_on_cpu() 185 struct epoll_event ev; in test() local 195 ev.events = EPOLLIN; in test() 196 ev.data.fd = rcv_fd[cpu]; in test() 197 if (epoll_ctl(epfd, EPOLL_CTL_ADD, rcv_fd[cpu], &ev)) in test()
|
D | reuseport_bpf.c | 214 struct epoll_event ev; in test_recv_order() local 222 ev.events = EPOLLIN; in test_recv_order() 223 ev.data.fd = fd[i]; in test_recv_order() 224 if (epoll_ctl(epfd, EPOLL_CTL_ADD, fd[i], &ev)) in test_recv_order() 238 i = epoll_wait(epfd, &ev, 1, -1); in test_recv_order() 243 conn = accept(ev.data.fd, NULL, NULL); in test_recv_order() 249 i = recvmsg(ev.data.fd, &msg, 0); in test_recv_order() 258 if (ev.data.fd == fd[i]) in test_recv_order()
|
/tools/perf/util/intel-pt-decoder/ |
D | x86-opcode-map.txt | 25 # (ev): this opcode requires EVEX prefix. 455 …Vx,Wx (66),(evo) | vmovdqu Vx,Wx (F3) | vmovdqu32/64 Vx,Wx (F3),(evo) | vmovdqu8/16 Vx,Wx (F2),(ev) 466 …dq Vx,Wpd (evo) | vcvttsd2usi Gv,Wx (F2),(ev) | vcvttss2usi Gv,Wx (F3),(ev) | vcvttps2uqq/pd2uqq V… 467 …2udq Vx,Wpd (evo) | vcvtsd2usi Gv,Wx (F2),(ev) | vcvtss2usi Gv,Wx (F3),(ev) | vcvtps2uqq/pd2uqq Vx… 468 7a: vcvtudq2pd/uqq2pd Vpd,Wx (F3),(ev) | vcvtudq2ps/uqq2ps Vpd,Wx (F2),(ev) | vcvttps2qq/pd2qq Vx,W… 469 7b: vcvtusi2sd Vpd,Hpd,Ev (F2),(ev) | vcvtusi2ss Vps,Hps,Ev (F3),(ev) | vcvtps2qq/pd2qq Vx,Wx (66),… 473 …Wx,Vx (66),(evo) | vmovdqu Wx,Vx (F3) | vmovdqu32/64 Wx,Vx (F3),(evo) | vmovdqu8/16 Wx,Vx (F2),(ev) 634 10: pblendvb Vdq,Wdq (66) | vpsrlvw Vx,Hx,Wx (66),(evo) | vpmovuswb Wx,Vx (F3),(ev) 635 11: vpmovusdb Wx,Vd (F3),(ev) | vpsravw Vx,Hx,Wx (66),(ev) 636 12: vpmovusqb Wx,Vq (F3),(ev) | vpsllvw Vx,Hx,Wx (66),(ev) [all …]
|
/tools/objtool/arch/x86/insn/ |
D | x86-opcode-map.txt | 25 # (ev): this opcode requires EVEX prefix. 455 …Vx,Wx (66),(evo) | vmovdqu Vx,Wx (F3) | vmovdqu32/64 Vx,Wx (F3),(evo) | vmovdqu8/16 Vx,Wx (F2),(ev) 466 …dq Vx,Wpd (evo) | vcvttsd2usi Gv,Wx (F2),(ev) | vcvttss2usi Gv,Wx (F3),(ev) | vcvttps2uqq/pd2uqq V… 467 …2udq Vx,Wpd (evo) | vcvtsd2usi Gv,Wx (F2),(ev) | vcvtss2usi Gv,Wx (F3),(ev) | vcvtps2uqq/pd2uqq Vx… 468 7a: vcvtudq2pd/uqq2pd Vpd,Wx (F3),(ev) | vcvtudq2ps/uqq2ps Vpd,Wx (F2),(ev) | vcvttps2qq/pd2qq Vx,W… 469 7b: vcvtusi2sd Vpd,Hpd,Ev (F2),(ev) | vcvtusi2ss Vps,Hps,Ev (F3),(ev) | vcvtps2qq/pd2qq Vx,Wx (66),… 473 …Wx,Vx (66),(evo) | vmovdqu Wx,Vx (F3) | vmovdqu32/64 Wx,Vx (F3),(evo) | vmovdqu8/16 Wx,Vx (F2),(ev) 634 10: pblendvb Vdq,Wdq (66) | vpsrlvw Vx,Hx,Wx (66),(evo) | vpmovuswb Wx,Vx (F3),(ev) 635 11: vpmovusdb Wx,Vd (F3),(ev) | vpsravw Vx,Hx,Wx (66),(ev) 636 12: vpmovusqb Wx,Vq (F3),(ev) | vpsllvw Vx,Hx,Wx (66),(ev) [all …]
|
/tools/perf/util/ |
D | header.c | 2930 union perf_event *ev; in perf_event__synthesize_attr() local 2939 ev = malloc(size); in perf_event__synthesize_attr() 2941 if (ev == NULL) in perf_event__synthesize_attr() 2944 ev->attr.attr = *attr; in perf_event__synthesize_attr() 2945 memcpy(ev->attr.id, id, ids * sizeof(u64)); in perf_event__synthesize_attr() 2947 ev->attr.header.type = PERF_RECORD_HEADER_ATTR; in perf_event__synthesize_attr() 2948 ev->attr.header.size = (u16)size; in perf_event__synthesize_attr() 2950 if (ev->attr.header.size == size) in perf_event__synthesize_attr() 2951 err = process(tool, ev, NULL, NULL); in perf_event__synthesize_attr() 2955 free(ev); in perf_event__synthesize_attr() [all …]
|
D | auxtrace.c | 860 union perf_event *ev; in perf_event__synthesize_auxtrace_info() local 866 ev = zalloc(sizeof(struct auxtrace_info_event) + priv_size); in perf_event__synthesize_auxtrace_info() 867 if (!ev) in perf_event__synthesize_auxtrace_info() 870 ev->auxtrace_info.header.type = PERF_RECORD_AUXTRACE_INFO; in perf_event__synthesize_auxtrace_info() 871 ev->auxtrace_info.header.size = sizeof(struct auxtrace_info_event) + in perf_event__synthesize_auxtrace_info() 873 err = auxtrace_record__info_fill(itr, session, &ev->auxtrace_info, in perf_event__synthesize_auxtrace_info() 878 err = process(tool, ev, NULL, NULL); in perf_event__synthesize_auxtrace_info() 880 free(ev); in perf_event__synthesize_auxtrace_info() 1175 union perf_event ev; in __auxtrace_mmap__read() local 1248 memset(&ev, 0, sizeof(ev)); in __auxtrace_mmap__read() [all …]
|
D | session.c | 2129 union perf_event *ev; in perf_event__synthesize_id_index() local 2144 ev = zalloc(sz); in perf_event__synthesize_id_index() 2145 if (!ev) in perf_event__synthesize_id_index() 2148 ev->id_index.header.type = PERF_RECORD_ID_INDEX; in perf_event__synthesize_id_index() 2149 ev->id_index.header.size = sz; in perf_event__synthesize_id_index() 2150 ev->id_index.nr = n; in perf_event__synthesize_id_index() 2160 err = process(tool, ev, NULL, machine); in perf_event__synthesize_id_index() 2167 e = &ev->id_index.entries[i++]; in perf_event__synthesize_id_index() 2173 free(ev); in perf_event__synthesize_id_index() 2184 ev->id_index.header.size = sz; in perf_event__synthesize_id_index() [all …]
|
/tools/testing/ktest/ |
D | ktest.pl | 1273 my $ev; 1278 $ev = $evals{$option_name}; 1280 $ev = $evals{$name}; 1285 for my $e (@{$ev}) {
|