Searched refs:event_alias (Results 1 – 1 of 1) sorted by relevance
/external/bcc/src/cc/ |
D | libbpf.c | 832 char event_alias[128]; in bpf_attach_kprobe() local 848 snprintf(event_alias, sizeof(event_alias), "%s_bcc_%d", ev_name, getpid()); in bpf_attach_kprobe() 852 event_type, event_alias, fn_name, fn_offset); in bpf_attach_kprobe() 856 event_type, event_alias, fn_name); in bpf_attach_kprobe() 867 snprintf(buf, sizeof(buf), "/sys/kernel/debug/tracing/events/%ss/%s", event_type, event_alias); in bpf_attach_kprobe() 948 char event_alias[PATH_MAX]; in bpf_attach_uprobe() local 964 res = snprintf(event_alias, sizeof(event_alias), "%s_bcc_%d", ev_name, getpid()); in bpf_attach_uprobe() 965 if (res < 0 || res >= (int)sizeof(event_alias)) { in bpf_attach_uprobe() 970 event_type, event_alias, binary_path, (unsigned long)offset); in bpf_attach_uprobe() 972 fprintf(stderr, "Event alias (%s) too long for buffer\n", event_alias); in bpf_attach_uprobe() [all …]
|