diff options
author | Tao Chen <[email protected]> | 2022-09-24 22:13:34 +0800 |
---|---|---|
committer | Steven Rostedt (Google) <[email protected]> | 2022-09-27 14:48:26 -0400 |
commit | dc399adecd4e2826868e5d116a58e33071b18346 (patch) | |
tree | 835b70cea75db84a448f47e18fef2e73e868d765 /drivers/usb/cdns3/cdns3-trace.c | |
parent | ae398ad89456847aab9f12b0e63c51443af5da48 (diff) |
tracing/eprobe: Fix alloc event dir failed when event name no set
The event dir will alloc failed when event name no set, using the
command:
"echo "e:esys/ syscalls/sys_enter_openat file=\$filename:string"
>> dynamic_events"
It seems that dir name="syscalls/sys_enter_openat" is not allowed
in debugfs. So just use the "sys_enter_openat" as the event name.
Link: https://lkml.kernel.org/r/1664028814-45923-1-git-send-email-chentao.kernel@linux.alibaba.com
Cc: Ingo Molnar <[email protected]>
Cc: Tom Zanussi <[email protected]>
Cc: Linyu Yuan <[email protected]>
Cc: Tao Chen <[email protected]
Cc: [email protected]
Fixes: 95c104c378dc ("tracing: Auto generate event name when creating a group of events")
Acked-by: Masami Hiramatsu (Google) <[email protected]>
Signed-off-by: Tao Chen <[email protected]>
Signed-off-by: Steven Rostedt (Google) <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-trace.c')
0 files changed, 0 insertions, 0 deletions