X-Git-Url: https://git.lttng.org/?p=lttng-tools.git;a=blobdiff_plain;f=src%2Fcommon%2Fdefaults.h;h=1e4b7fac7ab7d5d500ddd84985b76051dfefef49;hp=56a7c94490014ae5cda156659dcb8c24a8609c2e;hb=d42266a417afa6e8ca6024590b8282002aebca07;hpb=5c0551f9f5b0d30cf9fb7fb148720b99a5c9b24e diff --git a/src/common/defaults.h b/src/common/defaults.h index 56a7c9449..1e4b7fac7 100644 --- a/src/common/defaults.h +++ b/src/common/defaults.h @@ -1,20 +1,10 @@ /* - * Copyright (C) 2011 - David Goulet - * Mathieu Desnoyers - * 2015 - Jérémie Galarneau + * Copyright (C) 2011 David Goulet + * Copyright (C) 2011 Mathieu Desnoyers + * Copyright (C) 2015 Jérémie Galarneau * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License, version 2 only, - * as published by the Free Software Foundation. + * SPDX-License-Identifier: GPL-2.0-only * - * This program is distributed in the hope that it will be useful, but WITHOUT - * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or - * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for - * more details. - * - * You should have received a copy of the GNU General Public License along - * with this program; if not, write to the Free Software Foundation, Inc., - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ #ifndef _DEFAULTS_H @@ -95,7 +85,7 @@ #define DEFAULT_RELAYD_MIN_FD_POOL_SIZE 100 /* - * The file descriptor pool size needs a reserve buffer to accomodate the + * The file descriptor pool size needs a reserve buffer to accommodates the * indirect use of short-lived file descriptors. For instance, glibc will * create a socket (and thus, use an fd) during calls to gethostname() or * when querying the user's group. Other calls also probably make use of @@ -220,9 +210,10 @@ #define DEFAULT_METADATA_SUBBUF_SIZE CONFIG_DEFAULT_METADATA_SUBBUF_SIZE #define DEFAULT_METADATA_SUBBUF_NUM CONFIG_DEFAULT_METADATA_SUBBUF_NUM #define DEFAULT_METADATA_CACHE_SIZE CONFIG_DEFAULT_METADATA_CACHE_SIZE -#define DEFAULT_METADATA_SWITCH_TIMER CONFIG_DEFAULT_METADATA_SWITCH_TIMER -#define DEFAULT_METADATA_READ_TIMER CONFIG_DEFAULT_METADATA_READ_TIMER -#define DEFAULT_METADATA_OUTPUT _DEFAULT_CHANNEL_OUTPUT +#define DEFAULT_METADATA_SWITCH_TIMER 0 +#define DEFAULT_METADATA_READ_TIMER 0 +#define DEFAULT_METADATA_OVERWRITE 0 +#define DEFAULT_METADATA_OUTPUT LTTNG_EVENT_MMAP /* Kernel has different defaults */ @@ -371,6 +362,7 @@ #define DEFAULT_CHUNK_TMP_OLD_DIRECTORY ".tmp_old_chunk" #define DEFAULT_CHUNK_TMP_NEW_DIRECTORY ".tmp_new_chunk" #define DEFAULT_ARCHIVED_TRACE_CHUNKS_DIRECTORY "archives" +#define DEFAULT_UNLINKED_FILES_DIRECTORY ".unlinked" /* * Default timer value in usec for the rotate pending polling check on the