Move getcpu.h to 'lib/lttng-ust/'
authorMichael Jeanson <mjeanson@efficios.com>
Tue, 6 Apr 2021 16:29:36 +0000 (12:29 -0400)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 13 Apr 2021 18:25:12 +0000 (14:25 -0400)
commit247c2ecd8e17ab02996e45cfa1be254b04161210
tree38b4b6a3a29eb0596868f1aa348ab37a11c20a93
parent5ef57f0b91bef4d6cc2cd77df4d6d82eebf4b0a4
Move getcpu.h to 'lib/lttng-ust/'

Move getcpu.h from 'common/ringbuffer' to 'lib/lttng-ust', the
implementation is there and it provides some liblttng-ust symbols to
other components unrelated to the ringbuffer.

* Namespace internal symbols for clarity
* Add comments to the code.

Change-Id: I93da098dc9f90aa6324ad1ac36eaba1c660f0f64
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
src/common/Makefile.am
src/common/counter/counter-api.h
src/common/ringbuffer/getcpu.h [deleted file]
src/common/ringbuffer/smp.h
src/lib/lttng-ust/Makefile.am
src/lib/lttng-ust/getcpu.c [new file with mode: 0644]
src/lib/lttng-ust/getcpu.h [new file with mode: 0644]
src/lib/lttng-ust/lttng-context-cpu-id.c
src/lib/lttng-ust/lttng-getcpu.c [deleted file]
src/lib/lttng-ust/lttng-ust-comm.c
This page took 0.026262 seconds and 4 git commands to generate.