/linux-tools/perf/kprobe/ |
H A D | perf_kprobe.cpp | 60 if (p->type == PERF_RECORD_SAMPLE) { in process_event() 104 int i, k, type; in main() local 115 type = 0; in main() 116 fscanf(fp, "%d", &type); in main() 118 if (type <= 0) { printf("unexpected type %d\n", type); return 1; } in main() 119 attr.type = type; in main()
|
/linux-tools/perf/profiler/ |
H A D | profiler-kprobe.cpp | 229 char bb[128], adr[128], type[8], name[128]; in load_kernel() local 232 if (sscanf(p, "%s %s %s", adr, type, name)!=3) continue;; in load_kernel() 233 if (type[0]!='t'&&type[0]!='T') continue; in load_kernel() 291 if (p->type != PERF_RECORD_SAMPLE) return p->size; in process_event() 373 int type; in main() local 377 type = 0; in main() 378 fscanf(fp, "%d", &type); in main() 380 if (type <= 0) { printf("unexpected type %d\n", type); return 1; } in main() 386 attr.type = type; in main()
|
H A D | profiler.cpp | 235 char bb[128], adr[128], type[8], name[128]; in load_kernel() local 238 if (sscanf(p, "%s %s %s", adr, type, name)!=3) continue;; in load_kernel() 239 if (type[0]!='t'&&type[0]!='T') continue; in load_kernel() 299 if (p->type != PERF_RECORD_SAMPLE) return p->size; in process_event() 419 attr.type = PERF_TYPE_SOFTWARE; in main()
|
/linux-tools/ebpf/libbpf-bootstrap/ |
H A D | conn.bpf.c | 8 __uint(type, BPF_MAP_TYPE_RINGBUF); 13 __uint(type, BPF_MAP_TYPE_HASH);
|
H A D | openat.bpf.c | 8 __uint(type, BPF_MAP_TYPE_RINGBUF);
|
H A D | kprobe_ksysread.bpf.c | 10 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | commargv.bpf.c | 8 __uint(type, BPF_MAP_TYPE_RINGBUF);
|
/linux-tools/perf/execommand/ |
H A D | perf_comm.cpp | 67 if (p->type == PERF_RECORD_FORK) { in process_event() 71 } else if (p->type == PERF_RECORD_COMM) { in process_event() 83 } else if (p->type == PERF_RECORD_EXIT) { in process_event() 129 attr.type = PERF_TYPE_SOFTWARE; in main()
|
/linux-tools/ebpf/kernel-samples-bpf/ |
H A D | syscall_tp_openat_kern.c | 6 __uint(type, BPF_MAP_TYPE_RINGBUF);
|
H A D | sockconn4lb_kern.c | 11 __uint(type, BPF_MAP_TYPE_HASH);
|
H A D | l3lb_kern.c | 12 __uint(type, BPF_MAP_TYPE_HASH); 20 __uint(type, BPF_MAP_TYPE_ARRAY);
|
H A D | ipfirewall_kern.c | 10 __uint(type, BPF_MAP_TYPE_HASH);
|
/linux-tools/perf/contextswitch/ |
H A D | perf_cxt_switch_1.cpp | 53 if (p->type == PERF_RECORD_SAMPLE) { in process_event() 55 } else if (p->type == PERF_RECORD_SWITCH) { in process_event() 57 } else if (p->type == PERF_RECORD_SWITCH_CPU_WIDE) { in process_event() 127 attr.type = PERF_TYPE_SOFTWARE; in main()
|
H A D | perf_cxt_switch_2.cpp | 71 if (p->type == PERF_RECORD_SAMPLE) { in process_event() 73 } else if (p->type == PERF_RECORD_SWITCH) { in process_event() 75 } else if (p->type == PERF_RECORD_SWITCH_CPU_WIDE) { in process_event() 147 attr.type = PERF_TYPE_SOFTWARE; in main()
|
H A D | perf_cxt_switch_3.cpp | 225 char bb[128], adr[128], type[8], name[128]; in load_kernel() local 228 if (sscanf(p, "%s %s %s", adr, type, name)!=3) continue;; in load_kernel() 229 if (type[0]!='t'&&type[0]!='T') continue; in load_kernel() 283 if (p->type != PERF_RECORD_SAMPLE) return p->size; in process_event() 383 attr.type = PERF_TYPE_SOFTWARE; in main()
|
/linux-tools/perf/uprobe/ |
H A D | uprobe.cpp | 166 if (p->type != PERF_RECORD_SAMPLE) return p->size; in process_event() 199 int type = 0; in main() local 259 fscanf(fp, "%d", &type); in main() 261 if (type <= 0) { printf("unexpected type %d\n", type); return 1; } in main() 268 attr.type = type; in main()
|
/linux-tools/perf/pagefault/ |
H A D | perf_pagefault.cpp | 86 attr.type = PERF_TYPE_SOFTWARE; in main()
|
/linux-tools/ |
H A D | LICENSE | 656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 658 under certain conditions; type `show c' for details.
|