mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 22:52:35 +02:00
Revert "perf: Handle stopped state with tracepoints"
This reverts commit6f197b7330, which was originally commita0f7d0f7fcupstream. This breaks the build, thanks to Jiri Slaby for pointing this out. Reported-by: Jiri Slaby <jslaby@suse.cz> Cc: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
da1785bfc8
commit
2ce87b8698
|
|
@ -4167,8 +4167,6 @@ static void tp_perf_event_destroy(struct perf_event *event)
|
|||
|
||||
static const struct pmu *tp_perf_event_init(struct perf_event *event)
|
||||
{
|
||||
if (event->hw.state & PERF_HES_STOPPED)
|
||||
return 0;
|
||||
/*
|
||||
* Raw tracepoint data is a severe data leak, only allow root to
|
||||
* have these.
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user