Preliminary work for full UST support Add hashtable support for all UST data structure. At this point, enable channel and event works with the global UST domain. The interaction with the ust consumer has problems for now thus not working at this stage. NOTICE: This commit does NOT work with the user space tracer yet. Please refer to next commit for working version. Signed-off-by: David Goulet <david.goulet@polymtl.ca>
Fix enable all syscalls The -a -k --syscall was enabling all syscalls and all tracepoints. Fix this issues by adding the enabel_kernel_event_syscalls. At this commit, there is a problem with the list event that does not list correctly all syscalls. Signed-off-by: David Goulet <david.goulet@polymtl.ca>
Major code cleanup Cleanup main.c of the session daemon. The main switch case to handle client command is made more modular and clearer. Each command has a function associated with it beginning by 'cmd_*'. Also adds channel.c/.h and event.c/.h containing helper function to execute client commands. The reste of the modified code is simple cleanup. Some minor bugs were fixed also by this cleanup. All and for all, this makes easier to maintain the session daeamon code base. Signed-off-by: David Goulet <david.goulet@polymtl.ca>