lttngtop without arguments starts a local live trace Get rid of the code trying to attach to a live mmap session, since the support for this mode of operation is not going to enter anytime soon in lttng-tools and babeltrace. Instead, we try to create a live session on localhost with all the required parameters and try to attach to it. Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Filter based on procname Get rid of the filter based on the hostname since we don't have yet the required context in LTTng, but replace it with a filter on the procname (with follow-child support). This filter can be combined with the tid filter list and executing a binary as well. Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Handle sys_socket Just set the filename to "socket" when we receive a sys_socket, we don't have much more information at this point, but at least it gives the user some information. Reported-by: David Goulet <dgoulet@efficios.com> Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Make libncurses optional During the configure, if ncurses is not detected, compile only the textdump code and print an error if the user tries to use the GUI. This will allow to create a package with only the textdump code for platforms that don't have/want ncurses packages. Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>