aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorYu Kuai <[email protected]>2023-05-27 09:06:40 +0800
committerJens Axboe <[email protected]>2023-06-26 09:53:36 -0600
commit645a829e03384a235b3760959d4ebe420a0f2027 (patch)
treebee82941f88b81d28568d96fd2b26bfd9a6207d2 /tools/perf/util/scripting-engines/trace-event-python.c
parentc6b7a3a26e809c9d2a51ae303764c1d2994f31cf (diff)
blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled
sysfs entry /sys/block/[device]/queue/wbt_lat_usec will be created even if CONFIG_BLK_WBT is disabled, while read and write will always fail. It doesn't make sense to create a sysfs entry that can't be accessed, so don't create such entry. Signed-off-by: Yu Kuai <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions