aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorDarrick J. Wong <[email protected]>2024-02-07 11:43:32 -0800
committerKent Overstreet <[email protected]>2024-03-13 21:22:08 -0400
commitfcb1620edd4d59eff4b3466be1d61263cea958a8 (patch)
treec8c59c73272624d0eba47576bdc956b697ffeedb /tools/perf/scripts/python
parenta5a650d6472f238191d98d8aba7536a9fb3d9f99 (diff)
bcachefs: thread_with_file: allow creation of readonly files
Create a new run_thread_with_stdout function that opens a file in O_RDONLY mode so that the kernel can write things to userspace but userspace cannot write to the kernel. This will be used to convey xfs health event information to userspace. Signed-off-by: Darrick J. Wong <[email protected]> Signed-off-by: Kent Overstreet <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions