• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/processor-trace/libipt/test/src/

Lines Matching refs:last_ip

40 	struct pt_last_ip last_ip;
42 memset(&last_ip, 0xcd, sizeof(last_ip));
44 pt_last_ip_init(&last_ip);
46 ptu_uint_eq(last_ip.ip, 0ull);
47 ptu_uint_eq(last_ip.have_ip, 0);
48 ptu_uint_eq(last_ip.suppressed, 0);
62 struct pt_last_ip last_ip;
65 pt_last_ip_init(&last_ip);
67 errcode = pt_last_ip_query(NULL, &last_ip);
75 struct pt_last_ip last_ip;
78 last_ip.have_ip = 1;
79 last_ip.suppressed = 0;
81 errcode = pt_last_ip_query(NULL, &last_ip);
99 struct pt_last_ip last_ip;
102 last_ip.have_ip = 0;
103 last_ip.suppressed = 0;
105 errcode = pt_last_ip_query(NULL, &last_ip);
113 struct pt_last_ip last_ip;
116 last_ip.have_ip = 1;
117 last_ip.suppressed = 1;
119 errcode = pt_last_ip_query(NULL, &last_ip);
127 struct pt_last_ip last_ip;
131 pt_last_ip_init(&last_ip);
133 errcode = pt_last_ip_query(&ip, &last_ip);
141 struct pt_last_ip last_ip;
145 last_ip.ip = 42ull;
146 last_ip.have_ip = 1;
147 last_ip.suppressed = 0;
149 errcode = pt_last_ip_query(&ip, &last_ip);
151 ptu_uint_eq(last_ip.ip, exp);
170 struct pt_last_ip last_ip;
174 last_ip.ip = 42ull;
175 last_ip.have_ip = 0;
176 last_ip.suppressed = 0;
178 errcode = pt_last_ip_query(&ip, &last_ip);
187 struct pt_last_ip last_ip;
191 last_ip.ip = 42ull;
192 last_ip.have_ip = 1;
193 last_ip.suppressed = 1;
195 errcode = pt_last_ip_query(&ip, &last_ip);
204 struct pt_last_ip last_ip;
208 last_ip.ip = 42ull;
209 last_ip.have_ip = have_ip;
210 last_ip.suppressed = 0;
215 errcode = pt_last_ip_update_ip(&last_ip, &packet, NULL);
217 ptu_uint_eq(last_ip.ip, 42ull);
218 ptu_uint_eq(last_ip.have_ip, have_ip);
219 ptu_uint_eq(last_ip.suppressed, 1);
226 struct pt_last_ip last_ip;
230 last_ip.ip = 0xff0042ull;
231 last_ip.have_ip = have_ip;
232 last_ip.suppressed = 0;
237 errcode = pt_last_ip_update_ip(&last_ip, &packet, NULL);
239 ptu_uint_eq(last_ip.ip, 0xffc013ull);
240 ptu_uint_eq(last_ip.have_ip, 1);
241 ptu_uint_eq(last_ip.suppressed, 0);
248 struct pt_last_ip last_ip;
252 last_ip.ip = 0xff00000420ull;
253 last_ip.have_ip = have_ip;
254 last_ip.suppressed = 0;
259 errcode = pt_last_ip_update_ip(&last_ip, &packet, NULL);
261 ptu_uint_eq(last_ip.ip, 0xff0000c013ull);
262 ptu_uint_eq(last_ip.have_ip, 1);
263 ptu_uint_eq(last_ip.suppressed, 0);
270 struct pt_last_ip last_ip;
274 last_ip.ip = 0x7fffffffffffffffull;
275 last_ip.have_ip = have_ip;
276 last_ip.suppressed = 0;
281 errcode = pt_last_ip_update_ip(&last_ip, &packet, NULL);
283 ptu_uint_eq(last_ip.ip, 0xffffff00000000ffull);
284 ptu_uint_eq(last_ip.have_ip, 1);
285 ptu_uint_eq(last_ip.suppressed, 0);
292 struct pt_last_ip last_ip;
296 last_ip.ip = 0x7fffffffffffffffull;
297 last_ip.have_ip = have_ip;
298 last_ip.suppressed = 0;
303 errcode = pt_last_ip_update_ip(&last_ip, &packet, NULL);
305 ptu_uint_eq(last_ip.ip, 0x7fffffffffffffffull);
306 ptu_uint_eq(last_ip.have_ip, have_ip);
307 ptu_uint_eq(last_ip.suppressed, 0);
325 struct pt_last_ip last_ip;
328 last_ip.ip = 0x7fffffffffffffffull;
329 last_ip.have_ip = have_ip;
330 last_ip.suppressed = 0;
332 errcode = pt_last_ip_update_ip(&last_ip, NULL, NULL);
334 ptu_uint_eq(last_ip.ip, 0x7fffffffffffffffull);
335 ptu_uint_eq(last_ip.have_ip, have_ip);
336 ptu_uint_eq(last_ip.suppressed, 0);