Get the maximum TCP timeout in sessiond
authorDavid Goulet <dgoulet@efficios.com>
Tue, 27 Aug 2013 19:11:40 +0000 (15:11 -0400)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 27 Aug 2013 19:33:31 +0000 (15:33 -0400)
commitd831c2497e9e8b2360cbe2026fdb2d736fa07641
tree943a425f913c79b5f64baca1f791f879388994cb
parent3757b38542c2ce30ee7319a85662153de08e7f9a
Get the maximum TCP timeout in sessiond

This actually just open some /proc files when calling
lttcomm_init_inet() and computes the maximum value a TCP timeout for
every possible operations (send/recv/connect).

This is the first patch to fix the health check issue of having a
smaller delta than the TCP maximum possible timeout.

Signed-off-by: David Goulet <dgoulet@efficios.com>
src/bin/lttng-sessiond/main.c
src/common/defaults.h
src/common/sessiond-comm/inet.c
src/common/sessiond-comm/inet.h
This page took 0.025216 seconds and 4 git commands to generate.