aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/parse-events.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/parse-events.c')
-rw-r--r--tools/perf/util/parse-events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/parse-events.c b/tools/perf/util/parse-events.c
index 034245e46817..910283cbbc8f 100644
--- a/tools/perf/util/parse-events.c
+++ b/tools/perf/util/parse-events.c
@@ -145,7 +145,7 @@ static int tp_event_has_id(struct dirent *sys_dir, struct dirent *evt_dir)
145 (strcmp(evt_dirent.d_name, "..")) && \ 145 (strcmp(evt_dirent.d_name, "..")) && \
146 (!tp_event_has_id(&sys_dirent, &evt_dirent))) 146 (!tp_event_has_id(&sys_dirent, &evt_dirent)))
147 147
148#define MAX_EVENT_LENGTH 30 148#define MAX_EVENT_LENGTH 512
149 149
150int valid_debugfs_mount(const char *debugfs) 150int valid_debugfs_mount(const char *debugfs)
151{ 151{