Lines Matching defs:buf
26 char buf[256];
43 len = sizeof(buf);
44 bpf_task_fd_query(getpid(), fd, 0, buf, &len, &prog_id,
64 char *buf, __u64 probe_offset, __u64 probe_addr)
73 jsonw_string_field(json_wtr, "tracepoint", buf);
77 jsonw_string_field(json_wtr, "tracepoint", buf);
81 if (buf[0] != '\0') {
82 jsonw_string_field(json_wtr, "func", buf);
90 if (buf[0] != '\0') {
91 jsonw_string_field(json_wtr, "func", buf);
99 jsonw_string_field(json_wtr, "filename", buf);
104 jsonw_string_field(json_wtr, "filename", buf);
114 char *buf, __u64 probe_offset, __u64 probe_addr)
119 printf("raw_tracepoint %s\n", buf);
122 printf("tracepoint %s\n", buf);
125 if (buf[0] != '\0')
126 printf("kprobe func %s offset %llu\n", buf,
132 if (buf[0] != '\0')
133 printf("kretprobe func %s offset %llu\n", buf,
139 printf("uprobe filename %s offset %llu\n", buf, probe_offset);
142 printf("uretprobe filename %s offset %llu\n", buf,
157 char buf[4096];
195 len = sizeof(buf);
196 err = bpf_task_fd_query(pid, fd, 0, buf, &len, &prog_id, &fd_type,
202 print_perf_json(pid, fd, prog_id, fd_type, buf, probe_offset,
205 print_perf_plain(pid, fd, prog_id, fd_type, buf, probe_offset,