[PATCH] cxl: Add new kernel traces

Michael Ellerman mpe at ellerman.id.au
Wed May 1 16:44:45 AEST 2019


Christophe Lombard <clombard at linux.vnet.ibm.com> writes:

> This patch adds new kernel traces in the current in-kernel 'library'
> which can be called by other drivers to help interacting with an
> IBM XSL on a POWER9 system.
>
> If some kernel traces exist in the 'normal path' to handle a page or a
> segment fault, some others are missing when a page fault is handle
> through cxllib.
>
> Signed-off-by: Christophe Lombard <clombard at linux.vnet.ibm.com>
> ---
>  drivers/misc/cxl/cxllib.c |   3 ++
>  drivers/misc/cxl/fault.c  |   2 +
>  drivers/misc/cxl/irq.c    |   2 +-
>  drivers/misc/cxl/trace.h  | 115 ++++++++++++++++++++++++++--------------------
>  4 files changed, 72 insertions(+), 50 deletions(-)

Sorry this no longer builds:

drivers/misc/cxl/cxllib.c:215:35: note: each undeclared identifier is reported only once for each function it appears in
drivers/misc/cxl/cxllib.c:215:41: error: 'flags' undeclared (first use in this function); did you mean 'class'?
  trace_cxl_lib_handle_fault(addr, size, flags);
                                         ^~~~~
                                         class

cheers


More information about the Linuxppc-dev mailing list