[L] Change in ...nfs-ganesha[next]: LOG: Add LTTng log facility with auto-managed live session
sragraha@redhat.com has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1252502?usp=email ) Change subject: LOG: Add LTTng log facility with auto-managed live session ...................................................................... LOG: Add LTTng log facility with auto-managed live session Register an "LTTNG" log facility that emits messages as LTTng UST tracepoints via GSH_AUTO_TRACEPOINT. Session setup uses the liblttng-ctl C API directly — no lttng CLI needed at runtime. lttng-sessiond and lttng-relayd are auto-launched via posix_spawnp() if not already running, and cleaned up on shutdown. A background reader thread streams live events through babeltrace2 to the configured log file. On success LTTNG becomes the default facility and FILE is disabled to avoid duplicates. If setup fails, FILE remains active — no messages are lost. Gated behind USE_LTTNG (CMake). No new dependencies. Change-Id: Ia95c24fbb2a25c80bb2fdf242d42427cd0d2f92c Signed-off-by: Sreedhar Agraharam <sragraha@redhat.com> --- M src/CMakeLists.txt M src/include/log.h A src/include/log_lttng.h M src/log/CMakeLists.txt M src/log/log_functions.c A src/log/log_lttng.c M src/tracing/CMakeLists.txt 7 files changed, 758 insertions(+), 9 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/02/1252502/1 -- To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/1252502?usp=email To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings?usp=email Gerrit-MessageType: newchange Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-Change-Id: Ia95c24fbb2a25c80bb2fdf242d42427cd0d2f92c Gerrit-Change-Number: 1252502 Gerrit-PatchSet: 1 Gerrit-Owner: sragraha@redhat.com
participants (1)
-
Name of user not set (GerritHub)