Skip to content

trace_syscalls: remove duplications

Lai Jiangshan lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest7 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/7trace_syscalls: remove unused event_syscall_enter and event_syscall_exitinclude/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+2 -125 replies
2/7trace_syscalls: set event_enter_##sname->data to its metadatainclude/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+16 -281 reply
3/7trace_syscalls: remove enter_id exit_idinclude/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+10 -281 reply
4/7trace_syscalls: add syscall_nr field to struct syscall_metadatainclude/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+13 -161 reply
5/7trace_syscalls: remove duplicate init_enter_##sname()include/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+15 -281 reply
6/7trace_syscalls: simplify syscall profileinclude/linux/syscalls.h include/trace/syscall.h kernel/trace/trace_syscalls.c+16 -472 replies
7/7trace_syscalls: remove unused syscall_name_to_nr()kernel/trace/trace_syscalls.c+0 -161 reply

Reviews trailers per patch

All 7 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchJason Baron
SeriesA-b
1/7A-b
2/7A-b
3/7A-b
4/7A-b
5/7A-b
6/7A-b
7/7A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/7] 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(-)