From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A3CD018FDBE for ; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983152; cv=none; b=KroAb8wtawrL4OTLKjpFamuSm48//gVKVGhWgD7Xf7zklCYFIWFrjFXoozD/dKAwgYiins2TvpwOXr5sDChO1K5LfmiYZdh7Kl7dCxnsOddUisvtQ9st48BsA2GUo0rGSUye0SPHeZGazZ5YSgJ8aGmJozfIoqio0tAB9IV+8iw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983152; c=relaxed/simple; bh=hLA2PPwdpEgbg0eFYnwPSBX+N9CvQjgH48MhHsRznzU=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=ssbbElABE9dAmxv2v0wNzPpVUkYIA21/AJ6trzE78lAwZTrHE9Fqz96ME4BykYHERh7l3GhXF9xOxfazcAIWQt4q0yGhXXpTHOqUiBFTL0ivu6J3xbQ3QdtmJTnU4vFguDk4znCWDh+vhkks3ghsdNTXSJyWQ464mkPIyVXz8HY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=GORnL+V9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="GORnL+V9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5383CC116C6; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983152; bh=hLA2PPwdpEgbg0eFYnwPSBX+N9CvQjgH48MhHsRznzU=; h=Date:From:To:Cc:Subject:References:From; b=GORnL+V9frt0Lqq9x8OX6fUZL39nlg795p78yR2IG/LlT+0wcJgNIOVJobgcrcrwH 2Tq8IhWvmOgkNeQJn+VA2J5cTSXHxq6WPNzOuo0MFMviiXcvYba840iRj+cbisU0EW 7cmTq/bLKio/2/Y1qGQNO0KOu4wP0VvYlTDl8JwsLD67TbOc/OpnxiYoW/1zfyyeAV Dhg/hd0vlAzX808HXTn+UthnIcrFM6/Xq960z4rNJd+OWfP8z/kEUq4tyH1eZMRX7q a8zkHRMK2ZyvkoWLGHRvwz0YHppEJNj6tfzKoEMRjdkOcoLDFSjxmVQjuv2GkzQRAe 67Fai/hjCIH2g== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglI-00000009VlS-41dI; Fri, 05 Dec 2025 20:07:00 -0500 Message-ID: <20251206010700.815241948@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:34 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , syzbot+ccdec3bfe0beec58a38d@syzkaller.appspotmail.com Subject: [for-linus][PATCH 01/15] tracing: Fix enabling of tracing on file release References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Steven Rostedt The trace file will pause tracing if the tracing instance has the "pause-on-trace" option is set. This happens when the file is opened, and it is unpaused when the file is closed. When this was first added, there was only one user that paused tracing. On open, the check to pause was: if (!iter->snapshot && (tr->trace_flags & TRACE_ITER(PAUSE_ON_TRACE))) Where if it is not the snapshot tracer and the "pause-on-trace" option is set, then it increments a "stop_count" of the trace instance. On close, the check is: if (!iter->snapshot && tr->stop_count) That is, if it is not the snapshot buffer and it was stopped, it will re-enable tracing. Now there's more places that stop tracing. This means, if something else stops tracing the tr->stop_count will be non-zero, and that means if the trace file is closed, it will decrement the stop_count even though it never incremented it. This causes a warning because when the user that stopped tracing enables it again, the stop_count goes below zero. Instead of relying on the stop_count being set to know if the close of the trace file should enable tracing again, add a new flag to the trace iterator. The trace iterator is unique per open of the trace file, and if the open stops tracing set the trace iterator PAUSE flag. On close, if the PAUSE flag is set, then re-enable it again. Cc: Masami Hiramatsu Cc: Mathieu Desnoyers Link: https://patch.msgid.link/20251202161751.24abaaf1@gandalf.local.home Fixes: 06e0a548bad0f ("tracing: Do not disable tracing when reading the tra= ce file") Reported-by: syzbot+ccdec3bfe0beec58a38d@syzkaller.appspotmail.com Closes: https://lore.kernel.org/all/692f44a5.a70a0220.2ea503.00c8.GAE@googl= e.com/ Signed-off-by: Steven Rostedt (Google) --- include/linux/trace_events.h | 1 + kernel/trace/trace.c | 6 ++++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/include/linux/trace_events.h b/include/linux/trace_events.h index 04307a19cde3..3690221ba3d8 100644 --- a/include/linux/trace_events.h +++ b/include/linux/trace_events.h @@ -138,6 +138,7 @@ enum trace_iter_flags { TRACE_FILE_LAT_FMT =3D 1, TRACE_FILE_ANNOTATE =3D 2, TRACE_FILE_TIME_IN_NS =3D 4, + TRACE_FILE_PAUSE =3D 8, }; =20 =20 diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index c9fbb316dcbd..cf725a33d99c 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -4709,8 +4709,10 @@ __tracing_open(struct inode *inode, struct file *fil= e, bool snapshot) * If pause-on-trace is enabled, then stop the trace while * dumping, unless this is the "snapshot" file */ - if (!iter->snapshot && (tr->trace_flags & TRACE_ITER(PAUSE_ON_TRACE))) + if (!iter->snapshot && (tr->trace_flags & TRACE_ITER(PAUSE_ON_TRACE))) { + iter->iter_flags |=3D TRACE_FILE_PAUSE; tracing_stop_tr(tr); + } =20 if (iter->cpu_file =3D=3D RING_BUFFER_ALL_CPUS) { for_each_tracing_cpu(cpu) { @@ -4842,7 +4844,7 @@ static int tracing_release(struct inode *inode, struc= t file *file) if (iter->trace && iter->trace->close) iter->trace->close(iter); =20 - if (!iter->snapshot && tr->stop_count) + if (iter->iter_flags & TRACE_FILE_PAUSE) /* reenable tracing if it was previously enabled */ tracing_start_tr(tr); =20 --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF6BC21CC68; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983152; cv=none; b=k1ks5wRQPtaadjPv9ibnhdQ+2+xu8FooWiei0DJb59xk9nFH8ZDKtacLl/9YBfYGvIzPekskgNTkgKEs1f5FY9BpQ7jNDxgcF9bd9/DzruOcRd2Zjf0OWJrEr3raBGJEoObZgCMZobdKuYeICHecTdAnjMDU7f95A1eLFct0qC8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983152; c=relaxed/simple; bh=XziP3BZvKCUwzNrgPVp+a4VK1kBazIplv/7b3TjByT0=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=dQ9bFI08d+H3YrbsDZUb35OPP70Q8U1e6KIkPezV/ZN7vc6T2ue0/dW5/nZ3VkIFtSGPu/mvlEWRBzA0Wa+vU5PgpiXyuRX6WTivYPLZmzybl2AEza9tVToHrOpKcjEBuUV9nsNAw+dhMPqAVQ1pVYHj1+lNIFYlBbaRpWMukdo= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=TVKTJc7t; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="TVKTJc7t" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 878A3C19421; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983152; bh=XziP3BZvKCUwzNrgPVp+a4VK1kBazIplv/7b3TjByT0=; h=Date:From:To:Cc:Subject:References:From; b=TVKTJc7tS1LNfRyV3wB1vRszmFyK1qX8KnEfHi03XeKM0ZmkP1Gy/pjVHDHpUxiFi 0vwqee4TWk+WpsByfkjDwPMsIeAfv0Vlx62yYeDZwTIAqEV0ItQnAikLNjUllMdFf6 g8jncTAJy5Qjg2A/sFzr+e5hIRSorVlgtqGiwLnu1xu3Q3WxnXE6ln5MGoNRXJOqaa iwOMVqM+3jiQnhDDaAMKZpUOl0+5r0xrVVrP6PAWzOZB14QpXKQqgubrwD2q6sNuLU +V8hqrriAl4Lz7JNqLDomYdkcBrk4baSUDkNyVKmsn3r8l0P3hVdUgGNwrj6lBX6mg 0plsdi4joMjtQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009Vlx-0XCw; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010700.980966840@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:35 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , stable@vger.kernel.org, Douglas Raillard Subject: [for-linus][PATCH 02/15] tracing: Fix fixed array of synthetic event References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Steven Rostedt The commit 4d38328eb442d ("tracing: Fix synth event printk format for str fields") replaced "%.*s" with "%s" but missed removing the number size of the dynamic and static strings. The commit e1a453a57bc7 ("tracing: Do not add length to print format in synthetic events") fixed the dynamic part but did not fix the static part. That is, with the commands: # echo 's:wake_lat char[] wakee; u64 delta;' >> /sys/kernel/tracing/dynam= ic_events # echo 'hist:keys=3Dpid:ts=3Dcommon_timestamp.usecs if !(common_flags & 0= x18)' > /sys/kernel/tracing/events/sched/sched_waking/trigger # echo 'hist:keys=3Dnext_pid:delta=3Dcommon_timestamp.usecs-$ts:onmatch(s= ched.sched_waking).trace(wake_lat,next_comm,$delta)' > /sys/kernel/tracing/= events/sched/sched_switch/trigger That caused the output of: -0 [001] d..5. 193.428167: wake_lat: wakee=3D(efaul= t)sshd-sessiondelta=3D155 sshd-session-879 [001] d..5. 193.811080: wake_lat: wakee=3D(efaul= t)kworker/u34:5delta=3D58 -0 [002] d..5. 193.811198: wake_lat: wakee=3D(efaul= t)bashdelta=3D91 The commit e1a453a57bc7 fixed the part where the synthetic event had "char[] wakee". But if one were to replace that with a static size string: # echo 's:wake_lat char[16] wakee; u64 delta;' >> /sys/kernel/tracing/dyn= amic_events Where "wakee" is defined as "char[16]" and not "char[]" making it a static size, the code triggered the "(efaul)" again. Remove the added STR_VAR_LEN_MAX size as the string is still going to be nul terminated. Cc: stable@vger.kernel.org Cc: Masami Hiramatsu Cc: Mathieu Desnoyers Cc: Douglas Raillard Link: https://patch.msgid.link/20251204151935.5fa30355@gandalf.local.home Fixes: e1a453a57bc7 ("tracing: Do not add length to print format in synthet= ic events") Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events_synth.c | 1 - 1 file changed, 1 deletion(-) diff --git a/kernel/trace/trace_events_synth.c b/kernel/trace/trace_events_= synth.c index 2f19bbe73d27..4554c458b78c 100644 --- a/kernel/trace/trace_events_synth.c +++ b/kernel/trace/trace_events_synth.c @@ -375,7 +375,6 @@ static enum print_line_t print_synth_event(struct trace= _iterator *iter, n_u64++; } else { trace_seq_printf(s, print_fmt, se->fields[i]->name, - STR_VAR_LEN_MAX, (char *)&entry->fields[n_u64].as_u64, i =3D=3D se->n_fields - 1 ? "" : " "); n_u64 +=3D STR_VAR_LEN_MAX / sizeof(u64); --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DF8A323184F for ; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=mIrdO3WTC+X5Ie/aiYK1vy8HxoqMEH6RCoqe6/kafKTfWntBEX00PibQygcdkcZbTwxlq61cKE/jWaa42IaAXt4yUtVXJ5xYZX5Q/LrjnHuN0A2msY9Ipc5a7AjaBajOUmvy3L5rR8cu9uwLz1zRO4jM092eEjTo2bKA5ggA/T8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=e3CfJguaKuv5um0N8DFghgU4/cPNXgoW/O/SIwb3cnk=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=cZdWQHcdbPZ08WjgSXxEqkIv2RC+zb1jzWgmzubsRNCKuZjd3O6/ys8kMSNfR1E4MLrjoDHza1zhWv3cqrRgD4o3pJ44cBNcEm+W5cfveZYU5G2RCPq260oZFuCyLqf1GDdfYmSR7Z6geXZwutRI2ebimFjeejs7fZZ7UDRQP8Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=UqQdu7ne; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="UqQdu7ne" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 9CA34C16AAE; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983152; bh=e3CfJguaKuv5um0N8DFghgU4/cPNXgoW/O/SIwb3cnk=; h=Date:From:To:Cc:Subject:References:From; b=UqQdu7neVxfpHFVHfVvAgxQtFHheufdFY/R2wbI+JlLuwRKPMxLHTyc2px9DBheND S5Dm9f3YcRt/J0P8K69KRXtuBvMDXPWNuYVI744DxpgazTO0g7GIfJhAIAAPCUP3Xv +4qAMxyljprOq2TaCdvJUblET7RH1WsHL9JDtVgIc2ds4VycYY98/std0pGRfkNfPh AnO0B7tzpl8DUhFkE0MfBWXcYOnfvydGXNBEImopqYTFxYKRoqxuvtFjLpyQFA2ujR 6lnkVPfk4Thgf0PAJrpGwIVHtWqSM27jaza0i0oot+dQFaiKZxJTvl1hLyKBf1oyJr WoLW5DXvZ562Q== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009VmR-1EMU; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.147940248@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:36 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 03/15] tracing: Fix typo in fpgraph.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "reservered" to "reserved". Link: https://patch.msgid.link/20251121221835.28032-3-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/fgraph.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/fgraph.c b/kernel/trace/fgraph.c index 65ac0f04a946..cc48d16be43e 100644 --- a/kernel/trace/fgraph.c +++ b/kernel/trace/fgraph.c @@ -163,7 +163,7 @@ enum { #define RET_STACK(t, offset) ((struct ftrace_ret_stack *)(&(t)->ret_stack[= offset])) =20 /* - * Each fgraph_ops has a reservered unsigned long at the end (top) of the + * Each fgraph_ops has a reserved unsigned long at the end (top) of the * ret_stack to store task specific state. */ #define SHADOW_STACK_TASK_VARS(ret_stack) \ --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4A34323D7F2 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=e1l6uNuw1TGs52QdaG1kI1TBa+KSXXFUlFzqUeN36yR5NWAI5U0u8OUzQWB3CM+M/Zaj77eQcjvrbFdUAgjmwYKk+XaD4WjwAvs0aco1LbDbUVCY6jJAciL/XHbeYdyVki5fmmYJN3I0SCx8qKSgseTRB8pdvLks2IxcM5VreBE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=Tw6cXN5vf+eLkzW8BRFzz1UNYVAuw/ZKIOFFckb6jag=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=nx3xUjfm0tky4nPSGK3B7yvCnvSH3YvMFfBrxd62SyTs954aDO7+Y9VacNf3Y+dRgcIDVfRE4WdPEsuzGHU08KLdIhle/C29jFFh82bNuK4s/z6p7huc2tiQ1mdKQfvHElN0YWeUlM3lhRx+GSD1oWRmJSdWO5IBV/9mplr5HBA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=d7emfIRq; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="d7emfIRq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id D5EE5C4CEF1; Sat, 6 Dec 2025 01:05:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983152; bh=Tw6cXN5vf+eLkzW8BRFzz1UNYVAuw/ZKIOFFckb6jag=; h=Date:From:To:Cc:Subject:References:From; b=d7emfIRqujMs0JLRqQ+X5ZvZ/hS6cQjIvzMB1/N6wSjoUucfgP6YjXTr325iw5neG FnUNh36reprBIgSmoSlOR+ujTCCXu2HnijlXJcY7HSmhFgln8gmoBTsq/sdBVw7noW m6qq0YIjkLxJhWVrpRGo3LIITt9C7/M2AOLmkMzaxMkffd3Lcj5/PHpgJ359s093D/ DSIRnSTNQy46D8wgvqqdzIStuAu8VIx2t03u0zOyIQAa5+vHaqs1tJiN4Yw9tD9dnG Sl6MwAMa04916JhvLlWdjgn65Pd+Ib9OVo2HnUkymTCi1vsmRbJgmmuDBWSfI1ui3H +FfRcQk/yvFFQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009Vmv-1vt8; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.314337161@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:37 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 04/15] tracing: Fix typo in fprobe.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "funciton" to "function". Link: https://patch.msgid.link/20251121221835.28032-4-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/fprobe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/fprobe.c b/kernel/trace/fprobe.c index 5a807d62e76d..10ae831f2710 100644 --- a/kernel/trace/fprobe.c +++ b/kernel/trace/fprobe.c @@ -29,7 +29,7 @@ * fprobe_table: hold 'fprobe_hlist::hlist' for checking the fprobe still * exists. The key is the address of fprobe instance. * fprobe_ip_table: hold 'fprobe_hlist::array[*]' for searching the fprobe - * instance related to the funciton address. The key is the ftrace IP + * instance related to the function address. The key is the ftrace IP * address. * * When unregistering the fprobe, fprobe_hlist::fp and fprobe_hlist::array= [*].fp --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 28DEF23BD06 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=mPiJ0370jA813DTMP5VTcsHBo+U/CEG22NGCSlDPHm11QplGAo66D3pTpNyN7S60gzohM9MYH6pKF3mmBwcOlFnGpnwFMMg8Ia46RO3YAejsNItPuBsxoqvfRtpzsw5HnO6+FnAoYU4eVfO4LtegYExAWrbAte5SQZ/XyYx2BfY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=CSgr+jmtyLKyrQZHVx/nf0QzSDnQr/4E+HhIQwbmVwY=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=tXBPw0KU4QmizC6rZ/MJGcEtw0hX/5CJHtaHIB7QMTB3xt9mchGkkh5+4ZEgHdRCZeHa3H8ytGNyDwY2HYNL04LVosvDM+/ib9SiI2+3ssxc6Z9IfJxUhPOasOR31Ywu3Z8J5dpQ9XDL2tlpMKgVcE1uhW+PDOEtmDFzGrCLXVw= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=CgRl/VL9; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="CgRl/VL9" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 06920C19421; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=CSgr+jmtyLKyrQZHVx/nf0QzSDnQr/4E+HhIQwbmVwY=; h=Date:From:To:Cc:Subject:References:From; b=CgRl/VL9oVvDwS1evCzr4K7+ngd0IIgHs4t4zxs4Par3OVHofyLL9S1+DA1ztfKuq b+I4xH26xhCSgDe430kWuBO//u4MDC52QHX0A3KPX1+0lj3+8Um2v74ldwqH9Waw/a ypvZiPGywuPD1BVPs68vDEEvBD+XF1TFAZJieqMMPn2HZLgf5kfxpUrrlkDBrGql3v Z7ijTiOBD/4ltFQo4qkDEPx/ISE5fubMwtuKPwGSDQVp3eCPBzprWrWjByuk8VT602 IPe+7ohqEJD5iLQwP3FZ2gu3FCslYN16UsCqGzzNf+stztTe1atTWAL1pOc54Cr0Gx NZ/zt7kMTzipQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009VnP-2d9d; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.481932137@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:38 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 05/15] tracing: Fix multiple typos in ring_buffer.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "ording" -> "ordering" "scatch" -> "scratch" "wont" -> "won't" Link: https://patch.msgid.link/20251121221835.28032-5-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/ring_buffer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trace/ring_buffer.c b/kernel/trace/ring_buffer.c index 8688c88534de..41c9f5d079be 100644 --- a/kernel/trace/ring_buffer.c +++ b/kernel/trace/ring_buffer.c @@ -1770,7 +1770,7 @@ static bool rb_meta_init(struct trace_buffer *buffer,= int scratch_size) bmeta->total_size =3D total_size; bmeta->buffers_offset =3D (void *)ptr - (void *)bmeta; =20 - /* Zero out the scatch pad */ + /* Zero out the scratch pad */ memset((void *)bmeta + sizeof(*bmeta), 0, bmeta->buffers_offset - sizeof(= *bmeta)); =20 return false; @@ -6089,7 +6089,7 @@ static void rb_clear_buffer_page(struct buffer_page *= page) * id field, and updated via this function. * * But for a fixed memory mapped buffer, the id is already assigned for - * fixed memory ording in the memory layout and can not be used. Instead + * fixed memory ordering in the memory layout and can not be used. Instead * the index of where the page lies in the memory layout is used. * * For the normal pages, set the buffer page id with the passed in @id @@ -7669,7 +7669,7 @@ static __init int test_ringbuffer(void) /* * Show buffer is enabled before setting rb_test_started. * Yes there's a small race window where events could be - * dropped and the thread wont catch it. But when a ring + * dropped and the thread won't catch it. But when a ring * buffer gets enabled, there will always be some kind of * delay before other CPUs see it. Thus, we don't care about * those dropped events. We care about events dropped after --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4D8A923EAB4 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=Awc0Bmm2tmAC1+tEIYU5dQ+c7KSLP1h97RqCeZKdhBMY7BaxrbIQHD0n+P33PV9D/dYmC/YmHnG+vlmZbUt/lQ17QJP4sNaJ4FO23ODIvWDuwdy489mWr4vwiIOvPQRDH8uI6POM2Dc0QOzye7j2TgmfBWDaaXu5bR/cMwYwHbE= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=ZyPFbitRoBJOL1KznUNDzk2Q3/18sYyrlrd5NqMR85c=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=WbYeiBsA1wYN0wjfZIk4I/mlVnjpTBzpmFrRcXY6TiBFKxpVPj8Zw2+Ss4yxZAIo1jR20S6VkkFF3aFmhoDRNkXhE+/AavZRXRO6lrkYK/hBiEgnUyibpSWTunw1x4x6V/+hmA7bIaiSgREJKDAHljYuKZdSBfBnBxmjCAIx1zQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=IF8K7EX2; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="IF8K7EX2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2FC0AC116B1; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=ZyPFbitRoBJOL1KznUNDzk2Q3/18sYyrlrd5NqMR85c=; h=Date:From:To:Cc:Subject:References:From; b=IF8K7EX2Ha65xhozQ5/toZ9LoHzLKIR++NQxsLB4Qsb+gsGxMtA0pXDu9ZumlmvGP xrE64IrpDiUCW8bXB1H0GV2jbJG0z/+o8ZlxPOSXFh221HAklQZgslMWlI2icpo15v fs58K7Xs4LcR6Ob6qu5pQZY5ADaKEpJT3SDtFNwQP/+M3OTvH81oQsm48yVWl63UTW a9UccjgM7gIGmSqAw7Q3qtOMVgzslMEvN2Ldi8obvT/QakE1r0iXPEKKAB5CWD3dHp 0azqlwCIrmhqj83fBDG/4XqxtumEFQ7NW175sFxPXV1Nur8ejaciMDJ4JcsA6mF94S E2lqvgmPfaQww== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009Vnt-3Kas; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.648195520@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:39 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 06/15] tracing: Fix typo in ring_buffer_benchmark.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "overwite" to "overwrite". Link: https://patch.msgid.link/20251121221835.28032-6-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/ring_buffer_benchmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/ring_buffer_benchmark.c b/kernel/trace/ring_buffe= r_benchmark.c index cdc3aea12c93..593e3b59e42e 100644 --- a/kernel/trace/ring_buffer_benchmark.c +++ b/kernel/trace/ring_buffer_benchmark.c @@ -433,7 +433,7 @@ static int __init ring_buffer_benchmark_init(void) { int ret; =20 - /* make a one meg buffer in overwite mode */ + /* make a one meg buffer in overwrite mode */ buffer =3D ring_buffer_alloc(1000000, RB_FL_OVERWRITE); if (!buffer) return -ENOMEM; --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6E0E324886A for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=c4Ab7G/Xcz9Sm3qepNcJSgqmIC9PEmnfvBjazs9dWNd7rnxesBYJTKxYHNIXfj0YPsluSt+7nZGySgtEsLZak9s3pZgNFyqhOcuYExcIHxnCmdZrIt30xQCaPQPRvy5ogOmEbEV9fSzQumOOKNvNclDuF0JRDa27C9xkryQMf5E= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=zy7PUtm4IAwh53Vqfu/XKramsujpKcK8F2ETjM9qc2g=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=H84Sv+ZAOeFAwr1sXzoyYeZX4b2uulnePuFiXXARblEsvqZPGkkDFU7e1zP48gahA9bTQX4rF5v/YYoxpUIeHod/w5oYyPCv7VownCtk5SxSooWqrDmH1mClb2Xg9dy0VzjAGWuKS8Ydfs3T1YGAcoqdP68dpKZpW82g4M71QCQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=hHVkA8nP; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="hHVkA8nP" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4EAA8C16AAE; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=zy7PUtm4IAwh53Vqfu/XKramsujpKcK8F2ETjM9qc2g=; h=Date:From:To:Cc:Subject:References:From; b=hHVkA8nPXkcRHoD6ng4Egm/kmcrtYw8/xlgTAYtAUIeUobM8xTWicIwz7/nJSzViG rMagA06azgcC3zHoS4NzR2Qc5O/WERqZKsOyHgCyc67uhrnMfBWW3veNB0HIMhoGH5 bHsdhfahpkrgITF84s5LXzw+gCW5bYU3vnrpcp+J/TiBJk3lyB1Ul9PVxS+5M3wCgd JvTu3H1qi/az5QtlWLz526OPVnT0EVFIThrZ0YcZeKOB77Si4zH4k9NVP7zw7G914Y SQKEikDiwTg0r5V9CSuhVzFyW0v4pIR3WnvIkHFtqNO0UOylBFkwPddzUBUBtachYx G3lLCVars5/sw== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglJ-00000009VoP-42lz; Fri, 05 Dec 2025 20:07:01 -0500 Message-ID: <20251206010701.816724698@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:40 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 07/15] tracing: Fix multiple typos in trace.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "alse" -> "also" "enabed" -> "enabled" "instane" -> "instance" "outputing" -> "outputting" "seperated" -> "separated" Link: https://patch.msgid.link/20251121221835.28032-7-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/kernel/trace/trace.c b/kernel/trace/trace.c index cf725a33d99c..e575956ef9b5 100644 --- a/kernel/trace/trace.c +++ b/kernel/trace/trace.c @@ -125,7 +125,7 @@ cpumask_var_t __read_mostly tracing_buffer_mask; * If there is an oops (or kernel panic) and the ftrace_dump_on_oops * is set, then ftrace_dump is called. This will output the contents * of the ftrace buffers to the console. This is very useful for - * capturing traces that lead to crashes and outputing it to a + * capturing traces that lead to crashes and outputting it to a * serial console. * * It is default off, but you can enable it with either specifying @@ -134,7 +134,7 @@ cpumask_var_t __read_mostly tracing_buffer_mask; * Set 1 if you want to dump buffers of all CPUs * Set 2 if you want to dump the buffer of the CPU that triggered oops * Set instance name if you want to dump the specific trace instance - * Multiple instance dump is also supported, and instances are seperated + * Multiple instance dump is also supported, and instances are separated * by commas. */ /* Set to string format zero to disable by default */ @@ -5278,7 +5278,7 @@ int set_tracer_flag(struct trace_array *tr, u64 mask,= int enabled) return -EINVAL; /* * An instance must always have it set. - * by default, that's the global_trace instane. + * by default, that's the global_trace instance. */ if (printk_trace =3D=3D tr) update_printk_trace(&global_trace); @@ -7556,7 +7556,7 @@ char *trace_user_fault_read(struct trace_user_buf_inf= o *tinfo, migrate_disable(); =20 /* - * Now preemption is being enabed and another task can come in + * Now preemption is being enabled and another task can come in * and use the same buffer and corrupt our data. */ preempt_enable_notrace(); @@ -11331,7 +11331,7 @@ __init static void do_allocate_snapshot(const char = *name) /* * When allocate_snapshot is set, the next call to * allocate_trace_buffers() (called by trace_array_get_by_name()) - * will allocate the snapshot buffer. That will alse clear + * will allocate the snapshot buffer. That will also clear * this flag. */ allocate_snapshot =3D true; --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D092B25A62E for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; cv=none; b=L/UMeummHz6rC/cUVtfz1V0rJDt/9j9iOkjzuZ54A8AMskzCSeBRIb/cnTKi4OrA3qIOBDAi+nVOzk0lSacW1qhWZH+vyg1RTbNe11TFQIyBwggWIceN2VJ1SpwALR+1Fadi2gVbFz/Otv/Is0c2XRkIpJ2JwMtvMldvEQsFi4Y= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983153; c=relaxed/simple; bh=KKVtAHxafVrfQkUJmvo0tLTyhgPsii+AI5Df3eDTpBQ=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=R6hb+RvnFjL2ST5D9OxaMDWH2yp4zSF2rLqG3KHLMP63LSrWqidosHN6QMU11y2/yQ3gEHkxzk108VuoRoK2NjwkTIhh7Ku5r33gWB5WEKZPnGGJNw94L5NooEX6hUilO3OfUq2YUsm4WpE8OKWBE8H7tWF5UZfVTIceQJFw5nQ= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=VcmXAAVG; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="VcmXAAVG" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 785A8C116B1; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=KKVtAHxafVrfQkUJmvo0tLTyhgPsii+AI5Df3eDTpBQ=; h=Date:From:To:Cc:Subject:References:From; b=VcmXAAVGc4R0lHgEYrmAm4BucgJF6upXTwQQY/DB7PTEfp+JXuQXYijXw9/rInIYJ J6DB3vpU8jpcIlUIdjdOJ9gnGG/ZGJThRKRgXdiILSbVk/dGP7K0m1rVnL8R7V6gnE PlOAYj0vMOHq8jLVUntcQuYL82M+xsfRR9pXUx60ZBGXwKuPzRhPjhcwgEsWGZ5OgA x5GsUl7ExI2pBJqwVJW0buURfJMqP1WFjcmJgPHIM8UqkAbDYPwM9Q4ZVhLftcn0Bj ICxGW5/O0IKiZS9KgEFvJZd691KxVB3mMrp8tQFIhxqvKjEWjoq64KXwmwrq3ayI35 H3V0z0s+0QVTg== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009Vot-0ZHd; Fri, 05 Dec 2025 20:07:02 -0500 Message-ID: <20251206010701.985138011@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:41 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 08/15] tracing: Fix multiple typos in trace_events.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "appened" -> "appended" "paranthesis" -> "parenthesis" "parethesis" -> "parenthesis" "wont" -> "won't" Link: https://patch.msgid.link/20251121221835.28032-8-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/kernel/trace/trace_events.c b/kernel/trace/trace_events.c index 9b07ad9eb284..b16a5a158040 100644 --- a/kernel/trace/trace_events.c +++ b/kernel/trace/trace_events.c @@ -360,7 +360,7 @@ static bool process_string(const char *fmt, int len, st= ruct trace_event_call *ca /* Anything else, this isn't a function */ break; } - /* A function could be wrapped in parethesis, try the next one */ + /* A function could be wrapped in parenthesis, try the next one */ s =3D r + 1; } while (s < e); =20 @@ -567,7 +567,7 @@ static void test_event_printk(struct trace_event_call *= call) * If start_arg is zero, then this is the start of the * first argument. The processing of the argument happens * when the end of the argument is found, as it needs to - * handle paranthesis and such. + * handle parenthesis and such. */ if (!start_arg) { start_arg =3D i; @@ -785,7 +785,7 @@ static int __ftrace_event_enable_disable(struct trace_e= vent_file *file, * * When soft_disable is not set but the soft_mode is, * we do nothing. Do not disable the tracepoint, otherwise - * "soft enable"s (clearing the SOFT_DISABLED bit) wont work. + * "soft enable"s (clearing the SOFT_DISABLED bit) won't work. */ if (soft_disable) { if (atomic_dec_return(&file->sm_ref) > 0) @@ -1394,7 +1394,7 @@ int ftrace_set_clr_event(struct trace_array *tr, char= *buf, int set) if (!tr) return -ENOENT; =20 - /* Modules events can be appened with :mod: */ + /* Modules events can be appended with :mod: */ mod =3D strstr(buf, ":mod:"); if (mod) { *mod =3D '\0'; --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2C943260565 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=rkr1UzjIN8DnM9Hjftp/nVX77P8ZkcZ3SOUds6EUgc3Up32sUYYD0ynPUph2NGrNWb6JGXHEgUc/G6HND7+x41zkYVZlpTbASl8jFMZVPlv9zx4eQi1IMxDGVikb8cvSl7S641FKUdTkZM0beIvitoELX0iZRjc4UpemAz6lT9U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=fQSzSg4iaf6wFmq6Ss5LmoUbGA5KVpG/Ivqvuwza6xs=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=tKPs0LColdLzpFOuyayZK8J9bwx4oCLiVrQQRtUNi0smlDOzLfb92/3u+rpYRNFdcRg1CuCrrgHed5iPOI92ZrwZQg/uoDj5tmJ7JxjUOv1JmavKMaNEU/PNHmbBEln2/KfLDCWIVIYS/jV2Dtr0cOQka7yvI6XMu8g2sUXfxEg= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aRtj6UG1; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aRtj6UG1" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B5A9AC4CEF1; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=fQSzSg4iaf6wFmq6Ss5LmoUbGA5KVpG/Ivqvuwza6xs=; h=Date:From:To:Cc:Subject:References:From; b=aRtj6UG1XuL9NPvp5IRToeLpkf39b9uks/3tTd/UySQC22UBYx4VhuAulBmNMA5PJ vLklfaZTezyzKgqaKr8IhSMkRgeYLH4DgOp/Woi7DsFx+yYYZLav4LYSGJZOBvHOEX yKPzkkXbqLhZeW6dCXORTNwA6ZuTbTMmMxy0BqDQql8pQOFhVOB7zP+Cq+xdUt9SII b8EnrMANU7jx54D9q4LnQuodz+iG/RAO91JdGWdzjIrZOFbwO4PExZPOuhluSb0xCb QI2lTFroVMVt8uMbu5u1BOF4Lok1SHw6hNXBMNJPkcuBVIaPwRzzHoHYBOsk8JUfJs mTqjMph4UcGiQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009VpP-1Ljm; Fri, 05 Dec 2025 20:07:02 -0500 Message-ID: <20251206010702.172430059@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:42 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 09/15] tracing: Fix typo in trace_events_filter.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "singe" to "single". Link: https://patch.msgid.link/20251121221835.28032-9-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events_filter.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_events_filter.c b/kernel/trace/trace_events= _filter.c index 54226b48b2d1..385af8405392 100644 --- a/kernel/trace/trace_events_filter.c +++ b/kernel/trace/trace_events_filter.c @@ -142,7 +142,7 @@ static bool is_not(const char *str) } =20 /** - * struct prog_entry - a singe entry in the filter program + * struct prog_entry - a single entry in the filter program * @target: Index to jump to on a branch (actually one minus the inde= x) * @when_to_branch: The value of the result of the predicate to do a bran= ch * @pred: The predicate to execute. --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 3BE71261595 for ; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=ZcA9cDUQqZUKJ26kwBvaMS/+0b7Z+Mqm0zrF4ubkfEgmmcWrzLVfsKYTcVrUacNMkXfqM5/th7XL/fc8aotPUUEpSPB6yMIZEWgI7y8ooGWBHbBRFqGJP885MU9sUejoLmyZiXSsK8mrABOEF++oywOBHOOM3hRYXPUyHgej/Aw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=Ai7ihc33CiaF8tJjsAqwtCThCZ9261Nfnb1EMbVupwM=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=s/I9P72Wmtk9Z2glOfBILyM2Z9XO0FIysmXIqPWjRgh22PUNdhyaWogFS5lr1DOmrsOlrKlS34LNAoLxupfTFSfCznFYW1XikWNkhe7Oi6ld99+knJd6VjMcvveztPkFSxIDSSSbijkzOPnfZ9QlIsJm9ty8sZJBBVH+PmC6Dm4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=cnHCIIwb; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="cnHCIIwb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id CC283C19421; Sat, 6 Dec 2025 01:05:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983153; bh=Ai7ihc33CiaF8tJjsAqwtCThCZ9261Nfnb1EMbVupwM=; h=Date:From:To:Cc:Subject:References:From; b=cnHCIIwbSE2lDDNRd5m4Vd28FLsM7meRNLMg+n5/CAAZS8Tm9ejFBafjXGO34tXsf OJhRjaqSkV3GNznFM/8wzIYInTe1XnlJH0tAcy968ED3zWAWsyiRxOwO15zEw7SVy9 W9mxA9fBVsVY1O+vTBwt/zI90OQKrrZFt5hrS6le7rgY1J6b0k0LRM6+9wzw+Gst5K qu94IM/j/SVOa07dQmTDPEqRyf67BVd1TPj3dW4Kp6aMnXvPAeu2HgXL6lYxXyTwYt w6yt/+xeHrykGsOz72aqq2DVKzqIaZvHNYMMYY02lwjsmDtqgA+tG5eBex+2hHDLK4 Iq8+K2Utez8Yg== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009Vpt-22xh; Fri, 05 Dec 2025 20:07:02 -0500 Message-ID: <20251206010702.342074743@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:43 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 10/15] tracing: Fix typo in trace_events_hist.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "tigger" to "trigger". Link: https://patch.msgid.link/20251121221835.28032-10-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events_hist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_events_hist.c b/kernel/trace/trace_events_h= ist.c index 289bdea98776..5e6e70540eef 100644 --- a/kernel/trace/trace_events_hist.c +++ b/kernel/trace/trace_events_hist.c @@ -5283,7 +5283,7 @@ hist_trigger_actions(struct hist_trigger_data *hist_d= ata, * on the stack, so when the histogram trigger is initialized * a percpu array of 4 hist_pad structures is allocated. * This will cover every context from normal, softirq, irq and NMI - * in the very unlikely event that a tigger happens at each of + * in the very unlikely event that a trigger happens at each of * these contexts and interrupts a currently active trigger. */ struct hist_pad { --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 2F16E2609EE for ; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=fPYXNbXVEl6FYLOXP8MAwz8Dyb3fOlDh+OWf9VdQlODW6tFlFsADyOImj4TWzaACnHGImy7FvIHrUBy8A+OPZEY8SCEHCbKbq2g6mYE0//wG9JMUy7mrrwro4XWVxq9WI1kMHYBGplo6ihrORjAIZelKsyC2XC8kSS/grKED7tc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=C/bYwEk++ccDXNRfTEvB6JiGeo2dfTC354A1vUIMnRI=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=mTsW0iVvh+H+fTbu32Worqky/7+wG2gqbpeJAZBO1SWAeuCNK7BvPq4m4IXJYhuYAeOfzQRzSU2pqES8UmTU19Bv40xBKagRvacJPhm494cOkvipNMXvyyH0rA43+m5Jn2S95tWnGx9E7ghPj1H5B78Gv6jMomSv3N4M8CCorvA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=YTfazfeS; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="YTfazfeS" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0F71EC116B1; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983154; bh=C/bYwEk++ccDXNRfTEvB6JiGeo2dfTC354A1vUIMnRI=; h=Date:From:To:Cc:Subject:References:From; b=YTfazfeSHx1bKcUFiSSs9mokJaBjhSagEjWTXUa+5bVCSSCDhg1TpJOWDOXEb/Bd7 IMfrhrT5xav+LgospddGeUq3Qn/BF4sSBZXmaRKoJ2OCW3gLEO5VLUx2nrGJ3lKs8n yzK+0N2a+cxLxDXUd9uAiHDLEd4zdDGj3deIoZJkf7XCn1aXBlxwTzlLnnNr2UdSdu 2TCyO5fMfrgzU6uQXtpghpyxxR+rR4B7qwXfQhbw6iBStrw004Spi0gZPdqbeuk2K2 wuhEaF9CFkf+w6cM41LXKXPgExdwvxAg3uZIpH9zsebKRmvvVK/W60NB65NxeW0bfD JR9WMqD9RY3RA== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009VqP-2kZT; Fri, 05 Dec 2025 20:07:02 -0500 Message-ID: <20251206010702.508850939@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:44 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 11/15] tracing: Fix typo in trace_events_trigger.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "componenents" to "components". Link: https://patch.msgid.link/20251121221835.28032-11-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events_trigger.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_events_trigger.c b/kernel/trace/trace_event= s_trigger.c index 96aad82b1628..06b75bcfc7b8 100644 --- a/kernel/trace/trace_events_trigger.c +++ b/kernel/trace/trace_events_trigger.c @@ -732,7 +732,7 @@ static void unregister_trigger(char *glob, * param - text following cmd and ':' and stripped of filter * filter - the optional filter text following (and including= ) 'if' * - * To illustrate the use of these componenents, here are some concrete + * To illustrate the use of these components, here are some concrete * examples. For the following triggers: * * echo 'traceon:5 if pid =3D=3D 0' > trigger --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 50202265CBE for ; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=kuAL6cwEMmIBHhyB3CZYTpvnTr9hc+sFSfPfAPfwhk0wJJ5cryQT8bXkbaBcSOo3n5hQck9f1fR6l5dTHdvDtzilTJYht4p+W1cIZx5XF9hs7ZQxdGKM/sPD8z9GLi/Nsd3jUuK8LwTW9kAl6NPEAQ2uhlU3xPaO2stzfs9sXWw= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=LNmSWvrmYEvwc5/0R8qM1p9eFHpDqPi8HlfpUD0lJgg=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=HQvRSIHTFk7rX/+pihFFIIBvlJG/ogyv55PhbZ7X9HpBAMxqKUzt9riQPoh213hr6efn3TV5p/miKYD9b7/eSoN3IrVufJ5tP5Ins9rL9L+s5WzRXdwsbWWHtUQjRwuDCfaiQk7JmObxds4b99l5KGaJjX+j521GD8316MEWtng= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SL5YsZGY; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SL5YsZGY" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 33874C19422; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983154; bh=LNmSWvrmYEvwc5/0R8qM1p9eFHpDqPi8HlfpUD0lJgg=; h=Date:From:To:Cc:Subject:References:From; b=SL5YsZGYGhqrSJtpuiYG3HXdT1fcxNq6RrQ8yudschi4Q3Bv6cW1BiRXm41hMLvcw 0VWNbjNQrfyRDuPHEnIBjnYxzrf4tCVSHA0gjKX/ZG3I08WA5soF9ym559si9SJzhm 1RvOXgdl+5CQj83PjZPmtf7ziF7C675W87X0EHpFygKxiU+7U7Ru5p2cxqjC3GRcue LaGVV34CQo0bV5dm8ETKLZFlbXCnjezysL0JFBXCPc7rI9VVuxoJ3cfuTNqnzMXAou Gvx30bcFrnB4ZsIcP5DvzhREYw6WCOrzfN73HGBSOrwPKZ/sWe0KLHY8eGfN1HbeS3 BNRNSNM6WWBlQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009Vqu-3T24; Fri, 05 Dec 2025 20:07:02 -0500 Message-ID: <20251206010702.676651216@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:45 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 12/15] tracing: Fix multiple typos in trace_events_user.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "ambigious" -> "ambiguous" "explictly" -> "explicitly" "Uknown" -> "Unknown" Link: https://patch.msgid.link/20251121221835.28032-12-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_events_user.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/kernel/trace/trace_events_user.c b/kernel/trace/trace_events_u= ser.c index b15854c75d4f..dca6e50b3b21 100644 --- a/kernel/trace/trace_events_user.c +++ b/kernel/trace/trace_events_user.c @@ -1041,7 +1041,7 @@ static int user_field_array_size(const char *type) =20 static int user_field_size(const char *type) { - /* long is not allowed from a user, since it's ambigious in size */ + /* long is not allowed from a user, since it's ambiguous in size */ if (strcmp(type, "s64") =3D=3D 0) return sizeof(s64); if (strcmp(type, "u64") =3D=3D 0) @@ -1079,7 +1079,7 @@ static int user_field_size(const char *type) if (str_has_prefix(type, "__rel_loc ")) return sizeof(u32); =20 - /* Uknown basic type, error */ + /* Unknown basic type, error */ return -EINVAL; } =20 @@ -2465,7 +2465,7 @@ static long user_events_ioctl_reg(struct user_event_f= ile_info *info, /* * Prevent users from using the same address and bit multiple times * within the same mm address space. This can cause unexpected behavior - * for user processes that is far easier to debug if this is explictly + * for user processes that is far easier to debug if this is explicitly * an error upon registering. */ if (current_user_event_enabler_exists((unsigned long)reg.enable_addr, --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6EFE72690D5 for ; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=lJJQVB/J/zaOll5Htwo8zUmlJ5TCs8JVTsrjFUvMJU/4VGRcgqo8vf6I/Kr4OCUbw/xDQX/yHfgRSNgj6G49nszW3q73lce4sDOyOuF94n4+UWd1HlbCaFibZJTfqa1hcBunczSbkfl9+03YbqiYZP+60lB+KSTe8mP0qk5nDxU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=WwDJEk4pOLd7eHgWtCdC//erx+k4vbqqrkh//Xu/PEI=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=Pqc43JjkgrGIS50rChAdeXWBrqyu29ebKo7xrScniYBAlPWNBMiAyXmHlk6vhFSDx+JJM7K4jT49HL1Rn3j9K5jSHgrhhD1CKsORsDl6E4tQx9FEu4qlGvFX2wWi9BNUD1DyLQRVwsctjqeM+Rh1EWbxh5+GE91R7OpdzwJt9+M= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=u5LcFBbp; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="u5LcFBbp" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5191CC4CEF1; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983154; bh=WwDJEk4pOLd7eHgWtCdC//erx+k4vbqqrkh//Xu/PEI=; h=Date:From:To:Cc:Subject:References:From; b=u5LcFBbpaCf5t1uhLl+eqUIlf5NTGaFIMRv9xFjc0L1YmseE6medFvWCPOX4Ys7S/ J8nsDD4zMBVQflVreCrqnlD5NPMVGPIXUnWRSfYe+rlAomCrCVwIk68c//oEQVEZxY /sz05St3/YKS7howWQ1Yqo+QONtgzwLK1+B0VnBfrkfjthDjeNuBhA2+M8vxx2VCgF 2XueGb+5RQErxjnRwAOWfvLu4WHJcjKHFxQlua4zZq6FLiPZrFY9wkUpi6ogZ7ro4W c0dZwYyQ/sJL3LBbTpCSO5Y6QZ1KZz8j5ThAEgokiVtUOmDoNXv470H7TL3pfbzwJv ubIgEfCk08PHw== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglK-00000009VrP-4BZr; Fri, 05 Dec 2025 20:07:03 -0500 Message-ID: <20251206010702.847850205@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:46 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 13/15] tracing: Fix multiple typos in trace_osnoise.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix multiple typos in comments: "Anotate" -> "Annotate" "infor" -> "info" "timestemp" -> "timestamp" "tread" -> "thread" "varaibles" -> "variables" "wast" -> "waste" Link: https://patch.msgid.link/20251121221835.28032-13-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_osnoise.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/kernel/trace/trace_osnoise.c b/kernel/trace/trace_osnoise.c index a9962d4497e8..827104d00bc0 100644 --- a/kernel/trace/trace_osnoise.c +++ b/kernel/trace/trace_osnoise.c @@ -329,7 +329,7 @@ static struct osnoise_data { u64 print_stack; /* print IRQ stack if total > */ int timerlat_tracer; /* timerlat tracer */ #endif - bool tainted; /* infor users and developers about a problem */ + bool tainted; /* info users and developers about a problem */ } osnoise_data =3D { .sample_period =3D DEFAULT_SAMPLE_PERIOD, .sample_runtime =3D DEFAULT_SAMPLE_RUNTIME, @@ -738,7 +738,7 @@ cond_move_thread_delta_start(struct osnoise_variables *= osn_var, u64 duration) /* * get_int_safe_duration - Get the duration of a window * - * The irq, softirq and thread varaibles need to have its duration without + * The irq, softirq and thread variables need to have its duration without * the interference from higher priority interrupts. Instead of keeping a * variable to discount the interrupt interference from these variables, t= he * starting time of these variables are pushed forward with the interrupt's @@ -1460,7 +1460,7 @@ static int run_osnoise(void) stop_in =3D osnoise_data.stop_tracing * NSEC_PER_USEC; =20 /* - * Start timestemp + * Start timestamp */ start =3D time_get(); =20 @@ -1881,7 +1881,7 @@ static int timerlat_main(void *data) tlat->kthread =3D current; osn_var->pid =3D current->pid; /* - * Anotate the arrival time. + * Annotate the arrival time. */ tlat->abs_period =3D hrtimer_cb_get_time(&tlat->timer); =20 @@ -1978,7 +1978,7 @@ static void stop_per_cpu_kthreads(void) } =20 /* - * start_kthread - Start a workload tread + * start_kthread - Start a workload thread */ static int start_kthread(unsigned int cpu) { @@ -2705,7 +2705,7 @@ static int osnoise_create_cpu_timerlat_fd(struct dent= ry *top_dir) * Why not using tracing instance per_cpu/ dir? * * Because osnoise/timerlat have a single workload, having - * multiple files like these are wast of memory. + * multiple files like these are waste of memory. */ per_cpu =3D tracefs_create_dir("per_cpu", top_dir); if (!per_cpu) --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id DA76C274659 for ; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=s9/ySnYjBjZe4+e/W1zRTzTX21w+iT2ZoF2zZzg2yDzVDOGtzMk3HjWfN1FAAM5sa/uQHxqfdOcodMGYGP7vE3jmGPzJDz7u9fxB6abSeYBYICAa9RiTzmWOIbyyO9gqLH9cUcp50E9gMx8KBMo/j+9szGPbPvFyuRoTi6y6k4M= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=X0ehcG2ldR2eWlktUOm2Tlt87b4k6Qr3zWhoAsQBUZo=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=KV3y1b9HQw9BSdoOvj0+zYZvU+cpjtdWtWzyvZMm6MLHvobTQU+w8vWovND1PR+4r/PeZG+y+YaGCbmlNlhdD402CYLRr4Bkk76zM8/2FNZ16kPskUD+w4tSsO0zal/47rxsqxDo4zGjii2qSBh3ekn/RkhgR1Jc02OdbPe1tkY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=FfWSFO9/; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="FfWSFO9/" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7D8B6C116B1; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983154; bh=X0ehcG2ldR2eWlktUOm2Tlt87b4k6Qr3zWhoAsQBUZo=; h=Date:From:To:Cc:Subject:References:From; b=FfWSFO9/D+gmYKiRjF5jslf5W9Kio0l+V2c8IpBKxyVt4S2AfECxlqPxilq24+l80 jhpe43x6tVSAo7Q7yjhIZLnXZfuH3dfToFNBVL/cAwD2cRYuDkvEUf8nxO+59Z7bzK X0LidNTJj8K9luV3siLnrvGii9RyI7R65JPd5zc+eZsciliwm4qaPOObIIkrd7Ur4j d5iCtdzCLV8XPbKd+8itiIyDZ0Iq9Z88e/r54Gy5wYlPkQnor+0bY+iQIESafiKkvO LO0Q31kRid1HVwnVfIt4aDv49zptgGEyuSrlFhRdxxmUpgwJCdld1UyykRdBEEBm4/ l10rbKg+4LbmQ== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglL-00000009Vru-0hti; Fri, 05 Dec 2025 20:07:03 -0500 Message-ID: <20251206010703.018466045@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:47 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 14/15] tracing: Fix typo in trace_probe.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "separater" to "separator". Link: https://patch.msgid.link/20251121221835.28032-14-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_probe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_probe.c b/kernel/trace/trace_probe.c index 5cbdc423afeb..abf7cf2b6b65 100644 --- a/kernel/trace/trace_probe.c +++ b/kernel/trace/trace_probe.c @@ -516,7 +516,7 @@ static void clear_btf_context(struct traceprobe_parse_c= ontext *ctx) } } =20 -/* Return 1 if the field separater is arrow operator ('->') */ +/* Return 1 if the field separator is arrow operator ('->') */ static int split_next_field(char *varname, char **next_field, struct traceprobe_parse_context *ctx) { --=20 2.51.0 From nobody Fri Dec 19 13:15:41 2025 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D3CB2231A55 for ; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; cv=none; b=RvUg6YVghjNXFAAUTmk7Y25OrwZiHt6FfrRuy3N5V1vEPEtjIx8IHe1HFAjc3I//f9lhjP/E+ZJ7+UqamCWypo9ApQcinhu+WLzcJMKlfjTLR6Sk4rQBkCQsyilbNnTpDVrSjXyyT0X9PQx5ZgcFQYN3aox2bvMc7oygKYdQDXQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1764983154; c=relaxed/simple; bh=uhCdqE2iQIzoN2uGeL5TzRbkUTef9/oT8hES3b+UFzA=; h=Message-ID:Date:From:To:Cc:Subject:References:MIME-Version: Content-Type; b=FMx61MN7jwr8AWpDXdr3DKJuvuMaiOppgo/oGZyTcBKVhmdyAjbDFnufHbX6oWf5pPJPFD3fPqaSZK8u1LiupA57R/nIFRZqaEVN81Oxf/ti8WCReb+TTiv2rftRNHaBikImFqqUT3C5SSYKRdi5XOpOA0B1PTGkmNHo4mkY/7w= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=jwEGS7YB; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="jwEGS7YB" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B7E0CC116C6; Sat, 6 Dec 2025 01:05:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1764983154; bh=uhCdqE2iQIzoN2uGeL5TzRbkUTef9/oT8hES3b+UFzA=; h=Date:From:To:Cc:Subject:References:From; b=jwEGS7YB8FVRufktR+7okXw1DJoZ8PSaHumYXPKKXWlewifBtPEfcHtA8AAO6ZOoy r2EqqUqXC9lynXkbQ0k1IkZscYPILyZ87J/KBpgFFnYrQHMpTn3wEqT0phUQeZB3rD LsHXrxvI5hQdnjrQot4LDBjvCdXW88szyH0eouq0seDBvEX/03cNV2kx7j3aL6DTUL C6gd6zptkKXO32nhsnV/t5Z/Xz3xaZSJ//ggqML6x6Kn98X9JKT5RxUHPioVbRuh4n qGr6tzYLH/vBfjhAxaGLhq9w4/L7+TZe1Gk8jJJVOhErQrq1ngsZrJYyjymgGulhQm PAElUaNtvti6w== Received: from rostedt by gandalf with local (Exim 4.98.2) (envelope-from ) id 1vRglL-00000009VsO-1Rbt; Fri, 05 Dec 2025 20:07:03 -0500 Message-ID: <20251206010703.189597663@kernel.org> User-Agent: quilt/0.68 Date: Fri, 05 Dec 2025 20:06:48 -0500 From: Steven Rostedt To: linux-kernel@vger.kernel.org Cc: Masami Hiramatsu , Mark Rutland , Mathieu Desnoyers , Andrew Morton , Maurice Hieronymus Subject: [for-linus][PATCH 15/15] tracing: Fix typo in trace_seq.c References: <20251206010633.884804695@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: Maurice Hieronymus Fix typo "wont" to "won't". Link: https://patch.msgid.link/20251121221835.28032-15-mhi@mailbox.org Signed-off-by: Maurice Hieronymus Signed-off-by: Steven Rostedt (Google) --- kernel/trace/trace_seq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kernel/trace/trace_seq.c b/kernel/trace/trace_seq.c index c158d65a8a88..32684ef4fb9d 100644 --- a/kernel/trace/trace_seq.c +++ b/kernel/trace/trace_seq.c @@ -15,7 +15,7 @@ *=20 * A write to the buffer will either succeed or fail. That is, unlike * sprintf() there will not be a partial write (well it may write into - * the buffer but it wont update the pointers). This allows users to + * the buffer but it won't update the pointers). This allows users to * try to write something into the trace_seq buffer and if it fails * they can flush it and try again. * --=20 2.51.0