From daa968e39ecfa8ad5b753a06382a1b6248ae0283 Mon Sep 17 00:00:00 2001 From: Philippe Proulx Date: Wed, 4 May 2016 16:24:10 -0400 Subject: [PATCH] Propagate default values from configure.ac to asciidoc.conf MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Philippe Proulx Signed-off-by: Jérémie Galarneau --- .gitignore | 1 + configure.ac | 1 + doc/man/Makefile.am | 2 +- doc/man/{asciidoc.conf => asciidoc.conf.in} | 35 +++++++++++++++++++++ 4 files changed, 38 insertions(+), 1 deletion(-) rename doc/man/{asciidoc.conf => asciidoc.conf.in} (53%) diff --git a/.gitignore b/.gitignore index 445e76919..f9fd809e2 100644 --- a/.gitignore +++ b/.gitignore @@ -113,6 +113,7 @@ tests/regression/ust/python-logging/test_python_logging /doc/man/*.8 /doc/man/*.xml /doc/man/*.html +/doc/man/asciidoc.conf !/doc/man/lttng-health-check.3 /benchmark/ diff --git a/configure.ac b/configure.ac index 1d0cf29a7..240d1efba 100644 --- a/configure.ac +++ b/configure.ac @@ -907,6 +907,7 @@ AC_CONFIG_FILES([ Makefile doc/Makefile doc/man/Makefile + doc/man/asciidoc.conf include/Makefile extras/Makefile extras/bindings/Makefile diff --git a/doc/man/Makefile.am b/doc/man/Makefile.am index eca1cb20f..fca79c9d6 100644 --- a/doc/man/Makefile.am +++ b/doc/man/Makefile.am @@ -144,4 +144,4 @@ dist-hook: endif # !MAN_PAGES_OPT # always distribute the source files -EXTRA_DIST = $(MAN_TXT) $(COMMON_TXT) $(XSL_SRC_FILES) $(ASCIIDOC_CONF) +EXTRA_DIST = $(MAN_TXT) $(COMMON_TXT) $(XSL_SRC_FILES) $(ASCIIDOC_CONF).in diff --git a/doc/man/asciidoc.conf b/doc/man/asciidoc.conf.in similarity index 53% rename from doc/man/asciidoc.conf rename to doc/man/asciidoc.conf.in index 70bd7d68a..b264bc6eb 100644 --- a/doc/man/asciidoc.conf +++ b/doc/man/asciidoc.conf.in @@ -116,3 +116,38 @@ template::[header-declarations] endif::backend-docbook[] endif::doctype-manpage[] + +[attributes] +default_agent_tcp_port="@DEFAULT_AGENT_TCP_PORT@" +default_app_socket_rw_timeout="@DEFAULT_APP_SOCKET_RW_TIMEOUT@" +default_channel_subbuf_size="@DEFAULT_CHANNEL_SUBBUF_SIZE@" +default_channel_tracefile_count="@DEFAULT_CHANNEL_TRACEFILE_COUNT@" +default_channel_tracefile_size="@DEFAULT_CHANNEL_TRACEFILE_SIZE@" +default_kernel_channel_live_timer="@DEFAULT_KERNEL_CHANNEL_LIVE_TIMER@" +default_kernel_channel_read_timer="@DEFAULT_KERNEL_CHANNEL_READ_TIMER@" +default_kernel_channel_subbuf_num="@DEFAULT_KERNEL_CHANNEL_SUBBUF_NUM@" +default_kernel_channel_subbuf_size="@DEFAULT_KERNEL_CHANNEL_SUBBUF_SIZE@" +default_kernel_channel_switch_timer="@DEFAULT_KERNEL_CHANNEL_SWITCH_TIMER@" +default_lttng_live_timer="@DEFAULT_LTTNG_LIVE_TIMER@" +default_metadata_cache_size="@DEFAULT_METADATA_CACHE_SIZE@" +default_metadata_read_timer="@DEFAULT_METADATA_READ_TIMER@" +default_metadata_subbuf_num="@DEFAULT_METADATA_SUBBUF_NUM@" +default_metadata_subbuf_size="@DEFAULT_METADATA_SUBBUF_SIZE@" +default_metadata_switch_timer="@DEFAULT_METADATA_SWITCH_TIMER@" +default_network_control_port="@DEFAULT_NETWORK_CONTROL_PORT@" +default_network_data_port="@DEFAULT_NETWORK_DATA_PORT@" +default_network_viewer_port="@DEFAULT_NETWORK_VIEWER_PORT@" +default_ust_pid_channel_live_timer="@DEFAULT_UST_PID_CHANNEL_LIVE_TIMER@" +default_ust_pid_channel_read_timer="@DEFAULT_UST_PID_CHANNEL_READ_TIMER@" +default_ust_pid_channel_subbuf_num="@DEFAULT_UST_PID_CHANNEL_SUBBUF_NUM@" +default_ust_pid_channel_subbuf_size="@DEFAULT_UST_PID_CHANNEL_SUBBUF_SIZE@" +default_ust_pid_channel_switch_timer="@DEFAULT_UST_PID_CHANNEL_SWITCH_TIMER@" +default_ust_uid_channel_live_timer="@DEFAULT_UST_UID_CHANNEL_LIVE_TIMER@" +default_ust_uid_channel_read_timer="@DEFAULT_UST_UID_CHANNEL_READ_TIMER@" +default_ust_uid_channel_subbuf_num="@DEFAULT_UST_UID_CHANNEL_SUBBUF_NUM@" +default_ust_uid_channel_subbuf_size="@DEFAULT_UST_UID_CHANNEL_SUBBUF_SIZE@" +default_ust_uid_channel_switch_timer="@DEFAULT_UST_UID_CHANNEL_SWITCH_TIMER@" +default_agent_bind_address="@DEFAULT_AGENT_BIND_ADDRESS@" +default_network_control_bind_address="@DEFAULT_NETWORK_CONTROL_BIND_ADDRESS@" +default_network_data_bind_address="@DEFAULT_NETWORK_DATA_BIND_ADDRESS@" +default_network_viewer_bind_address="@DEFAULT_NETWORK_VIEWER_BIND_ADDRESS@" -- 2.34.1