Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-29 Thread Adrian Hunter
On 29/08/2014 6:18 p.m., Jiri Olsa wrote: On Fri, Aug 29, 2014 at 12:06:34PM -0300, Arnaldo Carvalho de Melo wrote: Em Fri, Aug 29, 2014 at 04:52:16PM +0300, Adrian Hunter escreveu: On 08/20/2014 10:48 PM, Arnaldo Carvalho de Melo wrote: But, for the current architecture, that should be just a

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-29 Thread Jiri Olsa
On Fri, Aug 29, 2014 at 12:06:34PM -0300, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 29, 2014 at 04:52:16PM +0300, Adrian Hunter escreveu: > > On 08/20/2014 10:48 PM, Arnaldo Carvalho de Melo wrote: > > > But, for the current architecture, that should be just a clarification, > > > not a require

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-29 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 29, 2014 at 04:52:16PM +0300, Adrian Hunter escreveu: > On 08/20/2014 10:48 PM, Arnaldo Carvalho de Melo wrote: > > But, for the current architecture, that should be just a clarification, > > not a requirement for this specific test. > I will keep that in mind. > > Applying! > Tha

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-29 Thread Adrian Hunter
On 08/20/2014 10:48 PM, Arnaldo Carvalho de Melo wrote: > Em Fri, Aug 15, 2014 at 10:08:36PM +0300, Adrian Hunter escreveu: >> Add a test that checks that sched_switch events and >> tracking events can be recorded for a workload using the >> evsel->system_wide and evsel->tracking flags (respectivel

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-21 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 15, 2014 at 10:08:36PM +0300, Adrian Hunter escreveu: > + * test__switch_tracking - test using sched_switch and tracking events. > + * > + * This function implements a test that checks that sched_switch events and > + * tracking events can be recorded for a workload (current process) us

Re: [PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-20 Thread Arnaldo Carvalho de Melo
Em Fri, Aug 15, 2014 at 10:08:36PM +0300, Adrian Hunter escreveu: > Add a test that checks that sched_switch events and > tracking events can be recorded for a workload using the > evsel->system_wide and evsel->tracking flags (respectively) > with other events sometimes enabled or disabled. Really

[PATCH 01/24] perf tools: Add a test for tracking with sched_switch

2014-08-15 Thread Adrian Hunter
Add a test that checks that sched_switch events and tracking events can be recorded for a workload using the evsel->system_wide and evsel->tracking flags (respectively) with other events sometimes enabled or disabled. Signed-off-by: Adrian Hunter --- tools/perf/Makefile.perf | 1 + t