aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorThomas Gleixner <[email protected]>2016-11-22 17:42:06 +0000
committerGuenter Roeck <[email protected]>2016-12-09 21:54:13 -0800
commit712668460594294d74c13f2a023398a597fbe95f (patch)
treea58b1e0c9d064ed691bc38c9c362a115244eca04 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent2195c31b127def509c806fe8a9d3b4092a28ce31 (diff)
hwmon: (coretemp) Simplify package management
Keeping track of the per package platform devices requires an extra object, which is held in a linked list. The maximum number of packages is known at init() time. So the extra object and linked list management can be replaced by an array of platform device pointers in which the per package devices pointers can be stored. Lookup becomes a simple array lookup instead of a list walk. The mutex protecting the list can be removed as well because the array is only accessed from cpu hotplug callbacks which are already serialized. Signed-off-by: Thomas Gleixner <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions