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 <[email protected]> > Signed-off-by: Jeff Layton <[email protected]> > --- > 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 <[email protected]>
Best Regards, Krzysztof
