diff options
| author | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-21 02:29:30 +0300 | 
|---|---|---|
| committer | Linus Torvalds <torvalds@linux-foundation.org> | 2025-08-21 02:29:30 +0300 | 
| commit | 068a56e56fa81e42fc5f08dff34fab149bb60a09 (patch) | |
| tree | 93f96fb7accb8712126c39eec4c3dc411e5e5b0e | |
| parent | 43f981b7a72bd39358b876f801ffee463536dea5 (diff) | |
| parent | ec879e1a0be8007aa232ffedcf6a6445dfc1a3d7 (diff) | |
| download | linux-068a56e56fa81e42fc5f08dff34fab149bb60a09.tar.xz | |
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
| -rw-r--r-- | kernel/trace/trace.h | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/kernel/trace/trace.h b/kernel/trace/trace.h index 1dbf1d3cf2f1..5a6688832da8 100644 --- a/kernel/trace/trace.h +++ b/kernel/trace/trace.h @@ -2204,7 +2204,7 @@ static inline bool is_good_system_name(const char *name)  static inline void sanitize_event_name(char *name)  {  	while (*name++ != '\0') -		if (*name == ':' || *name == '.') +		if (*name == ':' || *name == '.' || *name == '*')  			*name = '_';  } | 
