diff options
author | Jiri Olsa <jolsa@kernel.org> | 2022-03-16 13:24:08 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-03-18 04:17:18 +0100 |
commit | aecf489f2ce51436402818c96639ed6303b540f8 (patch) | |
tree | c69559dda35ec2e21d9e712703cbbb0fdd569cca /mm/bootmem_info.c | |
parent | lib/sort: Add priv pointer to swap function (diff) | |
download | linux-aecf489f2ce51436402818c96639ed6303b540f8.tar.xz linux-aecf489f2ce51436402818c96639ed6303b540f8.zip |
kallsyms: Skip the name search for empty string
When kallsyms_lookup_name is called with empty string,
it will do futile search for it through all the symbols.
Skipping the search for empty string.
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220316122419.933957-3-jolsa@kernel.org
Diffstat (limited to 'mm/bootmem_info.c')
0 files changed, 0 insertions, 0 deletions