Messages in this thread |  | | Date | Mon, 30 Jan 2012 13:30:40 -0200 | | From | Arnaldo Carvalho de Melo <> | | Subject | Re: perf: prctl(PR_TASK_PERF_EVENTS_DISABLE) has no effect |
| |
Em Mon, Jan 30, 2012 at 02:45:07PM +0100, Peter Zijlstra escreveu: > On Mon, 2012-01-30 at 12:31 +0100, Ingo Molnar wrote: > > * Peter Zijlstra <a.p.zijlstra@chello.nl> wrote: > > > On Mon, 2012-01-30 at 11:11 +0100, Ingo Molnar wrote: > > > > So, what workflow are you suggesting to Andrew? > > > Librarize perf record, then in your code do something like: > > > #include "perf_record.h"
> > Maybe. (and then it shouldnt be limited to perf_record.h but > > should be events.h plus libevents.so or such)
> Yes it should be, you want to reserve the more generic name for less > narrow interfaces.
Agreed.
- Arnaldo
|  |