aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorKent Overstreet <[email protected]>2022-08-14 16:11:35 -0400
committerKent Overstreet <[email protected]>2023-10-22 17:09:38 -0400
commit9375fbc20079ed0c8a10d8d387b2c173a3dc04d7 (patch)
treecbddc66dfe8fd66bb74924451d962777fb6e6867 /tools/perf/scripts/python/event_analyzing_sample.py
parentc59d66b51b11064f17d87d5b9695e0216b8ade99 (diff)
bcachefs: Debugfs cleanup
This improves flush_buf() so that it always returns nonzero when we're done reading and ready to return to userspace, and so that it returns the value we want to return to userspace (number of bytes read, if there wasn't an error). In the future we'll be better abstracting this mechanism and pulling it out of bcachefs, and using it to replace seq_file. Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions