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>
Fri, 8 May 2020 17:41:42 +0000 (13:41 -0400)
commitd4d4da49b06f3000a70ce246a3ac991a0f9d6cc5
treec963320687e890d4470578ebf96090e68dd7e256
parent8b7bb83e1100aa3c3e22148b27358b0d9a81786b
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.039705 seconds and 4 git commands to generate.