lkml.org 
[lkml]   [2009]   [Nov]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject[PATCH 1/6] perf/core: Provide a kernel-internal interface to get to performance counters
Frederic Weisbecker writes:

> /*
> + * perf_event_create_kernel_counter
> + * MUST be called from a kernel thread.

Why? The reason for this requirement isn't obvious to me. It would
be good to have the reason documented in the comment for the sake of
people modifying the code in future.

Paul.


\
 
 \ /
  Last update: 2009-11-02 05:49    [W:0.738 / U:0.284 seconds]
©2003-2014 Jasper Spaans. Advertise on this site