diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-24 23:49:04 -0500 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2021-01-25 23:28:41 -0500 |
commit | 313d64a35d36b4bb00edde418179ff1a5f342070 (patch) | |
tree | a27e35c198f24376041d758ad8730b04f33968f6 /tools/perf/scripts/python/flamegraph.py | |
parent | 5c8fe583cce542aa0b84adc939ce85293de36e5e (diff) |
do_splice_to(): move the logics for limiting the read length in
Both callers have the identical logics limiting the amount of
data we try to read into pipe - no more than would fit into
that pipe. Move that into do_splice_to() itself.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions