Merge: Object destroy traces
authorJean Privat <jean@pryen.org>
Thu, 31 May 2018 00:23:07 +0000 (20:23 -0400)
committerJean Privat <jean@pryen.org>
Thu, 31 May 2018 00:23:07 +0000 (20:23 -0400)
commitbd1255c1a79487fb6d04b9bb3fe10894063d3049
tree6f13d6b4920f070bb29f71833351034c2e54b82c
parentd0f34edd4ff3011bb94c29c4b33225822f9a56cd
parentebfab599fa659cdef1b27ac6c7b3b827e721db67
Merge: Object destroy traces

- add destruction traces
- add lttng channel configuration file
- resolve the signed pointer issue by using uintptr_t instead of intptr_t
- resolve the discarded events issue by using a blocking channel mode.

To compile using the trace system: --trace

To test tracing some object instance and destroy events:
lttng load -i=~/nit/src/Nit_Compiler.lttng Nit_Compiler
lttng start
--> run your program
lttng stop

To read your CTF trace file:
babeltrace ~/lttng-traces/Nit_Compiler-.........

Signed-off-by: olivierschirm <olive.schirm@gmail.com>

Pull-Request: #2695
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
Reviewed-by: Jean Privat <jean@pryen.org>