* [PATCH 0/4] trace: trivial: fix some typos
@ 2026-05-07 8:09 Martin Kaiser
2026-05-07 8:09 ` [PATCH 1/4] eventfs/tracing: fix typo in a comment Martin Kaiser
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: Martin Kaiser @ 2026-05-07 8:09 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu
Cc: linux-trace-kernel, linux-kernel, Martin Kaiser
Some trivial typo fixes for the tracing code.
Martin Kaiser (4):
eventfs/tracing: fix typo in a comment
perf/core: fix typo in a comment
tracing: probes: fix typo in a log message
tracing: trace_fprobe: fix typo in function name
include/linux/tracefs.h | 2 +-
kernel/events/core.c | 2 +-
kernel/trace/trace_fprobe.c | 4 ++--
kernel/trace/trace_probe.h | 2 +-
4 files changed, 5 insertions(+), 5 deletions(-)
--
2.43.7
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 1/4] eventfs/tracing: fix typo in a comment
2026-05-07 8:09 [PATCH 0/4] trace: trivial: fix some typos Martin Kaiser
@ 2026-05-07 8:09 ` Martin Kaiser
2026-05-07 8:09 ` [PATCH 2/4] perf/core: " Martin Kaiser
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kaiser @ 2026-05-07 8:09 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu
Cc: linux-trace-kernel, linux-kernel, Martin Kaiser
Fix a typo ("eventfs files") in a comment.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
include/linux/tracefs.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/linux/tracefs.h b/include/linux/tracefs.h
index d03f74658716..bc354d340046 100644
--- a/include/linux/tracefs.h
+++ b/include/linux/tracefs.h
@@ -30,7 +30,7 @@ struct eventfs_file;
* @data: data to pass to the created file ops
* @fops: the file operations of the created file
*
- * The evetnfs files are dynamically created. The struct eventfs_entry array
+ * The eventfs files are dynamically created. The struct eventfs_entry array
* is passed to eventfs_create_dir() or eventfs_create_events_dir() that will
* be used to create the files within those directories. When a lookup
* or access to a file within the directory is made, the struct eventfs_entry
--
2.43.7
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 2/4] perf/core: fix typo in a comment
2026-05-07 8:09 [PATCH 0/4] trace: trivial: fix some typos Martin Kaiser
2026-05-07 8:09 ` [PATCH 1/4] eventfs/tracing: fix typo in a comment Martin Kaiser
@ 2026-05-07 8:09 ` Martin Kaiser
2026-05-07 8:09 ` [PATCH 3/4] tracing: probes: fix typo in a log message Martin Kaiser
2026-05-07 8:09 ` [PATCH 4/4] tracing: trace_fprobe: fix typo in function name Martin Kaiser
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kaiser @ 2026-05-07 8:09 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu
Cc: linux-trace-kernel, linux-kernel, Martin Kaiser
Fix a typo ("swevents") in a comment.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
kernel/events/core.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/events/core.c b/kernel/events/core.c
index bcaf175f3ded..2ca27547bb74 100644
--- a/kernel/events/core.c
+++ b/kernel/events/core.c
@@ -11444,7 +11444,7 @@ void perf_tp_event(u16 event_type, u64 count, void *record, int entry_size,
/*
* Here use the same on-stack perf_sample_data,
* some members in data are event-specific and
- * need to be re-computed for different sweveents.
+ * need to be re-computed for different swevents.
* Re-initialize data->sample_flags safely to avoid
* the problem that next event skips preparing data
* because data->sample_flags is set.
--
2.43.7
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 3/4] tracing: probes: fix typo in a log message
2026-05-07 8:09 [PATCH 0/4] trace: trivial: fix some typos Martin Kaiser
2026-05-07 8:09 ` [PATCH 1/4] eventfs/tracing: fix typo in a comment Martin Kaiser
2026-05-07 8:09 ` [PATCH 2/4] perf/core: " Martin Kaiser
@ 2026-05-07 8:09 ` Martin Kaiser
2026-05-07 8:09 ` [PATCH 4/4] tracing: trace_fprobe: fix typo in function name Martin Kaiser
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kaiser @ 2026-05-07 8:09 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu
Cc: linux-trace-kernel, linux-kernel, Martin Kaiser
Fix a typo ("Invalid $-variable") in a log message.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
kernel/trace/trace_probe.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/trace/trace_probe.h b/kernel/trace/trace_probe.h
index 262d8707a3df..df68d40de161 100644
--- a/kernel/trace/trace_probe.h
+++ b/kernel/trace/trace_probe.h
@@ -509,7 +509,7 @@ extern int traceprobe_define_arg_fields(struct trace_event_call *event_call,
C(NO_RETVAL, "This function returns 'void' type"), \
C(BAD_STACK_NUM, "Invalid stack number"), \
C(BAD_ARG_NUM, "Invalid argument number"), \
- C(BAD_VAR, "Invalid $-valiable specified"), \
+ C(BAD_VAR, "Invalid $-variable specified"), \
C(BAD_REG_NAME, "Invalid register name"), \
C(BAD_MEM_ADDR, "Invalid memory address"), \
C(BAD_IMM, "Invalid immediate value"), \
--
2.43.7
^ permalink raw reply related [flat|nested] 5+ messages in thread
* [PATCH 4/4] tracing: trace_fprobe: fix typo in function name
2026-05-07 8:09 [PATCH 0/4] trace: trivial: fix some typos Martin Kaiser
` (2 preceding siblings ...)
2026-05-07 8:09 ` [PATCH 3/4] tracing: probes: fix typo in a log message Martin Kaiser
@ 2026-05-07 8:09 ` Martin Kaiser
3 siblings, 0 replies; 5+ messages in thread
From: Martin Kaiser @ 2026-05-07 8:09 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu
Cc: linux-trace-kernel, linux-kernel, Martin Kaiser
The function name should be __register_tracepoint_fprobe.
Signed-off-by: Martin Kaiser <martin@kaiser.cx>
---
kernel/trace/trace_fprobe.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/kernel/trace/trace_fprobe.c b/kernel/trace/trace_fprobe.c
index 9f5f08c0e7c2..4d1abbf66229 100644
--- a/kernel/trace/trace_fprobe.c
+++ b/kernel/trace/trace_fprobe.c
@@ -764,7 +764,7 @@ static int unregister_fprobe_event(struct trace_fprobe *tf)
return trace_probe_unregister_event_call(&tf->tp);
}
-static int __regsiter_tracepoint_fprobe(struct trace_fprobe *tf)
+static int __register_tracepoint_fprobe(struct trace_fprobe *tf)
{
struct tracepoint_user *tuser __free(tuser_put) = NULL;
struct module *mod __free(module_put) = NULL;
@@ -836,7 +836,7 @@ static int __register_trace_fprobe(struct trace_fprobe *tf)
tf->fp.flags &= ~FPROBE_FL_DISABLED;
if (trace_fprobe_is_tracepoint(tf))
- return __regsiter_tracepoint_fprobe(tf);
+ return __register_tracepoint_fprobe(tf);
/* TODO: handle filter, nofilter or symbol list */
return register_fprobe(&tf->fp, tf->symbol, NULL);
--
2.43.7
^ permalink raw reply related [flat|nested] 5+ messages in thread
end of thread, other threads:[~2026-05-07 8:11 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-07 8:09 [PATCH 0/4] trace: trivial: fix some typos Martin Kaiser
2026-05-07 8:09 ` [PATCH 1/4] eventfs/tracing: fix typo in a comment Martin Kaiser
2026-05-07 8:09 ` [PATCH 2/4] perf/core: " Martin Kaiser
2026-05-07 8:09 ` [PATCH 3/4] tracing: probes: fix typo in a log message Martin Kaiser
2026-05-07 8:09 ` [PATCH 4/4] tracing: trace_fprobe: fix typo in function name Martin Kaiser
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox