diff options
| author | Jiri Slaby <[email protected]> | 2020-08-18 10:56:55 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2020-08-18 13:45:20 +0200 |
| commit | 71d4abfab322e827a75304431fe0fad3c805cb80 (patch) | |
| tree | a02ae2f771384146ca38f643cb6c560932373e62 /tools/perf/scripts/python | |
| parent | 7d62549a22ee500ea2ad764b9d04b87c6bbcd75f (diff) | |
vc_screen: rewrite vcs_size to accept vc, not inode
It is weird to fetch the information from the inode over and over. Read
and write already have the needed information, so rewrite vcs_size to
accept a vc, attr and unicode and adapt vcs_lseek to that.
Also make sure all sites check the return value of vcs_size for errors.
And document it using kernel-doc.
Signed-off-by: Jiri Slaby <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions