2 * Copyright (C) 2020 - EfficiOS, inc.
4 * This program is free software; you can redistribute it and/or modify it
5 * under the terms of the GNU General Public License, version 2 only, as
6 * published by the Free Software Foundation.
8 * This program is distributed in the hope that it will be useful, but WITHOUT
9 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
10 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
13 * You should have received a copy of the GNU General Public License along with
14 * this program; if not, write to the Free Software Foundation, Inc., 51
15 * Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
18 #include "lttng/domain-internal.h"
19 #include "common/macros.h"
22 const char *lttng_domain_type_str(enum lttng_domain_type domain_type
)
24 switch (domain_type
) {
25 case LTTNG_DOMAIN_NONE
:
28 case LTTNG_DOMAIN_KERNEL
:
31 case LTTNG_DOMAIN_UST
:
34 case LTTNG_DOMAIN_JUL
:
37 case LTTNG_DOMAIN_LOG4J
:
40 case LTTNG_DOMAIN_PYTHON
: