On 20 October 2015 at 03:34, Alexander Shishkin
wrote:
> Mathieu Poirier writes:
>
>> +static void *etm_setup_aux(struct perf_event *event, void **pages,
>> +int nr_pages, bool overwrite)
>> +{
>> + int cpu;
>> + cpumask_t *mask;
>> + struct etm_event_data *eve
On 19 October 2015 at 09:37, Alexander Shishkin
wrote:
> Mathieu Poirier writes:
>
>> +static int etm_event_pmu_start(struct perf_event *event)
>> +{
>> + int cpu, ret;
>> + cpumask_t mask;
>> + struct coresight_device *csdev;
>> +
>> + cpumask_clear(&mask);
>> + if (event->cp
Mathieu Poirier writes:
> +static void *etm_setup_aux(struct perf_event *event, void **pages,
> +int nr_pages, bool overwrite)
> +{
> + int cpu;
> + cpumask_t *mask;
> + struct etm_event_data *event_data = NULL;
> + struct coresight_device *csdev;
> +
> +
Mathieu Poirier writes:
> +static int etm_event_pmu_start(struct perf_event *event)
> +{
> + int cpu, ret;
> + cpumask_t mask;
> + struct coresight_device *csdev;
> +
> + cpumask_clear(&mask);
> + if (event->cpu != -1)
> + cpumask_set_cpu(event->cpu, &mask);
> +
Perf is a well known and used tool for performance monitoring
and much more. A such it is an ideal condaditate for integration
with coresight based HW tracing.
This patch introduces a PMU that represent a coresight tracer to
the Perf core.
Signed-off-by: Mathieu Poirier
---
drivers/hwtracing/co
5 matches
Mail list logo