]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
lttng: build the tracepoint provider lib from .c files in repo 11196/head
authorKefu Chai <kchai@redhat.com>
Thu, 22 Sep 2016 02:40:17 +0000 (10:40 +0800)
committerKefu Chai <kchai@redhat.com>
Thu, 22 Sep 2016 13:24:02 +0000 (21:24 +0800)
commiteb3f7c558c5eb67e055dbdafb53ea8632df0228b
tree3a6f4d17c00618e9c517a3b7553f9f14788f41a5
parent31b9ff0f699987a4fb062366c2acdd3a68a43097
lttng: build the tracepoint provider lib from .c files in repo

we should not have `TRACEPOINT_DEFINE` deinfed in both the application
we are tracing and the tracing provider library.

* tracing/*.c: reference the header file with path
* README.md: add instructions to add .c file
* CMakeLists.c:
  - compile the .c file in repo, not the one generated by
    lttng-gen-tp
  - no need to mark the generated header file as GENEREATED,
    they are marked so by default (they are listed in OUTPUT)
  - do not generate .c file anymore, they are not used.

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/tracing/CMakeLists.txt
src/tracing/README.md
src/tracing/librados.c
src/tracing/librbd.c
src/tracing/objectstore.c
src/tracing/oprequest.c
src/tracing/osd.c
src/tracing/pg.c