Fix: tests: extra arguments are not passed to the remove trigger command
[lttng-tools.git] / src / common / domain.c
CommitLineData
c0374092
JR
1/*
2 * Copyright (C) 2020 Simon Marchi <simon.marchi@efficios.com>
3 *
4 * SPDX-License-Identifier: LGPL-2.1-only
5 *
6 */
7
8#include "lttng/domain-internal.h"
9#include "common/macros.h"
10
11LTTNG_HIDDEN
12const char *lttng_domain_type_str(enum lttng_domain_type domain_type)
13{
14 switch (domain_type) {
15 case LTTNG_DOMAIN_NONE:
16 return "none";
17 case LTTNG_DOMAIN_KERNEL:
18 return "kernel";
19 case LTTNG_DOMAIN_UST:
20 return "ust";
21 case LTTNG_DOMAIN_JUL:
22 return "jul";
23 case LTTNG_DOMAIN_LOG4J:
24 return "log4j";
25 case LTTNG_DOMAIN_PYTHON:
26 return "python";
27 default:
28 return "???";
29 }
30}
This page took 0.028422 seconds and 4 git commands to generate.