[RESEND][PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-06 Thread Mathieu Poirier
Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c | 56 +++

[RESEND][PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-06 Thread Mathieu Poirier
Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c | 56 +++ tools/perf/arch/arm/util/cs-etm.h | 3 +++

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-01 Thread Mathieu Poirier
On 1 September 2016 at 03:04, Suzuki K Poulose wrote: > On 31/08/16 15:14, Mathieu Poirier wrote: >> >> On 31 August 2016 at 03:37, Suzuki K Poulose >> wrote: >>> >>> On 30/08/16 17:19, Mathieu Poirier wrote: Using the

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-01 Thread Mathieu Poirier
On 1 September 2016 at 03:04, Suzuki K Poulose wrote: > On 31/08/16 15:14, Mathieu Poirier wrote: >> >> On 31 August 2016 at 03:37, Suzuki K Poulose >> wrote: >>> >>> On 30/08/16 17:19, Mathieu Poirier wrote: Using the PMU::set_drv_config() callback to enable the CoreSight

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-01 Thread Suzuki K Poulose
On 31/08/16 15:14, Mathieu Poirier wrote: On 31 August 2016 at 03:37, Suzuki K Poulose wrote: On 30/08/16 17:19, Mathieu Poirier wrote: Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. +int

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-09-01 Thread Suzuki K Poulose
On 31/08/16 15:14, Mathieu Poirier wrote: On 31 August 2016 at 03:37, Suzuki K Poulose wrote: On 30/08/16 17:19, Mathieu Poirier wrote: Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. +int cs_etm_set_drv_config(struct

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-31 Thread Mathieu Poirier
On 31 August 2016 at 03:37, Suzuki K Poulose wrote: > On 30/08/16 17:19, Mathieu Poirier wrote: >> >> Using the PMU::set_drv_config() callback to enable the CoreSight >> sink that will be used for the trace session. > > >> +int cs_etm_set_drv_config(struct

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-31 Thread Mathieu Poirier
On 31 August 2016 at 03:37, Suzuki K Poulose wrote: > On 30/08/16 17:19, Mathieu Poirier wrote: >> >> Using the PMU::set_drv_config() callback to enable the CoreSight >> sink that will be used for the trace session. > > >> +int cs_etm_set_drv_config(struct perf_evsel_config_term *term) >> +{ >> +

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-31 Thread Suzuki K Poulose
On 30/08/16 17:19, Mathieu Poirier wrote: Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. +int cs_etm_set_drv_config(struct perf_evsel_config_term *term) +{ + int ret; + char enable_sink[ENABLE_SINK_MAX]; + +

Re: [PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-31 Thread Suzuki K Poulose
On 30/08/16 17:19, Mathieu Poirier wrote: Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. +int cs_etm_set_drv_config(struct perf_evsel_config_term *term) +{ + int ret; + char enable_sink[ENABLE_SINK_MAX]; + +

[PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-30 Thread Mathieu Poirier
Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c | 56 +++

[PATCH V7 5/5] perf tools: adding sink configuration for cs_etm PMU

2016-08-30 Thread Mathieu Poirier
Using the PMU::set_drv_config() callback to enable the CoreSight sink that will be used for the trace session. Signed-off-by: Mathieu Poirier Acked-by: Jiri Olsa --- tools/perf/arch/arm/util/cs-etm.c | 56 +++ tools/perf/arch/arm/util/cs-etm.h | 3 +++