Skip to content

Commit 9165bff

Browse files
authored
Merge pull request #1490 from sumanthkorikkar/add-discard-syms
kpatch: Handle __trace_check symbols as discardable
2 parents 8a927e7 + 48efb30 commit 9165bff

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

kpatch-build/lookup.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ static bool maybe_discarded_sym(const char *name)
8282
if (!strncmp(name, "__exitcall_", 11) ||
8383
!strncmp(name, "__brk_reservation_fn_", 21) ||
8484
!strncmp(name, "__func_stack_frame_non_standard_", 32) ||
85+
!strncmp(name, "__trace_check", 13) ||
8586
strstr(name, "__addressable_") ||
8687
strstr(name, "__UNIQUE_ID_") ||
8788
!strncmp(name, ".L.str", 6) ||

0 commit comments

Comments
 (0)