* [PATCH v1] perf test x86: Fix missing __msan_unpoison
@ 2026-09-09 22:20 Ian Rogers
2026-09-09 22:29 ` sashiko-bot
2026-09-10 14:08 ` Arnaldo Carvalho de Melo
0 siblings, 2 replies; 3+ messages in thread
From: Ian Rogers @ 2026-09-09 22:20 UTC (permalink / raw)
To: Peter Zijlstra, Ingo Molnar, Arnaldo Carvalho de Melo,
Namhyung Kim, Jiri Olsa, Ian Rogers, Adrian Hunter, James Clark,
linux-perf-users, linux-kernel
__msan_unpoison may need the sanitizer header including for its
definition.
Signed-off-by: Ian Rogers <irogers@google.com>
---
tools/perf/arch/x86/tests/dwarf-unwind.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/tools/perf/arch/x86/tests/dwarf-unwind.c b/tools/perf/arch/x86/tests/dwarf-unwind.c
index 99d2b7ed016f..3c66dadcab75 100644
--- a/tools/perf/arch/x86/tests/dwarf-unwind.c
+++ b/tools/perf/arch/x86/tests/dwarf-unwind.c
@@ -8,6 +8,10 @@
#include "debug.h"
#include "tests/tests.h"
+#if defined(MEMORY_SANITIZER) && !defined(__msan_unpoison)
+# include <sanitizer/msan_interface.h>
+#endif
+
#define STACK_SIZE 8192
static int sample_ustack(struct perf_sample *sample,
--
2.55.0.1003.g10538fe699-goog
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH v1] perf test x86: Fix missing __msan_unpoison
2026-09-09 22:20 [PATCH v1] perf test x86: Fix missing __msan_unpoison Ian Rogers
@ 2026-09-09 22:29 ` sashiko-bot
2026-09-10 14:08 ` Arnaldo Carvalho de Melo
1 sibling, 0 replies; 3+ messages in thread
From: sashiko-bot @ 2026-09-09 22:29 UTC (permalink / raw)
To: Ian Rogers; +Cc: linux-perf-users
> __msan_unpoison may need the sanitizer header including for its
> definition.
>
> Signed-off-by: Ian Rogers <irogers@google.com>
Sashiko has reviewed this patch and found no issues. It looks great!
--
Sashiko AI review · https://sashiko.dev/#/patchset/20260909222048.2138387-1-irogers@google.com?part=1
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH v1] perf test x86: Fix missing __msan_unpoison
2026-09-09 22:20 [PATCH v1] perf test x86: Fix missing __msan_unpoison Ian Rogers
2026-09-09 22:29 ` sashiko-bot
@ 2026-09-10 14:08 ` Arnaldo Carvalho de Melo
1 sibling, 0 replies; 3+ messages in thread
From: Arnaldo Carvalho de Melo @ 2026-09-10 14:08 UTC (permalink / raw)
To: Ian Rogers
Cc: Peter Zijlstra, Ingo Molnar, Namhyung Kim, Jiri Olsa,
Adrian Hunter, James Clark, linux-perf-users, linux-kernel
On Wed, Sep 09, 2026 at 03:20:48PM -0700, Ian Rogers wrote:
> __msan_unpoison may need the sanitizer header including for its
> definition.
Thanks, applied to perf-tools-next, for v7.4.
- Arnaldo
> Signed-off-by: Ian Rogers <irogers@google.com>
> ---
> tools/perf/arch/x86/tests/dwarf-unwind.c | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/tools/perf/arch/x86/tests/dwarf-unwind.c b/tools/perf/arch/x86/tests/dwarf-unwind.c
> index 99d2b7ed016f..3c66dadcab75 100644
> --- a/tools/perf/arch/x86/tests/dwarf-unwind.c
> +++ b/tools/perf/arch/x86/tests/dwarf-unwind.c
> @@ -8,6 +8,10 @@
> #include "debug.h"
> #include "tests/tests.h"
>
> +#if defined(MEMORY_SANITIZER) && !defined(__msan_unpoison)
> +# include <sanitizer/msan_interface.h>
> +#endif
> +
> #define STACK_SIZE 8192
>
> static int sample_ustack(struct perf_sample *sample,
> --
> 2.55.0.1003.g10538fe699-goog
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-09-10 14:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-09-09 22:20 [PATCH v1] perf test x86: Fix missing __msan_unpoison Ian Rogers
2026-09-09 22:29 ` sashiko-bot
2026-09-10 14:08 ` Arnaldo Carvalho de Melo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.