thunderbolt: Add trace events support for the control channel
authorGil Fine <gil.fine@linux.intel.com>
Sun, 12 Feb 2023 22:45:21 +0000 (00:45 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 26 Feb 2024 07:12:24 +0000 (09:12 +0200)
commita0c45b0b6ce23bc1cd6737ecd34df6c4a422a3ae
tree87768687e53ca396c83b9c2c136ec393802a0332
parenta75e0684efe567ae5f6a8e91a8360c4c1773cf3a
thunderbolt: Add trace events support for the control channel

Sometimes it is useful to see the traffic happening inside the control
channel, especially when debugging a possible problem. This adds
tracepoints close to the hardware which can be enabled dynamically as
needed using the standard Linux trace events facility.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Co-developed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/Makefile
drivers/thunderbolt/ctl.c
drivers/thunderbolt/ctl.h
drivers/thunderbolt/domain.c
drivers/thunderbolt/trace.h [new file with mode: 0644]