[lttng-dev] [PATCH lttng-ust 0/2] RFC: Initial ust namespace support

Michael Jeanson mjeanson at efficios.com
Tue Mar 6 15:53:32 EST 2018


This patch set implements namespace related contexts and statedump
events which will be required to add Linux containers support in
our control and analysis tools.

To test this you'll need the corresponding lttng-tools patchset.

Michael Jeanson (2):
  RFC: Add userspace namespace contexts
  RFC: Add userspace vuid/vgid contexts

 include/lttng/ust-abi.h                |  13 ++
 include/lttng/ust-events.h             |  26 ++++
 include/lttng/ust.h                    |  10 ++
 liblttng-ust-fork/ustfork.c            | 250 +++++++++++++++++++++++++++++++++
 liblttng-ust/Makefile.am               |  13 ++
 liblttng-ust/lttng-context-cgroup-ns.c | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-ipc-ns.c    | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-mnt-ns.c    | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-net-ns.c    | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-pid-ns.c    | 122 ++++++++++++++++
 liblttng-ust/lttng-context-user-ns.c   | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-uts-ns.c    | 144 +++++++++++++++++++
 liblttng-ust/lttng-context-vegid.c     | 123 ++++++++++++++++
 liblttng-ust/lttng-context-veuid.c     | 123 ++++++++++++++++
 liblttng-ust/lttng-context-vgid.c      | 123 ++++++++++++++++
 liblttng-ust/lttng-context-vsgid.c     | 129 +++++++++++++++++
 liblttng-ust/lttng-context-vsuid.c     | 130 +++++++++++++++++
 liblttng-ust/lttng-context-vuid.c      | 123 ++++++++++++++++
 liblttng-ust/lttng-context.c           |  65 +++++++++
 liblttng-ust/lttng-events.c            |  26 ++++
 liblttng-ust/lttng-tracer-core.h       |  14 ++
 liblttng-ust/lttng-ust-comm.c          |  91 ++++++++++++
 22 files changed, 2245 insertions(+)
 create mode 100644 liblttng-ust/lttng-context-cgroup-ns.c
 create mode 100644 liblttng-ust/lttng-context-ipc-ns.c
 create mode 100644 liblttng-ust/lttng-context-mnt-ns.c
 create mode 100644 liblttng-ust/lttng-context-net-ns.c
 create mode 100644 liblttng-ust/lttng-context-pid-ns.c
 create mode 100644 liblttng-ust/lttng-context-user-ns.c
 create mode 100644 liblttng-ust/lttng-context-uts-ns.c
 create mode 100644 liblttng-ust/lttng-context-vegid.c
 create mode 100644 liblttng-ust/lttng-context-veuid.c
 create mode 100644 liblttng-ust/lttng-context-vgid.c
 create mode 100644 liblttng-ust/lttng-context-vsgid.c
 create mode 100644 liblttng-ust/lttng-context-vsuid.c
 create mode 100644 liblttng-ust/lttng-context-vuid.c

-- 
2.7.4



More information about the lttng-dev mailing list