Any plan to implement coredump_dump_threads to RISCV processor (PR #74906) #80266
Unanswered
kwangbaeklee99
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi Folks,
I have a couple of questions w.r.t. a new feature(COREDUMP_THREADS).
Q1. Is there any plan to add the feature, "Better support for threads in core dumps",
(#74195) to RISCV architecture?
Q2. It would be perfect if there is a way of limiting the coredumping stack size to
MIN(thread's current stack size, CONFIG_COREDUMP_THREADS_STACK_SIZE) for all threads while coredumping threads.
I mean, in an embedded environment, we don't have enough volatile or non-volatile memory,
for example, the memory allocated for coredump on a chip is only 10 KB and two threads whose stack size is 10 KB each are
running on the board. (Assuming the 4-bit nibble representation of coredump data is not considered here.)
Like the situation above, for instance if we set CONFIG_COREDUMP_THREADS_STACK_SIZE=4096, we could get the stack of
two threads after an exception.
Kind regards,
Kevin
Beta Was this translation helpful? Give feedback.
All reactions