All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dominik Maier <dmnk@google.com>
To: Peter Zijlstra <peterz@infradead.org>
Cc: Dominik Maier <dmnk@google.com>, Ingo Molnar <mingo@redhat.com>,
	 Arnaldo Carvalho de Melo <acme@kernel.org>,
	Namhyung Kim <namhyung@kernel.org>,
	 Mark Rutland <mark.rutland@arm.com>,
	Steven Rostedt <rostedt@goodmis.org>,
	 Masami Hiramatsu <mhiramat@kernel.org>,
	linux-perf-users@vger.kernel.org,
	 linux-trace-kernel@vger.kernel.org, dmnk+artist@google.com
Subject: Re: [PATCH v2] perf/core: check perf_allow_kernel() in PERF_EVENT_IOC_SET_FILTER
Date: Mon, 30 Nov 2026 17:04:16 +0100	[thread overview]
Message-ID: <20261130160416.2641921-1-dmnk@google.com> (raw)
In-Reply-To: <20261126154041.GJ49833@noisy.programming.kicks-ass.net>

On Thu, Nov 26, 2026 at 04:40:41PM +0100, Peter Zijlstra wrote:
> Does this want a Fixes tag? Or should I stick this in perf/core for the
> next cycle?

Putting it in perf/core for the next cycle sounds right to me. Counting
tracepoints intentionally skip perf_allow_tracepoint() when
PERF_SAMPLE_RAW is unset, so tightening PERF_EVENT_IOC_SET_FILTER under
perf_event_paranoid >= 2 changes long-standing behavior enough that
soaking it in -next rather than backporting via Fixes seems safer.

Best
Dominik

      reply	other threads:[~2026-11-30 16:04 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 18:06 [PATCH v2] perf/core: check perf_allow_kernel() in PERF_EVENT_IOC_SET_FILTER Dominik Maier
2026-11-24 18:11 ` sashiko-bot
2026-11-26 15:40 ` Peter Zijlstra
2026-11-30 16:04   ` Dominik Maier [this message]

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=20261130160416.2641921-1-dmnk@google.com \
    --to=dmnk@google.com \
    --cc=acme@kernel.org \
    --cc=dmnk+artist@google.com \
    --cc=linux-perf-users@vger.kernel.org \
    --cc=linux-trace-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=mhiramat@kernel.org \
    --cc=mingo@redhat.com \
    --cc=namhyung@kernel.org \
    --cc=peterz@infradead.org \
    --cc=rostedt@goodmis.org \
    /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 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.