trace_syscalls: remove duplications
cover trace_syscalls: remove duplications
trace_syscalls introduces a lot of duplicate functions to all syscalls. These series patches remove them.
text data bss dec hex filename
630068 152084 531376 1313528 140af8 kernel/built-in.o.old 593997 151988 531824 1277809 137f71 kernel/built-in.o.new
patch 1~4 is for preparing.
patch 5~6 remove duplications
patch 7 cleanups
Signed-off-by Lai Jiangshan <[email protected]>
--- include/linux/syscalls.h | 73 ++++-------------------- include/trace/syscall.h | 20 ++---- kernel/trace/trace_syscalls.c | 124 ++++++++++++------------------------------ 3 files changed, 57 insertions(+), 160 deletions(-)
Quoted 11 lines · Lai Jiangshan
trace_syscallsintroduces a lot of duplicate functions to all syscalls. These series patches remove them.text data bss dec hex filename
630068 152084 531376 1313528 140af8 kernel/built-in.o.old 593997 151988 531824 1277809 137f71 kernel/built-in.o.newpatch 1~4 is for preparing.
patch 5~6 remove duplications
patch 7 cleanups
Quoted 8 lines
Signed-off-by Lai Jiangshan <[email protected]>--- include/linux/syscalls.h | 73 ++++-------------------- include/trace/syscall.h | 20 ++---- kernel/trace/trace_syscalls.c | 124 ++++++++++++------------------------------ 3 files changed, 57 insertions(+), 160 deletions(-)
nice simplifications! ack to the whole series.
Acked-by Jason Baron <[email protected]>