Move lttng wrappers into own module
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 4 May 2020 18:52:13 +0000 (14:52 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 4 May 2020 19:46:21 +0000 (15:46 -0400)
commit1c999280e7f232e6c2e41d8c76020e795a649648
treedaabbe23240d9cf0e6610ecd48267a53530f8fba
parenta70082545931d638aca82b7c4f5253f1880d3c25
Move lttng wrappers into own module

Currently, we only pull the wrapper symbols into a single sub-module,
either:

lttng-tracer.o:
  - wrapper/random.o
  - wrapper/trace-clock.o
  - wrapper/page_alloc.o

or

lttng-statedump.o:
  - wrapper/irqdesc.o
  - wrapper/fdtable.o

Because lttng-tracer depends on lttng-statedump, we cannot just put all
wrappers into lttng-tracer.o, because it would create a circular
dependency. This will be an issue if we introduce common wrappers which
are used in both lttng-tracer.o and in lttng-statedump.o.

Introduce a new lttng-wrapper.o to contain all wrapper symbols for all
lttng modules.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Makefile
lttng-wrapper-impl.c [new file with mode: 0644]
wrapper/irqdesc.c
wrapper/page_alloc.c
wrapper/random.c
This page took 0.027838 seconds and 4 git commands to generate.