]> 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)
commit7432ca7e0184515bd6bac493987f9523348a9c74
tree5b5786d76cc9d3f03c0be439fdfc1479a501a098
parenta51a1e4ede865f872720d252551b9f56f68b9cea
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: 938763b93848 ("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