summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2020-03-26 21:37:08 +0300
committerDavid S. Miller <davem@davemloft.net>2020-03-27 05:39:26 +0300
commite8937681797c9af491c8a1e362a9db4f4aa1f471 (patch)
treeaa3bd2e62c552bae9769e1c8e5b7d178668684d0 /tools/perf/scripts/python/export-to-sqlite.py
parent6739ce85919e4fa1d60b8a6e779f54b7156bc960 (diff)
downloadlinux-e8937681797c9af491c8a1e362a9db4f4aa1f471.tar.xz
devlink: prepare to support region operations
Modify the devlink region code in preparation for adding new operations on regions. Create a devlink_region_ops structure, and move the name pointer from within the devlink_region structure into the ops structure (similar to the devlink_health_reporter_ops). This prepares the regions to enable support of additional operations in the future such as requesting snapshots, or accessing the region directly without a snapshot. In order to re-use the constant strings in the mlx4 driver their declaration must be changed to 'const char * const' to ensure the compiler realizes that both the data and the pointer cannot change. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Jakub Kicinski <kuba@kernel.org> Reviewed-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions