summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/mem-phys-addr.py
diff options
context:
space:
mode:
authorJosef Bacik <josef@toxicpanda.com>2020-10-09 16:28:19 +0300
committerDavid Sterba <dsterba@suse.com>2021-02-09 00:58:58 +0300
commitac1ea10e757a57fb61512ae9beb2ef67e5340e31 (patch)
treedab384f192cb229fcbe3929615fb502cb2debc63 /tools/perf/scripts/python/mem-phys-addr.py
parent91e79a83fff663283341c8c29293faec8255099a (diff)
downloadlinux-ac1ea10e757a57fb61512ae9beb2ef67e5340e31.tar.xz
btrfs: add a trace point for reserve tickets
While debugging a ENOSPC related performance problem I needed to see the time difference between start and end of a reserve ticket, so add a trace point to report when we handle a reserve ticket. I opted to spit out start_ns itself without calculating the difference because there could be a gap between enabling the tracepoint and setting start_ns. Doing it this way allows us to filter on 0 start_ns so we don't get bogus entries, and we can easily calculate the time difference with bpftrace or something else. Reviewed-by: Nikolay Borisov <nborisov@suse.com> Signed-off-by: Josef Bacik <josef@toxicpanda.com> Reviewed-by: David Sterba <dsterba@suse.com> Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions