summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJoel Granados <joel.granados@gmail.com>2023-08-09 13:49:54 +0300
committerLuis Chamberlain <mcgrof@kernel.org>2023-08-16 01:26:17 +0300
commit18d4b42e9de61546c22c6f47dfc85ca1dbe9459a (patch)
tree1dc1fef537cdb71f95822b41469aed37b5a5174d /tools/perf/scripts/python/export-to-postgresql.py
parentcc9f7ee01e6724f2320df15a919138413ea1a374 (diff)
downloadlinux-18d4b42e9de61546c22c6f47dfc85ca1dbe9459a.tar.xz
sysctl: Use ctl_table_header in list_for_each_table_entry
We replace the ctl_table with the ctl_table_header pointer in list_for_each_table_entry which is the macro responsible for traversing the ctl_table arrays. This is a preparation commit that will make it easier to add the ctl_table array size (that will be added to ctl_table_header in subsequent commits) to the already existing loop logic based on empty ctl_table elements (so called sentinels). Signed-off-by: Joel Granados <j.granados@samsung.com> Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions