@dberesford, nearForm.
A specialised use of logging to record information about a programs execution
sudo find /sys/kernel/debug/tracing/events -type dopen, connect, accept, read, select/pollsys_enter_open, sys_exit_open, sys_enter_connect, sys_exit_connect, etc
lttng create my-sessionlttng enable-event --kernel --alllttng add-context -k -t pid -t vpidlttng startdo stuff!lttng stoplttng destroy
TRACEPOINT_EVENT(
hello_world,
my_first_tracepoint,
TP_ARGS(
int, my_integer_arg,
char*, my_string_arg
), TP_FIELDS(
ctf_string(my_string_field, my_string_arg)
ctf_integer(int, my_integer_field, my_integer_arg)
)
)
...
tracepoint(hello_world, my_first_tracepoint, 23, "hi there!");
io.js FTW!
io.js Debugging and Tracing