aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorMikulas Patocka <[email protected]>2023-11-17 18:24:04 +0100
committerMike Snitzer <[email protected]>2023-11-17 14:41:14 -0500
commitccadc8a21ef13eb80006ecff6a7466810e4f0dd6 (patch)
tree60041a72fb02933f2f7a90ba1ca6b5bcc72124fd /tools/perf/util/trace-event-scripting.c
parent38cfff568169ff9f99784948f79f62ca1af5a187 (diff)
dm-delay: avoid duplicate logic
This is small refactoring of dm-delay - we avoid duplicate logic in flush_delayed_bios and flush_delayed_bios_fast and join these two functions into one. We also add cond_resched() to flush_delayed_bios because the list may have unbounded number of entries. Signed-off-by: Mikulas Patocka <[email protected]> Signed-off-by: Mike Snitzer <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions