Dave,
There are a few commands that do not work for my ARM vmlinux/vmcore.
One of those is "timer".
I get the following messages;
crash> timer
timer: per_cpu_symbol_search(per_cpu__tvec_bases): NULL
GETBUF(128 -> 0)
GNU_GET_DATATYPE[tvec_root_s]: returned via gdb_error_hook (1 buffer in use)
FREEBUF(0)
GETBUF(128 -> 0)
GNU_GET_DATATYPE[tvec_s]: returned via gdb_error_hook (1 buffer in use)
FREEBUF(0)
timer: zero-size memory allocation! (called from 81191e6)
crash>
Both vec_root_size and vec_size are 0 at dump_timer_data_tvec_bases_v1() in kernel.c
vec_root_size = (i = ARRAY_LENGTH(tvec_root_s_vec)) ?
i : get_array_length("tvec_root_s.vec", NULL, SIZE(list_head));
vec_size = (i = ARRAY_LENGTH(tvec_s_vec)) ?
i : get_array_length("tvec_s.vec", NULL, SIZE(list_head));
vec = (ulong *)GETBUF(SIZE(list_head) * MAX(vec_root_size, vec_size));
Do you have any suggestion?
Best Regards,
Takuo