Re: [PATCH] cxl: Add new kernel traces
From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2019-05-01 06:46:26
Christophe Lombard [off-list ref] 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 <redacted> --- 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