diff options
| author | 2020-12-21 19:39:54 +0100 | |
|---|---|---|
| committer | 2021-01-07 00:06:17 +0100 | |
| commit | 0d21bb8560ef6bd09cab873120f940a939ad3aec (patch) | |
| tree | c8ba1a175c47fabab387bbb3aa435c85664bf612 /drivers/platform/surface/aggregator/core.c | |
| parent | platform/surface: aggregator: Add event item allocation caching (diff) | |
| download | linux-dev-0d21bb8560ef6bd09cab873120f940a939ad3aec.tar.xz linux-dev-0d21bb8560ef6bd09cab873120f940a939ad3aec.zip | |
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>
Diffstat (limited to 'drivers/platform/surface/aggregator/core.c')
| -rw-r--r-- | drivers/platform/surface/aggregator/core.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/platform/surface/aggregator/core.c b/drivers/platform/surface/aggregator/core.c index 37593234fb31..b6a9dea53592 100644 --- a/drivers/platform/surface/aggregator/core.c +++ b/drivers/platform/surface/aggregator/core.c @@ -24,6 +24,9 @@ #include <linux/surface_aggregator/controller.h> #include "controller.h" +#define CREATE_TRACE_POINTS +#include "trace.h" + /* -- Static controller reference. ------------------------------------------ */ |
