summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.com>2025-12-09 18:10:30 +0100
committerDavid Sterba <dsterba@suse.com>2026-02-03 07:49:09 +0100
commitc53d61e24086fc7893fa03b148f930c08bd3cd77 (patch)
tree61c89e5c09e148646b1ee043bca85f9f1db39845 /tools/perf/scripts/python/task-analyzer.py
parenta464ed9834d76e0709c55b2c763063751d0f35df (diff)
downloadlinux-c53d61e24086fc7893fa03b148f930c08bd3cd77.tar.gz
linux-c53d61e24086fc7893fa03b148f930c08bd3cd77.zip
btrfs: simplify internal btrfs_printk helpers
The printk() can be compiled out depending on CONFIG_PRINTK, this is reflected in our helpers. The indirection is provided by btrfs_printk() used in the ratelimited and RCU wrapper macros. Drop the btrfs_printk() helper and define the ratelimit and RCU helpers directly when CONFIG_PRINTK is undefined. This will allow further changes to the _btrfs_printk() interface (which is internal), any message in other code should use the level-specific helpers. Signed-off-by: David Sterba <dsterba@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions