diff options
author | Leonard Crestez <cdleonard@gmail.com> | 2024-03-16 20:16:42 +0200 |
---|---|---|
committer | Mathieu Poirier <mathieu.poirier@linaro.org> | 2024-04-08 10:33:03 -0600 |
commit | fec2601f2003b9e9820ab5057607df7fff61cfaf (patch) | |
tree | 5a8632e9d0141054e22c13a53452e91896a45e97 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 331f91d86f71d0bb89a44217cc0b2a22810bbd42 (diff) |
remoteproc: zynqmp: Add coredump support
Supporting remoteproc coredump requires the platform-specific driver to
register coredump segments to be dumped. Do this by calling
rproc_coredump_add_segment for every carveout.
Also call rproc_coredump_set_elf_info when then rproc is created. If the
ELFCLASS parameter is not provided then coredump fails with an error.
Other drivers seem to pass EM_NONE for the machine argument but for me
this shows a warning in gdb. Pass EM_ARM because this is an ARM R5.
Signed-off-by: Leonard Crestez <cdleonard@gmail.com>
Link: https://lore.kernel.org/r/d4556268-8274-4089-949f-3b97d67793c7@gmail.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions