If the task happens to run after cpu hot-plug offline, then it would not
be running in a percpu_thread. Instead, it would be re-queued into a
UNBOUND workqueue. This would trigger a warning if we enable kernel
preemption.
Signed-off-by: Andy Chiu
---
kernel/trace/trace_hwlat.c | 11 ++-
smp_processor_id() should be called with migration disabled. This mean
we may safely call smp_processor_id() in percpu thread. However, this is
not the case if the work is (re-)queued into unbound workqueue, during
cpu-hotplog. So, detect and return early if this work happens to run on
an unbound w
Hi Steven,
I have a tracepoint in AF_RXRPC that displays information about a timeout I'm
going to set. I have the timeout in a ktime_t as an absolute time. Is there
a way to display this in the trace output such that it looks like a trace
timestamp and can be (roughly) correlated with the displa