]> git.baikalelectronics.ru Git - kernel.git/commit
platform/surface: aggregator: Add trace points
authorMaximilian Luz <luzmaximilian@gmail.com>
Mon, 21 Dec 2020 18:39:54 +0000 (19:39 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 6 Jan 2021 23:06:17 +0000 (00:06 +0100)
commiteb9b2fa1bc21791ef0c66fc69fe03b7af1a43282
treec8ba1a175c47fabab387bbb3aa435c85664bf612
parent42a76ff66a9183051808ffd9995e376d87996f6f
platform/surface: aggregator: Add trace points

Add trace points to the Surface Aggregator subsystem core. These trace
points can be used to track packets, requests, and allocations. They are
further intended for debugging and testing/validation, specifically in
combination with the error injection capabilities introduced in the
subsequent commit.

Signed-off-by: Maximilian Luz <luzmaximilian@gmail.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Steven Rostedt (VMware) <rostedt@goodmis.org>
Link: https://lore.kernel.org/r/20201221183959.1186143-5-luzmaximilian@gmail.com
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
drivers/platform/surface/aggregator/Makefile
drivers/platform/surface/aggregator/controller.c
drivers/platform/surface/aggregator/core.c
drivers/platform/surface/aggregator/ssh_packet_layer.c
drivers/platform/surface/aggregator/ssh_request_layer.c
drivers/platform/surface/aggregator/trace.h [new file with mode: 0644]