[CRIU] [PATCH 0/5] clean up headers

Andrey Vagin avagin at openvz.org
Fri Nov 1 09:21:56 PDT 2013


You don't care about headers, because you don't try to
build CRIU on Rpi;).

This series removes restorer.h from unrelated files, restorer.h
includes too many other headers, so we should avoid its inclusion.

Here are two output if vdso.h is changed.
Without this patches:
  CC       parasite-syscall.o
  CC       cr-restore.o
  CC       security.o
  CC       proc_parse.o
  CC       cr-dump.o
  CC       cr-check.o
  CC       ptrace.o
  CC       shmem.o
  CC       eventfd.o
  CC       eventpoll.o
  CC       mount.o
  CC       fsnotify.o
  CC       signalfd.o
  CC       pstree.o
  CC       tty.o
  CC       sigframe.o
  CC       arch/x86/vdso.o
  LINK     built-in.o

With this patches
  CC       parasite-syscall.o
  CC       cr-restore.o
  CC       proc_parse.o
  CC       cr-dump.o
  CC       pstree.o
  CC       arch/x86/vdso.o
  LINK     built-in.o

Andrey Vagin (5):
  paraiste: don't include vdso.h in parasite-syscall.c
  sigframe: don't include restorer.h
  crtools: don't include restorer.h in proc_parse.h
  shmem: don't include restorer.h in shmem.c
  parasite: don't include restorer.h in parasite-syscall.c

 arch/x86/include/asm/restore.h |  4 ++++
 cr-dump.c                      |  1 +
 include/bug.h                  |  1 +
 include/posix-timer.h          | 24 +++++++++++++++++++
 include/proc_parse.h           | 13 -----------
 include/restorer.h             | 52 +++---------------------------------------
 include/shmem.h                | 40 ++++++++++++++++++++++++++++++++
 include/sigframe.h             |  3 +++
 parasite-syscall.c             |  3 +--
 proc_parse.c                   |  1 +
 security.c                     |  2 ++
 shmem.c                        |  1 -
 sigframe.c                     |  2 +-
 13 files changed, 81 insertions(+), 66 deletions(-)
 create mode 100644 include/posix-timer.h

-- 
1.8.3.1



More information about the CRIU mailing list