Dobby 3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
DobbyTraceCategories.h
1/*
2* If not stated otherwise in this file or this component's LICENSE file the
3* following copyright and licenses apply:
4*
5* Copyright 2020 Sky UK
6*
7* Licensed under the Apache License, Version 2.0 (the "License");
8* you may not use this file except in compliance with the License.
9* You may obtain a copy of the License at
10*
11* http://www.apache.org/licenses/LICENSE-2.0
12*
13* Unless required by applicable law or agreed to in writing, software
14* distributed under the License is distributed on an "AS IS" BASIS,
15* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16* See the License for the specific language governing permissions and
17* limitations under the License.
18*/
19/*
20 * File: DobbyTraceCategories.h
21 */
22
23#ifndef DOBBYTRACECATEGORIES_H
24#define DOBBYTRACECATEGORIES_H
25
26#if (AI_ENABLE_TRACING)
27
28#include <perfetto.h>
29
30// the set of track event categories that the example is using.
31PERFETTO_DEFINE_CATEGORIES(
32 perfetto::Category("Dobby")
33 .SetDescription("Events from code within the Dobby Daemon"),
34 perfetto::Category("Plugins")
35 .SetDescription("Events from the plugin code"),
36 perfetto::Category("NatNetwork")
37 .SetDescription("Events from NAT network setup code"),
38 perfetto::Category("Containers")
39 .SetDescription("Events and counters from running containers"),
40
41);
42
43#endif // AI_ENABLE_TRACING
44
45#endif // DOBBYTRACECATEGORIES_H