Commit 2ce87b86 authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman

Revert "perf: Handle stopped state with tracepoints"

This reverts commit 6f197b73, which was
originally commit a0f7d0f7 upstream.

This breaks the build, thanks to Jiri Slaby for pointing this out.
Reported-by: default avatarJiri Slaby <jslaby@suse.cz>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent da1785bf
......@@ -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.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment