Home
last modified time | relevance | path

Searched refs:type (Results 1 – 18 of 18) sorted by relevance

/linux-tools/perf/kprobe/
H A Dperf_kprobe.cpp60 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 Dprofiler-kprobe.cpp229 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 Dprofiler.cpp235 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 Dconn.bpf.c8 __uint(type, BPF_MAP_TYPE_RINGBUF);
13 __uint(type, BPF_MAP_TYPE_HASH);
H A Dopenat.bpf.c8 __uint(type, BPF_MAP_TYPE_RINGBUF);
H A Dkprobe_ksysread.bpf.c10 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dcommargv.bpf.c8 __uint(type, BPF_MAP_TYPE_RINGBUF);
/linux-tools/perf/execommand/
H A Dperf_comm.cpp67 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 Dsyscall_tp_openat_kern.c6 __uint(type, BPF_MAP_TYPE_RINGBUF);
H A Dsockconn4lb_kern.c11 __uint(type, BPF_MAP_TYPE_HASH);
H A Dl3lb_kern.c12 __uint(type, BPF_MAP_TYPE_HASH);
20 __uint(type, BPF_MAP_TYPE_ARRAY);
H A Dipfirewall_kern.c10 __uint(type, BPF_MAP_TYPE_HASH);
/linux-tools/perf/contextswitch/
H A Dperf_cxt_switch_1.cpp53 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 Dperf_cxt_switch_2.cpp71 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 Dperf_cxt_switch_3.cpp225 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 Duprobe.cpp166 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 Dperf_pagefault.cpp86 attr.type = PERF_TYPE_SOFTWARE; in main()
/linux-tools/
H A DLICENSE656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
658 under certain conditions; type `show c' for details.