Commits
Suman Anna committed ca7e120c386
remoteproc: implement last trace for remoteproc The last trace is a way of preserving the remoteproc traces past remoteproc recovery. This is achieved by creating a new traceY_last debugfs entry during a crash for each trace entry, and copying the trace buffer contents into the corresponding last trace entry. This copied contents can then be read out using a debugfs entry. The trace entries themselves are cleaned up after the copy and are recreated during a recovery reload. Eg: cat <debugfs_root>/remoteproc/remoteprocX/traceY_last should give the traces that were printed out just before the recovery happened on remoteproc X for trace Y. Signed-off-by: Subramaniam Chanderashekarapuram <subramaniam.ca@ti.com> Signed-off-by: Suman Anna <s-anna@ti.com>