aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorBart Van Assche <[email protected]>2022-05-11 16:51:52 -0700
committerJens Axboe <[email protected]>2022-05-12 06:33:26 -0600
commit5d2ae14276e698c76fa0c8ce870103f343b38263 (patch)
tree0f18e3fe0fb4fdb72ccb37340d6a0e8dfe5359c2 /tools/perf/scripts/python/event_analyzing_sample.py
parent5ce7729f25c16d5045deff4c9577e6d565da2d8d (diff)
block: Fix the bio.bi_opf comment
Commit ef295ecf090d modified the Linux kernel such that the bottom bits of the bi_opf member contain the operation instead of the topmost bits. That commit did not update the comment next to bi_opf. Hence this patch. From commit ef295ecf090d: -#define bio_op(bio) ((bio)->bi_opf >> BIO_OP_SHIFT) +#define bio_op(bio) ((bio)->bi_opf & REQ_OP_MASK) Cc: Christoph Hellwig <[email protected]> Cc: Ming Lei <[email protected]> Fixes: ef295ecf090d ("block: better op and flags encoding") Signed-off-by: Bart Van Assche <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions