Skip to contentSkip to conversation

trace_syscalls: remove duplications

PATCH In review Lai Jiangshan 2 participants 2 messages Dec 1, 2009

lore
Share & tools
lore
#0 lore raw

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

---
 include/linux/syscalls.h      |   73 ++++--------------------
 include/trace/syscall.h       |   20 ++----
 kernel/trace/trace_syscalls.c |  124 ++++++++++++------------------------------
 3 files changed, 57 insertions(+), 160 deletions(-)
Acked-by on the v1 series
#1 lore raw
Quoted 11 lines · Lai Jiangshan

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

Quoted 8 lines
---
 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.