OSDN Git Service

vmcoreinfo: add kallsyms_num_syms symbol
authorStephen Brennan <stephen.s.brennan@oracle.com>
Mon, 8 Aug 2022 20:54:10 +0000 (13:54 -0700)
committerAndrew Morton <akpm@linux-foundation.org>
Sun, 28 Aug 2022 21:02:44 +0000 (14:02 -0700)
commitf09bddbd86619bf6213c96142a3b6b6a84818798
tree5b5786d76cc9d3f03c0be439fdfc1479a501a098
parent6c26d17eea01477f9223c4d5da8ebc2099e4f027
vmcoreinfo: add kallsyms_num_syms symbol

The rest of the kallsyms symbols are useless without knowing the number of
symbols in the table.  In an earlier patch, I somehow dropped the
kallsyms_num_syms symbol, so add it back in.

Link: https://lkml.kernel.org/r/20220808205410.18590-1-stephen.s.brennan@oracle.com
Fixes: 5fd8fea935a1 ("vmcoreinfo: include kallsyms symbols")
Signed-off-by: Stephen Brennan <stephen.s.brennan@oracle.com>
Cc: Baoquan He <bhe@redhat.com>
Cc: Dave Young <dyoung@redhat.com>
Cc: Vivek Goyal <vgoyal@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
kernel/crash_core.c