aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-11-11 22:40:05 +0100
committerSebastian Reichel <sebastian.reichel@collabora.com>2024-12-05 00:02:31 +0100
commitaa40f37d636570458e1be76f51564357347eb77c (patch)
treee080a8a55b4958234f609d19f1a1cc2eec35aa9c /tools/perf/scripts/python/flamegraph.py
parentpower: supply: core: rename psy_has_property() to psy_desc_has_property() (diff)
downloadlinux-aa40f37d636570458e1be76f51564357347eb77c.tar.gz
linux-aa40f37d636570458e1be76f51564357347eb77c.zip
power: supply: core: introduce power_supply_has_property()
Introduce a helper to check if a power supply implements a certain property. It will be used by the sysfs and hwmon code to remove similar open-coded checks. It also paves the way for the extension API to hook into. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Sebastian Reichel <sebastian.reichel@collabora.com> Reviewed-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20241111-power-supply-extensions-v4-3-7240144daa8e@weissschuh.net Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions