summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2019-08-09 17:12:38 +0200
committerDavid Sterba <dsterba@suse.com>2019-09-09 14:59:16 +0200
commitcb49511328dcce73840a54661622950d7fa6384e (patch)
treea380d0eb8fd8d8174502b0a415879765809e988b /tools/perf/scripts/python/check-perf-trace.py
parent6ff49c6ad285160b8ba48589ebdbf6cebdd42f74 (diff)
btrfs: define separate btrfs_set/get_XX helpers
There are helpers for all type widths defined via macro and optionally can use a token which is a cached pointer to avoid repeated mapping of the extent buffer. The token value is known at compile time, when it's valid it's always address of a local variable, otherwise it's NULL passed by the token-less helpers. This can be utilized to remove some branching as the helpers are used frequenlty. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions