Linux Trace Kernel
 help / color / mirror / Atom feed
From: sashiko-bot@kernel.org
To: "Masami Hiramatsu (Google)" <mhiramat@kernel.org>
Cc: linux-trace-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org
Subject: Re: [PATCH v21 05/11] x86: hw_breakpoint: Add a kconfig to clarify when a breakpoint fires
Date: Tue, 01 Dec 2026 14:21:35 +0000	[thread overview]
Message-ID: <sashiko-outbox-243468@kernel.org> (raw)
In-Reply-To: <20261130020252.32126-6-mhiramat@kernel.org>

Thank you for your contribution! Sashiko AI review found 1 potential
issue to consider:
- [Low] tracing/wprobe: commit message omits WPROBE_EVENTS dependency
  rationale
--

commit 91984307300410f59e3d93b2096ceabba8f94e97
Author: Masami Hiramatsu (Google) <mhiramat@kernel.org>

> x86: hw_breakpoint: Add a kconfig to clarify when a breakpoint fires
>
> Add CONFIG_HAVE_POST_BREAKPOINT_HOOK which indicates the hw_breakpoint
> on that architecture fires after the target memory has been modified.
> This is currently x86 only behavior.
>
> Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
> Reviewed-by: Jinchao Wang <wangjinchao600@gmail.com>

[Severity: Low]
This isn't a bug, but the commit message does not mention the
WPROBE_EVENTS dependency change in kernel/trace/Kconfig or explain why
WPROBE_EVENTS requires CONFIG_HAVE_POST_BREAKPOINT_HOOK (that watchpoint
probes read the updated memory value from the breakpoint overflow
handler).

-- 
Sashiko AI review · https://sashiko.dev/#/patchset/20261130020252.32126-1-mhiramat@kernel.org?part=5

  reply	other threads:[~2026-12-01 14:21 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-30  2:02 [PATCH v21 00/11] tracing: wprobe: x86: Add wprobe for watchpoint Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 01/11] x86/hw_breakpoints: Add arch_modify_local_hw_breakpoint_addr() API Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 02/11] HWBP: Add modify_local_hw_breakpoint_addr() API Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 03/11] perf/hw_breakpoint: Add register_wide_hw_breakpoint_cpuslocked() API Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 04/11] tracing/wprobe: Add wprobe (watchpoint probe) trace event support Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 05/11] x86: hw_breakpoint: Add a kconfig to clarify when a breakpoint fires Masami Hiramatsu (Google)
2026-12-01 14:21   ` sashiko-bot [this message]
2026-11-30  2:02 ` [PATCH v21 06/11] selftests: tracing: Add a basic testcase for wprobe Masami Hiramatsu (Google)
2026-11-30  2:02 ` [PATCH v21 07/11] selftests: tracing: Add syntax " Masami Hiramatsu (Google)
2026-11-30  2:03 ` [PATCH v21 08/11] tracing/wprobe: Add set_wprobe and clear_wprobe event triggers Masami Hiramatsu (Google)
2026-12-01 14:31   ` sashiko-bot
2026-11-30  2:03 ` [PATCH v21 09/11] selftests: tracing: Add wprobe trigger testcases Masami Hiramatsu (Google)
2026-12-01 14:25   ` sashiko-bot
2026-11-30  2:03 ` [PATCH v21 10/11] tracing/wprobe: Support BTF typecast in fetchargs Masami Hiramatsu (Google)
2026-11-30  2:03 ` [PATCH v21 11/11] tracing/wprobe: Support BTF struct offset resolution in set_wprobe trigger Masami Hiramatsu (Google)

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=sashiko-outbox-243468@kernel.org \
    --to=sashiko-bot@kernel.org \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mhiramat@kernel.org \
    --cc=sashiko-reviews@lists.linux.dev \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox