summaryrefslogtreecommitdiff
path: root/drivers/net/can/usb
diff options
context:
space:
mode:
authorDaniel Bristot de Oliveira <bristot@kernel.org>2022-02-21 01:49:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-04-27 14:15:29 +0300
commitb45bda0c859053132fc4e9ad3650ab567c3f59a1 (patch)
treee5e3a08d06600de38b0ef88181d6746f66aa6fb2 /drivers/net/can/usb
parent34a11aff5505636bc6b43bcfada7ae0a1adbb9bd (diff)
downloadlinux-b45bda0c859053132fc4e9ad3650ab567c3f59a1.tar.xz
tracing: Dump stacktrace trigger to the corresponding instance
commit ce33c845b030c9cf768370c951bc699470b09fa7 upstream. The stacktrace event trigger is not dumping the stacktrace to the instance where it was enabled, but to the global "instance." Use the private_data, pointing to the trigger file, to figure out the corresponding trace instance, and use it in the trigger action, like snapshot_trigger does. Link: https://lkml.kernel.org/r/afbb0b4f18ba92c276865bc97204d438473f4ebc.1645396236.git.bristot@kernel.org Cc: stable@vger.kernel.org Fixes: ae63b31e4d0e2 ("tracing: Separate out trace events from global variables") Reviewed-by: Tom Zanussi <zanussi@kernel.org> Tested-by: Tom Zanussi <zanussi@kernel.org> Signed-off-by: Daniel Bristot de Oliveira <bristot@kernel.org> Signed-off-by: Steven Rostedt (Google) <rostedt@goodmis.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/net/can/usb')
0 files changed, 0 insertions, 0 deletions