aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorHannes Reinecke <[email protected]>2021-01-19 07:43:18 +0100
committerChristoph Hellwig <[email protected]>2021-02-10 16:38:06 +0100
commited7770f6628691c13c9423bce7eee7cff2399c12 (patch)
tree0e2c21bda36e81b9c7dbbb23b8522f9ed70c5916 /tools/perf/scripts/python/exported-sql-viewer.py
parent295a39f5a56f3276bae6a0ae5c26ce06bb8aa21c (diff)
nvme-hwmon: rework to avoid devm allocation
The original design to use device-managed resource allocation doesn't really work as the NVMe controller has a vastly different lifetime than the hwmon sysfs attributes, causing warning about duplicate sysfs entries upon reconnection. This patch reworks the hwmon allocation to avoid device-managed resource allocation, and uses the NVMe controller as parent for the sysfs attributes. Cc: Guenter Roeck <[email protected]> Signed-off-by: Hannes Reinecke <[email protected]> Tested-by: Enzo Matsumiya <[email protected]> Tested-by: Daniel Wagner <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions