summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJames Smart <jsmart2021@gmail.com>2021-07-07 11:43:33 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2021-07-18 22:30:34 -0400
commite8613084053d406c22914385a488e8b85072100c (patch)
tree0bd3796c98aa45c1ed32ffc841f1b46f3ca071b1 /tools/perf/scripts/python/stackcollapse.py
parentae463b60235e7a5decffbb0bd7209952ccda78eb (diff)
downloadlinux-e8613084053d406c22914385a488e8b85072100c.tar.gz
linux-e8613084053d406c22914385a488e8b85072100c.zip
scsi: lpfc: Remove use of kmalloc() in trace event logging
There are instances when trace event logs are triggered from an interrupt context. The trace event log may attempt to alloc memory causing scheduling while atomic bug call traces. Remove the need for the kmalloc'ed vport array when checking the log_verbose flag, which eliminates the need for any allocation. Link: https://lore.kernel.org/r/20210707184351.67872-3-jsmart2021@gmail.com Co-developed-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: Justin Tee <justin.tee@broadcom.com> Signed-off-by: James Smart <jsmart2021@gmail.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions