1
0
Fork 0
mirror of https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git synced 2025-01-23 16:53:58 -05:00
linux/drivers
Imran Khan 0f68d45ef4 lib, stackdepot: add helper to print stack entries into buffer
To print stack entries into a buffer, users of stackdepot, first get a
list of stack entries using stack_depot_fetch and then print this list
into a buffer using stack_trace_snprint.  Provide a helper in stackdepot
for this purpose.  Also change above mentioned users to use this helper.

[imran.f.khan@oracle.com: fix build error]
  Link: https://lkml.kernel.org/r/20210915175321.3472770-4-imran.f.khan@oracle.com
[imran.f.khan@oracle.com: export stack_depot_snprint() to modules]
  Link: https://lkml.kernel.org/r/20210916133535.3592491-4-imran.f.khan@oracle.com

Link: https://lkml.kernel.org/r/20210915014806.3206938-4-imran.f.khan@oracle.com
Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Jani Nikula <jani.nikula@intel.com>	[i915]
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2021-11-09 10:02:50 -08:00
..
accessibility
acpi ACPI fixes for 5.15-rc7 2021-10-22 09:08:08 -10:00
amba
android
ata ata: sata_mv: Fix the error handling of mv_chip_id() 2021-10-25 08:53:04 +09:00
atm
auxdisplay
base mm/memory_hotplug: remove CONFIG_MEMORY_HOTPLUG_SPARSE 2021-11-06 13:30:42 -07:00
bcma
block zram: introduce an aged idle interface 2021-11-06 13:30:43 -07:00
bluetooth
bus Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
cdrom
char
clk One fix for the composite clk that broke when we changed this clk type 2021-10-30 09:55:46 -07:00
clocksource
comedi
connector
counter
cpufreq
cpuidle
crypto
cxl
dax
dca
devfreq
dio
dma
dma-buf
edac
eisa
extcon
firewire
firmware memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
fpga
fsi
gnss
gpio gpio: mlxbf2.c: Add check for bgpio_init failure 2021-10-25 10:15:05 +02:00
gpu lib, stackdepot: add helper to print stack entries into buffer 2021-11-09 10:02:50 -08:00
greybus
hid
hsi
hv hyperv-fixes for 5.15 2021-10-22 10:31:32 -10:00
hwmon mm: move kvmalloc-related functions to slab.h 2021-11-06 13:30:32 -07:00
hwspinlock
hwtracing
i2c
i3c
idle
iio Staging/IIO driver fixes for 5.15-rc6 2021-10-17 17:10:00 -10:00
infiniband RDMA/sa_query: Use strscpy_pad instead of memcpy to copy a string 2021-10-25 11:51:51 -03:00
input Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input 2021-10-17 16:57:06 -10:00
interconnect
iommu
ipack
irqchip
isdn mISDN: Fix return values of the probe function 2021-10-19 13:09:28 +01:00
leds
macintosh memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
mailbox
mcb
md
media include/linux/delay.h: replace kernel.h with the necessary inclusions 2021-11-09 10:02:49 -08:00
memory
memstick
message
mfd
misc eeprom: 93xx46: fix MODULE_DEVICE_TABLE 2021-10-15 10:54:02 +02:00
mmc include/linux/mm.h: move nr_free_buffer_pages from swap.h to mm.h 2021-11-06 13:30:43 -07:00
most
mtd mtd: call bdi_unregister explicitly 2021-11-06 13:30:34 -07:00
mux
net Revert "net: hns3: fix pause config problem after autoneg disabled" 2021-10-28 08:23:03 -07:00
nfc nfc: port100: fix using -ERRNO as command type mask 2021-10-26 13:42:00 +01:00
ntb
nubus
nvdimm nvdimm/pmem: stop using q_usage_count as external pgmap refcount 2021-10-25 16:12:32 -07:00
nvme nvmet-tcp: fix header digest verification 2021-10-27 09:20:50 +02:00
nvmem
of memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
opp
parisc
parport
pci pci-v5.15-fixes-2 2021-10-16 09:00:46 -07:00
pcmcia
perf
phy
pinctrl pinctrl: amd: disable and mask interrupts on probe 2021-10-16 23:56:59 +02:00
platform
pnp
power
powercap
pps
ps3
ptp ptp: free 'vclock_index' in ptp_clock_release() 2021-10-21 12:50:38 +01:00
pwm
rapidio rapidio: avoid bogus __alloc_size warning 2021-11-06 13:30:33 -07:00
ras
regulator
remoteproc
reset
rpmsg
rtc
s390 memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
sbus
scsi scsi: ufs: ufshpb: Remove HPB2.0 flows 2021-10-30 10:01:01 -04:00
sh
siox
slimbus
soc Driver core fixes for 5.15-rc6 2021-10-17 17:17:28 -10:00
soundwire
spi spi: Fixes for v5.15 2021-10-28 10:04:39 -07:00
spmi
ssb
staging Staging/IIO driver fixes for 5.15-rc6 2021-10-17 17:10:00 -10:00
target
tc
tee
thermal
thunderbolt
tty Serial driver fix for 5.15-rc6 2021-10-17 17:06:31 -10:00
uio
usb memblock: rename memblock_free to memblock_phys_free 2021-11-06 13:30:41 -07:00
vdpa vduse: Fix race condition between resetting and irq injecting 2021-10-22 06:49:14 -04:00
vfio
vhost virtio,vdpa: fixes 2021-10-17 18:17:19 -10:00
video
virt
virtio virtio-mem: kdump mode to sanitize /proc/vmcore access 2021-11-09 10:02:48 -08:00
visorbus
vlynq
vme
w1
watchdog watchdog: Fix OMAP watchdog early handling 2021-10-26 20:22:51 +02:00
xen memblock: use memblock_free for freeing virtual pointers 2021-11-06 13:30:41 -07:00
zorro
Kconfig
Makefile