stm class: ftrace: Use different channel accroding to CPU
authorTingwei Zhang <tingwei@codeaurora.org>
Mon, 5 Oct 2020 07:13:17 +0000 (10:13 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 5 Oct 2020 10:43:54 +0000 (12:43 +0200)
commitb8f8534b10b6ee3cec5e49682d7e0c4796cdccea
treef8fac11b8074f33f6dae56ba7fbbc12c8f2923a4
parente8ecea3017385858be0ba5640b3b364586743c6b
stm class: ftrace: Use different channel accroding to CPU

To avoid mixup of packets from differnt ftrace packets simultaneously,
use different channel for packets from different CPU.

Reviewed-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Signed-off-by: Tingwei Zhang <tingwei@codeaurora.org>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Link: https://lore.kernel.org/r/20201005071319.78508-7-alexander.shishkin@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/stm/ftrace.c