[PATCH v15 5/9] ref_tracker: allow pr_ostream() to print directly to a seq_file

Krzysztof Karas krzysztof.karas at intel.com
Mon Jun 23 14:01:42 UTC 2025


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 ;)

---
Best Regards,
Krzysztof


More information about the Intel-gfx mailing list