Lines Matching refs:event_alias
844 char event_alias[128]; in bpf_attach_kprobe() local
867 snprintf(event_alias, sizeof(event_alias), "%s_bcc_%d", ev_name, getpid()); in bpf_attach_kprobe()
871 event_type, event_alias, fn_name, fn_offset); in bpf_attach_kprobe()
875 event_type, event_alias, fn_name); in bpf_attach_kprobe()
888 event_alias); in bpf_attach_kprobe()
891 event_alias); in bpf_attach_kprobe()
973 char event_alias[PATH_MAX]; in bpf_attach_uprobe() local
995 res = snprintf(event_alias, sizeof(event_alias), "%s_bcc_%d", ev_name, getpid()); in bpf_attach_uprobe()
996 if (res < 0 || res >= (int)sizeof(event_alias)) { in bpf_attach_uprobe()
1001 event_type, event_alias, binary_path, (unsigned long)offset); in bpf_attach_uprobe()
1003 fprintf(stderr, "Event alias (%s) too long for buffer\n", event_alias); in bpf_attach_uprobe()
1019 event_alias); in bpf_attach_uprobe()
1021 snprintf(buf, sizeof(buf), "/sys/kernel/tracing/events/%ss/%s", event_type, event_alias); in bpf_attach_uprobe()