summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorHannes Reinecke <hare@suse.de>2021-01-19 07:43:18 +0100
committerChristoph Hellwig <hch@lst.de>2021-02-10 16:38:06 +0100
commited7770f6628691c13c9423bce7eee7cff2399c12 (patch)
tree0e2c21bda36e81b9c7dbbb23b8522f9ed70c5916 /tools/perf/scripts/python/export-to-postgresql.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 <linux@roeck-us.net> Signed-off-by: Hannes Reinecke <hare@suse.de> Tested-by: Enzo Matsumiya <ematsumiya@suse.de> Tested-by: Daniel Wagner <dwagner@suse.de> Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions