Re: [PATCH] clocksource/arm_arch_timer: mark arch_timer_read_counter() as notrace to avoid deadloop

2019-06-11 Thread Marc Zyngier
Hi Wei, On 11/06/2019 16:21, Wei Li wrote: > According to arch_counter_register(), mark arch_counter_get_*() what > arch_timer_read_counter() can be as notrace to avoid deadloop when using > function_graph tracer. > > 0x80028af23250 0x10195e00 sched_clock+64 > 0x80028af23290 0xf

[PATCH] clocksource/arm_arch_timer: mark arch_timer_read_counter() as notrace to avoid deadloop

2019-06-11 Thread Wei Li
According to arch_counter_register(), mark arch_counter_get_*() what arch_timer_read_counter() can be as notrace to avoid deadloop when using function_graph tracer. 0x80028af23250 0x10195e00 sched_clock+64 0x80028af23290 0x101e83ec trace_clock_local+12 0x80028af232a0