projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bea5b74
)
scripts/kallsyms: remove redundant code for omitting U and N
author
Masahiro Yamada
<masahiroy@kernel.org>
Wed, 8 Mar 2023 11:52:36 +0000
(20:52 +0900)
committer
Masahiro Yamada
<masahiroy@kernel.org>
Mon, 17 Apr 2023 02:03:56 +0000
(11:03 +0900)
The symbol types 'U' and 'N' are already filtered out by the following
line in scripts/mksysmap:
-e ' [aNUw] '
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Reviewed-by: Nick Desaulniers <ndesaulniers@google.com>
scripts/kallsyms.c
patch
|
blob
|
history
diff --git
a/scripts/kallsyms.c
b/scripts/kallsyms.c
index ea1e3d3aaa6b1e03ee26ef9ab68bb6767e4985d1..8148e880f78e81d522b8567637d246e3286528f4 100644
(file)
--- a/
scripts/kallsyms.c
+++ b/
scripts/kallsyms.c
@@
-178,10
+178,7
@@
static bool is_ignored_symbol(const char *name, char type)
return true;
}
- if (type == 'U' || type == 'u')
- return true;
- /* exclude debugging symbols */
- if (type == 'N' || type == 'n')
+ if (type == 'u' || type == 'n')
return true;
if (toupper(type) == 'A') {