aboutsummaryrefslogtreecommitdiffstats
path: root/REPORTING-BUGS
diff options
context:
space:
mode:
authorIliyan Malchev <malchev@google.com>2011-09-15 17:04:16 -0700
committerIliyan Malchev <malchev@google.com>2011-09-23 14:44:54 -0700
commit21c623210684840ad05241e8fc3f8941d95308be (patch)
tree1e3cbeb28c0ea89e243b618ef930eb6181935ea5 /REPORTING-BUGS
parentddbb0c5faf3eed37d1d6a578d01a770d2586fe54 (diff)
downloadkernel_samsung_tuna-21c623210684840ad05241e8fc3f8941d95308be.zip
kernel_samsung_tuna-21c623210684840ad05241e8fc3f8941d95308be.tar.gz
kernel_samsung_tuna-21c623210684840ad05241e8fc3f8941d95308be.tar.bz2
remoteproc: enable halt-on-crash for core dumps
This patch allows you to cause the respecive remoteproc instance to halt when crashing by writing the string "enable" to the core file: echo enable > /<debugfs>/remoteproc/<remoteproc>/core. After this, if the remoteproc crashes, you can extract the core by reading the same file. You can then resume crash recovery by writing "continue" to the file. The halt-on-crash will remain enabled, so that subsequent crashes can be analyzed by pulling the core file again. Writing "disable" will turn off halt-on-crash so that crash recovery happens immediately. (This means copying of trace{0,1} to trace{0,1}_last, and resetting the remoteproc.) Signed-off-by: Iliyan Malchev <malchev@google.com>
Diffstat (limited to 'REPORTING-BUGS')
0 files changed, 0 insertions, 0 deletions