aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorXiaoke Wang <[email protected]>2022-03-04 16:38:20 +0800
committerTakashi Iwai <[email protected]>2022-03-04 09:51:37 +0100
commitd7f15befac809ba365742464e1b0bebf07149c58 (patch)
tree05f63aa0ba5dcf5795cf38c02593d7fca6016ae4 /tools/perf/scripts/python/flamegraph.py
parent3cffb26fbb5202c6a4bee4b99d6bef5623003fbb (diff)
ALSA: lola: add a check for the return of vmalloc()
vmalloc() is a memory allocation function which can return NULL when some internal memory errors happen. So it is better to check the return of it to catch the error in time. Signed-off-by: Xiaoke Wang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions