aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/subcmd/parse-options.c
diff options
context:
space:
mode:
authorDominique Martinet <[email protected]>2024-05-09 22:24:32 +0000
committerArnaldo Carvalho de Melo <[email protected]>2024-05-10 13:50:34 +0000
commit5ceb57990bf41684e9bc186128a07025adb896bd (patch)
tree36a81ad848a8221a795329af3af313cf164b0fd2 /tools/lib/subcmd/parse-options.c
parentperf parse-events: Add new 'fake_tp' parameter for tests (diff)
downloadkernel-5ceb57990bf41684e9bc186128a07025adb896bd.tar.gz
kernel-5ceb57990bf41684e9bc186128a07025adb896bd.zip
perf parse: Allow tracepoint names to start with digits
Tracepoints can start with digits, although we don't have many of these: $ rg -g '*.h' '\bTRACE_EVENT\([0-9]' net/mac802154/trace.h 53:TRACE_EVENT(802154_drv_return_int, ... net/ieee802154/trace.h 66:TRACE_EVENT(802154_rdev_add_virtual_intf, ... include/trace/events/9p.h 124:TRACE_EVENT(9p_client_req, ... Just allow names to start with digits too so e.g. "perf trace -e '9p:*'" works Reviewed-by: Ian Rogers <[email protected]> Signed-off-by: Dominique Martinet <[email protected]> Tested-by: Ian Rogers <[email protected]> Cc: Adrian Hunter <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Mark Rutland <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/lib/subcmd/parse-options.c')
0 files changed, 0 insertions, 0 deletions