Skip to content

Commit 068a56e

Browse files
committed
Merge tag 'probes-fixes-v6.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace
Pull probes fix from Masami Hiramatsu: "Sanitize wildcard for fprobe event name Fprobe event accepts wildcards for the target functions, but unless the user specifies its event name, it makes an event with the wildcards. Replace the wildcard '*' with the underscore '_'" * tag 'probes-fixes-v6.17-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/trace/linux-trace: tracing: fprobe-event: Sanitize wildcard for fprobe event name
2 parents 43f981b + ec879e1 commit 068a56e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

kernel/trace/trace.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2204,7 +2204,7 @@ static inline bool is_good_system_name(const char *name)
22042204
static inline void sanitize_event_name(char *name)
22052205
{
22062206
while (*name++ != '\0')
2207-
if (*name == ':' || *name == '.')
2207+
if (*name == ':' || *name == '.' || *name == '*')
22082208
*name = '_';
22092209
}
22102210

0 commit comments

Comments
 (0)