Re: [PATCH V2 1/2] perf: Sample additional clock value
From: Adrian Hunter
Date: Mon Feb 23 2015 - 02:31:58 EST
On 20/02/15 19:06, David Ahern wrote:
> On 2/20/15 5:44 AM, Adrian Hunter wrote:
>> diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
>> index efe2d2d..9385140 100644
>> --- a/include/linux/perf_event.h
>> +++ b/include/linux/perf_event.h
>> @@ -655,7 +655,7 @@ extern void perf_pmu_migrate_context(struct pmu *pmu,
>> int src_cpu, int dst_cpu);
>> extern u64 perf_event_read_value(struct perf_event *event,
>> u64 *enabled, u64 *running);
>> +u64 perf_sample_clock_pt(void);
> Core functions should not be arch specific. PT == x86.
Actually it was one of the ARM guys that asked for it to be called
"Processor Trace". It was "arch" in V1.
But it has been superseded completely by patches from Peter, so it
is not going further anyway.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/