| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_dev_coredump.c | 203 struct amdgpu_coredump_info *coredump = data; in amdgpu_devcoredump_read() local 220 drm_printf(&p, "time: %ptSp\n", &coredump->reset_time); in amdgpu_devcoredump_read() 222 if (coredump->reset_task_info.task.pid) in amdgpu_devcoredump_read() 224 coredump->reset_task_info.process_name, in amdgpu_devcoredump_read() 225 coredump->reset_task_info.task.pid); in amdgpu_devcoredump_read() 229 drm_printf(&p, "SOC Device id: %d\n", coredump->adev->pdev->device); in amdgpu_devcoredump_read() 230 drm_printf(&p, "SOC PCI Revision id: %d\n", coredump->adev->pdev->revision); in amdgpu_devcoredump_read() 231 drm_printf(&p, "SOC Family: %d\n", coredump->adev->family); in amdgpu_devcoredump_read() 232 drm_printf(&p, "SOC Revision id: %d\n", coredump->adev->rev_id); in amdgpu_devcoredump_read() 233 drm_printf(&p, "SOC External Revision id: %d\n", coredump->adev->external_rev_id); in amdgpu_devcoredump_read() [all …]
|
| /linux/tools/testing/selftests/coredump/ |
| H A D | README.rst | 1 coredump selftest 7 `coredump` is a feature which dumps a process's memory space when the process terminates 9 `coredump` dumps the memory to the file named `core`, but this behavior can be changed by writing a 10 different file name to `/proc/sys/kernel/core_pattern`. Furthermore, `coredump` can be piped to a 21 reads zero. But when the thread is dead (e.g. during a coredump), this field should have valid 24 However, this was broken in the past and `kstkesp` was zero even during coredump: 35 * commit 92307383082d ("coredump: Don't perform any cleanups before dumping core") broke it again 42 This test detects problem with reading `kstkesp` during coredump by doing the following: 44 #. Tell the kernel to execute the "stackdump" script when a coredump happens. This script
|
| H A D | coredump_socket_test.c | 10 FIXTURE_SETUP(coredump) in FIXTURE_SETUP() argument 32 FIXTURE_TEARDOWN(coredump) in FIXTURE_TEARDOWN() argument 78 TEST_F(coredump, socket) in TEST_F() argument 209 TEST_F(coredump, socket_detect_userspace_client) in TEST_F() argument 341 TEST_F(coredump, socket_enoent) in TEST_F() argument 361 TEST_F(coredump, socket_no_listener) in TEST_F() argument 439 TEST_F(coredump, socket_coredump_signal_sigsegv) in TEST_F() argument 585 TEST_F(coredump, socket_coredump_signal_sigabrt) in TEST_F() argument 725 TEST_F(coredump, socket_invalid_paths) in TEST_F() argument
|
| H A D | stackdump_test.c | 35 FIXTURE_SETUP(coredump) in FIXTURE_SETUP() argument 57 FIXTURE_TEARDOWN(coredump) in FIXTURE_TEARDOWN() argument 105 TEST_F_TIMEOUT(coredump, stackdump, 120)
|
| H A D | coredump_test.h | 20 FIXTURE(coredump) in FIXTURE() argument 39 FIXTURE_DATA(coredump) *self) in wait_and_check_coredump_server()
|
| H A D | coredump_socket_protocol_test.c | 12 FIXTURE_SETUP(coredump) in FIXTURE_SETUP() argument 34 FIXTURE_TEARDOWN(coredump) in FIXTURE_TEARDOWN() argument 80 TEST_F(coredump, socket_request_kernel) in TEST_F() argument 237 TEST_F(coredump, socket_request_userspace) in TEST_F() argument 377 TEST_F(coredump, socket_request_reject) in TEST_F() argument 517 TEST_F(coredump, socket_request_invalid_flag_combination) in TEST_F() argument 638 TEST_F(coredump, socket_request_unknown_flag) in TEST_F() argument 758 TEST_F(coredump, socket_request_invalid_size_small) in TEST_F() argument 880 TEST_F(coredump, socket_request_invalid_size_large) in TEST_F() argument 1008 TEST_F(coredump, socket_coredump_signal_sigsegv) in TEST_F() argument [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-devices-coredump | 1 What: /sys/devices/.../coredump 5 The /sys/devices/.../coredump attribute is only present when the 6 device is bound to a driver, which provides the .coredump() 8 file will trigger the .coredump() callback.
|
| H A D | sysfs-class-remoteproc | 62 What: /sys/class/remoteproc/.../coredump 65 Description: Remote processor coredump configuration 67 Reports the coredump configuration of the remote processor, 76 "enabled" means when the remote processor's coredump is 80 "inline" means when the remote processor's coredump is
|
| /linux/drivers/net/wireless/ath/ath10k/ |
| H A D | coredump.c | 1479 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_new() 1496 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_build() 1624 ar->coredump.fw_crash_data = vzalloc(sizeof(*ar->coredump.fw_crash_data)); in ath10k_coredump_create() 1625 if (!ar->coredump.fw_crash_data) in ath10k_coredump_create() 1633 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_register() 1651 struct ath10k_fw_crash_data *crash_data = ar->coredump.fw_crash_data; in ath10k_coredump_unregister() 1658 if (ar->coredump.fw_crash_data->ramdump_buf) { in ath10k_coredump_destroy() 1659 vfree(ar->coredump.fw_crash_data->ramdump_buf); in ath10k_coredump_destroy() 1660 ar->coredump.fw_crash_data->ramdump_buf = NULL; in ath10k_coredump_destroy() 1661 ar->coredump.fw_crash_data->ramdump_buf_len = 0; in ath10k_coredump_destroy() [all …]
|
| H A D | Makefile | 25 ath10k_core-$(CONFIG_DEV_COREDUMP) += coredump.o
|
| /linux/drivers/net/ethernet/broadcom/bnxt/ |
| H A D | bnxt_coredump.c | 150 struct bnxt_coredump *coredump) in bnxt_hwrm_dbg_coredump_list() argument 167 coredump->data = info.dest_buf; in bnxt_hwrm_dbg_coredump_list() 168 coredump->data_size = info.dest_buf_size; in bnxt_hwrm_dbg_coredump_list() 169 coredump->total_segs = info.segs; in bnxt_hwrm_dbg_coredump_list() 410 struct bnxt_coredump coredump = {NULL}; in __bnxt_get_coredump() local 442 coredump.total_segs += segs; in __bnxt_get_coredump() 447 rc = bnxt_hwrm_dbg_coredump_list(bp, &coredump); in __bnxt_get_coredump() 453 *dump_len += seg_hdr_len * coredump.total_segs; in __bnxt_get_coredump() 455 seg_record = (struct coredump_segment_record *)coredump.data; in __bnxt_get_coredump() 458 for (i = 0; i < coredump.total_segs; i++) { in __bnxt_get_coredump() [all …]
|
| /linux/include/net/bluetooth/ |
| H A D | coredump.h | 56 coredump_t coredump; member 67 int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, 81 static inline int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, in hci_devcd_register() argument
|
| /linux/Documentation/networking/devlink/ |
| H A D | iosm.rst | 98 The ``iosm`` driver supports dumping the coredump logs. 110 * - ``coredump.fcd`` 134 $ devlink region new pci/0000:02:00.0/coredump.fcd 136 $ devlink region dump pci/0000:02:00.0/coredump.fcd snapshot 1 138 $ devlink region del pci/0000:02:00.0/coredump.fcd snapshot 1
|
| /linux/tools/testing/selftests/connector/ |
| H A D | proc_filter.c | 201 event->event_data.coredump.process_pid, in handle_packet() 202 event->event_data.coredump.process_tgid, in handle_packet() 203 event->event_data.coredump.parent_pid, in handle_packet() 204 event->event_data.coredump.parent_tgid); in handle_packet()
|
| /linux/drivers/net/wireless/ath/ath12k/ |
| H A D | Kconfig | 55 bool "ath12k coredump" 59 Enable ath12k coredump collection
|
| /linux/net/bluetooth/ |
| H A D | coredump.c | 421 int hci_devcd_register(struct hci_dev *hdev, coredump_t coredump, in hci_devcd_register() argument 430 if (!coredump || !dmp_hdr) in hci_devcd_register() 434 hdev->dump.coredump = coredump; in hci_devcd_register()
|
| H A D | Makefile | 20 bluetooth-$(CONFIG_DEV_COREDUMP) += coredump.o
|
| /linux/drivers/connector/ |
| H A D | cn_proc.c | 305 ev->event_data.coredump.process_pid = task->pid; in proc_coredump_connector() 306 ev->event_data.coredump.process_tgid = task->tgid; in proc_coredump_connector() 311 ev->event_data.coredump.parent_pid = parent->pid; in proc_coredump_connector() 312 ev->event_data.coredump.parent_tgid = parent->tgid; in proc_coredump_connector()
|
| /linux/Documentation/gpu/xe/ |
| H A D | xe_devcoredump.rst | 8 :doc: Xe device coredump
|
| /linux/include/uapi/linux/ |
| H A D | cn_proc.h | 146 } coredump; 147 } coredump; global() member
|
| /linux/Documentation/arch/arm64/ |
| H A D | sme.rst | 344 8. ELF coredump extensions 347 * NT_ARM_SSVE notes will be added to each coredump for 350 type were executed for each thread when the coredump was generated. 352 * A NT_ARM_ZA note will be added to each coredump for each thread of the 355 when the coredump was generated. 357 * A NT_ARM_ZT note will be added to each coredump for each thread of the 360 when the coredump was generated.
|
| H A D | gcs.rst | 213 7. ELF coredump extensions 216 * NT_ARM_GCS notes will be added to each coredump for each thread of the 219 executed for each thread when the coredump was generated.
|
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | Makefile | 7 spufs-$(CONFIG_COREDUMP) += coredump.o
|
| /linux/drivers/base/ |
| H A D | dd.c | 489 dev->driver->coredump(dev); in coredump_store() 494 static DEVICE_ATTR_WO(coredump); 512 if (!IS_ENABLED(CONFIG_DEV_COREDUMP) || !dev->driver->coredump) in driver_sysfs_add() 534 if (drv->coredump) in driver_sysfs_remove()
|
| H A D | Kconfig | 110 device coredump mechanism. 113 bool "Allow device coredump" if EXPERT 116 This option controls if the device coredump mechanism is available or
|