Lines Matching refs:event
17 PidEvent event;
18 if (trace->ReadPidEvent(&event))
20 switch (event.rec_type) {
22 printf("t%lld fork tgid %d pid %d\n", event.time, event.tgid, event.pid);
25 printf("t%lld clone tgid %d pid %d\n", event.time, event.tgid, event.pid);
28 printf("t%lld switch %d\n", event.time, event.pid);
31 printf("t%lld exit %d\n", event.time, event.pid);
35 event.time, event.vstart, event.vend, event.offset, event.path);
36 delete[] event.path;
40 event.time, event.vstart, event.vend);
44 event.time, event.vstart, event.path);
45 delete[] event.path;
48 printf("t%lld remove %08x\n", event.time, event.vstart);
51 printf("t%lld argc: %d\n", event.time, event.argc);
52 for (int ii = 0; ii < event.argc; ++ii) {
53 printf(" argv[%d]: %s\n", ii, event.argv[ii]);
54 delete[] event.argv[ii];
56 delete[] event.argv;
60 event.time, event.tgid, event.pid, event.path);
61 delete[] event.path;
65 event.time, event.pid, event.path);
66 delete[] event.path;