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. http://marc.info/?l=linux-kernel&m=142436891806015 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 majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/