[PATCH v8 2/7] lib/ref_tracker: improve printing stats
Eric Dumazet
edumazet at google.com
Tue Apr 25 12:42:27 UTC 2023
On Tue, Apr 25, 2023 at 12:06 AM Andrzej Hajda <andrzej.hajda at intel.com> wrote:
>
> In case the library is tracking busy subsystem, simply
> printing stack for every active reference will spam log
> with long, hard to read, redundant stack traces. To improve
> readabilty following changes have been made:
> - reports are printed per stack_handle - log is more compact,
> - added display name for ref_tracker_dir - it will differentiate
> multiple subsystems,
> - stack trace is printed indented, in the same printk call,
> - info about dropped references is printed as well.
>
> Signed-off-by: Andrzej Hajda <andrzej.hajda at intel.com>
> Reviewed-by: Andi Shyti <andi.shyti at linux.intel.com>
Reviewed-by: Eric Dumazet <edumazet at google.com>
More information about the dri-devel
mailing list