aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-scripting.c
diff options
context:
space:
mode:
authorJens Axboe <[email protected]>2021-08-11 09:20:04 -0600
committerJens Axboe <[email protected]>2021-08-23 13:44:02 -0600
commitda521626ac620d8719d674a48b8ec3620eefd42a (patch)
tree6ca053daded37aa4db152ca4e221de9db725e303 /tools/perf/util/trace-event-scripting.c
parentfd08e5309bba8672c1190362dff6c92bfd59218d (diff)
bio: optimize initialization of a bio
The memset() used is measurably slower in targeted benchmarks, wasting about 1% of the total runtime, or 50% of the (later) hot path cached bio alloc. Get rid of it and fill in the bio manually. Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions