summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2024-04-22 19:47:36 +0300
committerDarrick J. Wong <djwong@kernel.org>2024-04-23 17:46:55 +0300
commitf49af061f49c004fb6df7f791f39f9ed370f767b (patch)
tree25e0d1740db3b617bf78acb654e0aad6dec8dd28 /tools/perf/scripts/python/export-to-postgresql.py
parent63211876ced33fbb730f515e8d830de53533fc82 (diff)
downloadlinux-f49af061f49c004fb6df7f791f39f9ed370f767b.tar.xz
xfs: check the flags earlier in xfs_attr_match
Checking the flags match is much cheaper than a memcmp, so do it early on in xfs_attr_match, and also add a little helper to calculate the match mask right under the comment explaining the logic for it. Signed-off-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Darrick J. Wong <djwong@kernel.org> Signed-off-by: Darrick J. Wong <djwong@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions