Messages in this thread | | | Date | Tue, 7 Oct 2014 11:17:12 -0300 | From | Arnaldo Carvalho de Melo <> | Subject | Re: [PATCH 1/1] rasd: Use perf_evlist__open() instead of open coded |
| |
Em Tue, Oct 07, 2014 at 04:04:33PM +0200, Borislav Petkov escreveu: > On Tue, Oct 07, 2014 at 10:32:36AM -0300, Arnaldo Carvalho de Melo wrote: > > Hopefully we will completely remove the need to set up any thread or cpu > > map, as what you want is syswide tracing, right?
> Yeah, I was questioning the need to open at least one thread even for > system-wide tracing.
Right, evsel/evlist evolved out of tons of refactoring steps moving stuff out of open coded tools (record, report, top) while trying to make it work for those tools, sometimes this resulted in sub-optimal defaults (or plain bugs) like needing a thread_map and/or a cpu_map to do syswide tracing, need to get that clarified and sorted out.
- Arnaldo
> See, source libraries are the new great thing for collaborative > development - f*ck "cloud"!
> :-D
:-)
- Arnaldo
| |