diff options
| author | José Roberto de Souza <[email protected]> | 2024-06-11 10:47:15 -0700 |
|---|---|---|
| committer | Rodrigo Vivi <[email protected]> | 2024-06-12 11:29:36 -0400 |
| commit | 3b9c181bcde8555ca81b2394c2dc2201cefc2dd4 (patch) | |
| tree | bef93cad16e9e72f0468b3ccdf898f4f023f875f /include/linux/timerqueue.h | |
| parent | 513ea833c20109d475b4ace9e6a18f6c0c25de4c (diff) | |
devcoredump: Add dev_coredumpm_timeout()
Add function to set a custom coredump timeout.
For Xe driver usage, current 5 minutes timeout may be too short for
users to search and understand what needs to be done to capture
coredump to report bugs.
We have plans to automate(distribute a udev script) it but at the end
will be up to distros and users to pack it so having a option to
increase the timeout is a safer option.
v2:
- replace dev_coredump_timeout_set() by dev_coredumpm_timeout() (Mukesh)
v3:
- make dev_coredumpm() static inline (Johannes)
v5:
- rename DEVCOREDUMP_TIMEOUT -> DEVCD_TIMEOUT to avoid redefinition
in include/net/bluetooth/coredump.h
v6:
- fix definition of dev_coredumpm_timeout() when CONFIG_DEV_COREDUMP
is disabled
Cc: Rodrigo Vivi <[email protected]>
Cc: Mukesh Ojha <[email protected]>
Cc: Johannes Berg <[email protected]>
Cc: Jonathan Cavitt <[email protected]>
Reviewed-by: Rodrigo Vivi <[email protected]>
Reviewed-by: Jonathan Cavitt <[email protected]>
Signed-off-by: José Roberto de Souza <[email protected]>
Acked-by: Greg Kroah-Hartman <[email protected]>
Acked-by: Johannes Berg <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Signed-off-by: Rodrigo Vivi <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions