Hi Jeff, > In a later patch, we'll be adding a 3rd mechanism for outputting > ref_tracker info via seq_file. Instead of a conditional, have the caller > set a pointer to an output function in struct ostream. As part of this, > the log prefix must be explicitly passed in, as it's too late for the > pr_fmt macro. > > Reviewed-by: Andrew Lunn <and...@lunn.ch> > Signed-off-by: Jeff Layton <jlay...@kernel.org> > --- > include/linux/ref_tracker.h | 2 ++ > lib/ref_tracker.c | 52 > ++++++++++++++++++++++++++++++++------------- > 2 files changed, 39 insertions(+), 15 deletions(-) Looks good to me: Reviewed-by: Krzysztof Karas <krzysztof.ka...@intel.com>
Best Regards, Krzysztof