summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2022-03-16 13:24:08 +0100
committerAlexei Starovoitov <ast@kernel.org>2022-03-17 20:17:18 -0700
commitaecf489f2ce51436402818c96639ed6303b540f8 (patch)
treec69559dda35ec2e21d9e712703cbbb0fdd569cca /include/linux
parenta0019cd7d41a191253859349535d76ee28ab7d96 (diff)
downloadcachepc-linux-aecf489f2ce51436402818c96639ed6303b540f8.tar.gz
cachepc-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 'include/linux')
0 files changed, 0 insertions, 0 deletions