]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit7e5e414da610702a0fe69d93d2ef085de5870e2d
tree5b5786d76cc9d3f03c0be439fdfc1479a501a098
parentd177aa843723f327946d76d25a9f10f1bae8eea2
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: dd3d3b8fff72 ("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