Commit be578b79 authored by Teng Qin's avatar Teng Qin

Increase bpf_attach_tracing_event buffer size

parent 956a9832
......@@ -540,7 +540,7 @@ static int bpf_attach_tracing_event(int progfd, const char *event_path,
struct perf_reader *reader, int pid) {
int efd, pfd, cpu = 0;
ssize_t bytes;
char buf[256];
char buf[PATH_MAX];
struct perf_event_attr attr = {};
snprintf(buf, sizeof(buf), "%s/id", event_path);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment