[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1105241610390.24062@cl320.eecs.utk.edu>
Date: Tue, 24 May 2011 16:12:49 -0400 (EDT)
From: Vince Weaver <vweaver1@...s.utk.edu>
To: Ingo Molnar <mingo@...e.hu>
cc: Peter Zijlstra <a.p.zijlstra@...llo.nl>,
linux-kernel@...r.kernel.org, paulus@...ba.org, acme@...hat.com
Subject: Re: 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@...s.utk.edu
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists