aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-09-25 18:43:35 +0300
committerAndrew Morton <akpm@linux-foundation.org>2024-11-05 17:12:28 -0800
commitba1eccc114ffc62c4495a5e15659190fa2c42308 (patch)
tree44dfcad68efd0177307c90e2474e30d76ce00828 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentresource: replace open coded resource_intersection() (diff)
downloadwireguard-linux-ba1eccc114ffc62c4495a5e15659190fa2c42308.tar.xz
wireguard-linux-ba1eccc114ffc62c4495a5e15659190fa2c42308.zip
resource: introduce is_type_match() helper and use it
There are already a couple of places where we may replace a few lines of code by calling a helper, which increases readability while deduplicating the code. Introduce is_type_match() helper and use it. Link: https://lkml.kernel.org/r/20240925154355.1170859-3-andriy.shevchenko@linux.intel.com Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Cc: Rasmus Villemoes <linux@rasmusvillemoes.dk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions