On Mon, 2025-06-23 at 14:01 +0000, Krzysztof Karas wrote:
> Hi Jeff,
> 
> [...]
> > +static __maybe_unused int
> > +ref_tracker_dir_seq_print(struct ref_tracker_dir *dir, struct seq_file 
> > *seq)
> > +{
> > +   struct ostream os = { .func = pr_ostream_seq,
> > +                         .prefix = "",
> This is also a "ref_tracker_*" function, so maybe use the same
> prefix as in other functions? I mean .prefix = "ref_tracker:".
> Unless, you have a reason for leaving it empty ;)
> 

I have a reason to leave it empty.

That is the prefix for each line that gets printed by the pr_ostream()
call. This one is for the lines that go to the debugfs files. I think
it will be redundant to prepend every line in these files with
"ref_tracker: ".
-- 
Jeff Layton <jlay...@kernel.org>

Reply via email to