aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/perf/scripts/python/gecko.py
diff options
context:
space:
mode:
authorKunwu Chan <chentao@kylinos.cn>2023-11-26 17:37:19 +0800
committerMichael Ellerman <mpe@ellerman.id.au>2023-12-13 22:19:43 +1100
commit0a233867a39078ebb0f575e2948593bbff5826b3 (patch)
treed7770ef74b874278837737de33753d9ba506f120 /tools/perf/scripts/python/gecko.py
parentpowerpc/powernv: Add a null pointer check in opal_powercap_init() (diff)
downloadwireguard-linux-0a233867a39078ebb0f575e2948593bbff5826b3.tar.xz
wireguard-linux-0a233867a39078ebb0f575e2948593bbff5826b3.zip
powerpc/imc-pmu: Add a null pointer check in update_events_in_group()
kasprintf() returns a pointer to dynamically allocated memory which can be NULL upon failure. Fixes: 885dcd709ba9 ("powerpc/perf: Add nest IMC PMU support") Signed-off-by: Kunwu Chan <chentao@kylinos.cn> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://msgid.link/20231126093719.1440305-1-chentao@kylinos.cn
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions