Re: [PATCH v3 4/9] platform/surface: aggregator: Add trace points

From: Steven Rostedt
Date: Tue Dec 22 2020 - 17:22:21 EST


On Mon, 21 Dec 2020 19:39:54 +0100
Maximilian Luz <luzmaximilian@xxxxxxxxx> wrote:

> 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@xxxxxxxxx>
> Reviewed-by: Hans de Goede <hdegoede@xxxxxxxxxx>
> ---
>
> Changes in v1 (from RFC):
> - add copyright line
> - change SPDX identifier to GPL-2.0+ (was GPL-2.0-or-later)
> - pack tracing structs
>
> Changes in v2:
> - add compiletime check on SSAM_PTR_UID_LEN
> - fix ssam_trace_get_command_field_u8() macro
> - use dedicated trace event class for timeout reaper
> - use printk specifier for hex prefix instead of hard-coding it
> - unify comment style
> - run checkpatch --strict, fix warnings and style issues
>
>

>From a tracing point of view:

Acked-by: Steven Rostedt (VMware) <rostedt@xxxxxxxxxxx>

-- Steve