diff options
author | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-08 14:15:32 +0200 |
---|---|---|
committer | Tuukka Tikkanen <tuukka.tikkanen@linaro.org> | 2014-12-12 08:55:39 +0200 |
commit | 663342ed3364d4855a967be5ebe680bb2b3ffdcf (patch) | |
tree | 1c8b81d99a09b53ee78d0f9f9df1cbafeb3717d4 /tracefile_idlestat.c | |
parent | 257e64c12df95f199fb5f8e7195c6a19efaba7ca (diff) |
topology: Dynamic allocation for topologies
Pre-patch the topology is rooted to a global variable g_cpu_topo_list.
This prevents loading multiple traces for comparison. This patch
makes the allocation dynamic. The root pointer is stored within
struct cpuidle_datas, allowing the idlestat_load() to retain its
prototype, but most of the functions defined in topology.c have
a new parameter for passing the topology root pointer.
Signed-off-by: Tuukka Tikkanen <tuukka.tikkanen@linaro.org>
Reviewed-by: Koan-Sin Tan <freedom.tan@linaro.org>
Diffstat (limited to 'tracefile_idlestat.c')
0 files changed, 0 insertions, 0 deletions