diff options
author | Jiri Slaby <jslaby@suse.cz> | 2018-09-07 15:19:06 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-09-18 16:07:25 +0200 |
commit | feacbecb39db098cd9f6d728dcb00d753a3f36ed (patch) | |
tree | 843e7d9e2a9ee69accaf38ea8fb68d3418efbb40 /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | 863299001b39280b3be9f5c627d23debe66aa71b (diff) |
TTY: tty_buffer, warn on leaks
When we leak some tty buffer, warn about that. For that we need to
account the memory used also in the tty_buffer_free_all function. On
other locations, the accounting is handled correctly.
Note that we do not account the free list, as that was accounted in
tty_buffer_free before put on the free list.
I have been using this patch for ages, so let's see if anybody else
encounters any issues.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions