/[linux-patches]/genpatches-2.6/tags/2.6.32-47/1034_linux-2.6.32.35.patch
Gentoo

Contents of /genpatches-2.6/tags/2.6.32-47/1034_linux-2.6.32.35.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2037 - (show annotations) (download)
Wed Dec 28 14:38:55 2011 UTC (6 years, 8 months ago) by psomas
File size: 439 byte(s)
2.6.32-47 release
1 diff --git a/kernel/perf_event.c b/kernel/perf_event.c
2 index f9af60f..183d437 100644
3 --- a/kernel/perf_event.c
4 +++ b/kernel/perf_event.c
5 @@ -4167,8 +4167,6 @@ static void tp_perf_event_destroy(struct perf_event *event)
6
7 static const struct pmu *tp_perf_event_init(struct perf_event *event)
8 {
9 - if (event->hw.state & PERF_HES_STOPPED)
10 - return 0;
11 /*
12 * Raw tracepoint data is a severe data leak, only allow root to
13 * have these.

  ViewVC Help
Powered by ViewVC 1.1.20