summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/bpf-filter.l
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/bpf-filter.l')
-rw-r--r--tools/perf/util/bpf-filter.l2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/bpf-filter.l b/tools/perf/util/bpf-filter.l
index f313404f95a9..6aa65ade3385 100644
--- a/tools/perf/util/bpf-filter.l
+++ b/tools/perf/util/bpf-filter.l
@@ -76,7 +76,7 @@ static int path_or_error(void)
num_dec [0-9]+
num_hex 0[Xx][0-9a-fA-F]+
space [ \t]+
-path [^ \t\n]+
+path [^ \t\n,]+
ident [_a-zA-Z][_a-zA-Z0-9]+
%%