aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorZhao Mengmeng <[email protected]>2024-10-01 19:54:23 +0800
committerJan Kara <[email protected]>2024-10-02 12:37:01 +0200
commitee703a7068f95764cfb62b57db1d36e465cb9b26 (patch)
tree304a2109432d55dcbac566e30fc366657b4a41d5 /tools/perf/scripts/python/syscall-counts.py
parent9852d85ec9d492ebef56dc5f229416c925758edc (diff)
udf: refactor udf_current_aext() to handle error
As Jan suggested in links below, refactor udf_current_aext() to differentiate between error, hit EOF and success, it now takes pointer to etype to store the extent type, return 1 when getting etype success, return 0 when hitting EOF and return -errno when err. Link: https://lore.kernel.org/all/20240912111235.6nr3wuqvktecy3vh@quack3/ Signed-off-by: Zhao Mengmeng <[email protected]> Suggested-by: Jan Kara <[email protected]> Signed-off-by: Jan Kara <[email protected]> Link: https://patch.msgid.link/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions