lkml.org 
[lkml]   [2011]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: perf: regression -- missing /sys/devices/system/cpu/perf_events
On Tue, 24 May 2011, Ingo Molnar wrote:
>
> So, what is wrong with the method Peter suggested: the presence of the perf
> syscall (it not returning -ENOSYS) is bona fide evidence that perf is
> available.

it's just hard to do that from a shell script.

also, running the perf syscall can be tricky if you have a new kernel but
an older set of header files that doesn't have the syscall number defined.

Vince
vweaver1@eecs.utk.edu


\
 
 \ /
  Last update: 2011-05-24 22:15    [from the cache]
©2003-2011 Jasper Spaans