aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorThomas Weißschuh <linux@weissschuh.net>2024-11-03 17:03:32 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-11-05 14:00:28 +0100
commita1ab720ee50686d9e9dcb6935995a75696ed2493 (patch)
tree9991c731391e7b5b5e3c5e708c9d36a751db6d38 /tools/perf/scripts/python/export-to-postgresql.py
parentsysfs: introduce callback attribute_group::bin_size (diff)
downloadwireguard-linux-a1ab720ee50686d9e9dcb6935995a75696ed2493.tar.xz
wireguard-linux-a1ab720ee50686d9e9dcb6935995a75696ed2493.zip
PCI/sysfs: Calculate bin_attribute size through bin_size()
Stop abusing the is_bin_visible() callback to calculate the attribute size. Instead use the new, dedicated bin_size() one. Signed-off-by: Thomas Weißschuh <linux@weissschuh.net> Acked-by: Krzysztof Wilczyński <kw@linux.com> Link: https://lore.kernel.org/r/20241103-sysfs-const-bin_attr-v2-3-71110628844c@weissschuh.net Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions