summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPavankumar Kondeti <pkondeti@codeaurora.org>2018-02-02 11:34:53 +0530
committerGeorg Veichtlbauer <georg@vware.at>2023-07-26 21:01:08 +0200
commit62ac517428d00d3c634b922606a971371b0be0a4 (patch)
tree87af10e02e62d9e30c55eade9d9a932413dd2386 /tools/perf/scripts/python
parente9a289d1ffa72a1d9cc16b8e2c14479f9306f3e4 (diff)
sched/fair: fix array out of bounds access in select_energy_cpu_idx()
We are using an incorrect index while initializing the nrg_delta for the previous CPU in select_energy_cpu_idx(). This initialization it self is not needed as the nrg_delta for the previous CPU is already initialized to 0 while preparing the energ_env struct. Change-Id: Iee4e2c62f904050d2680a0a1df646d4d515c62cc Signed-off-by: Pavankumar Kondeti <pkondeti@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions