[PATCH RFC] arm64/ftrace: Define a new arm64 trace clock source based on cntpct_el0 register.

Amit Tomer amittomer25 at gmail.com
Wed Oct 21 08:37:04 PDT 2015


Thank you for looking into it and providing your comments.


>> +       [local] global counter x86-tsc arm64-pct
>
> You don't need to update this line. You can't have both x86-tsc and
> arm64-pct at the same time.

  Ok, I understand. But is there a nice way to put it, something like
x86-tsc/arm64-pct/... ?

> Why is this a define and not a static inline?

There is no specific reason to it . I would change it to static inline.

Thanks,
-Amit



More information about the linux-arm-kernel mailing list