master
c 157 lines 3.16 KB
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 #include "test_cgroups_plugin.h"
4
5 void rrdset_is_obsolete___safe_from_collector_thread(RRDSET *st)
6 {
7 UNUSED(st);
8 }
9
10 void rrdset_isnot_obsolete___safe_from_collector_thread(RRDSET *st)
11 {
12 UNUSED(st);
13 }
14
15 struct mountinfo *mountinfo_read(int do_statvfs)
16 {
17 UNUSED(do_statvfs);
18
19 return NULL;
20 }
21
22 struct mountinfo *
23 mountinfo_find_by_filesystem_mount_source(struct mountinfo *root, const char *filesystem, const char *mount_source)
24 {
25 UNUSED(root);
26 UNUSED(filesystem);
27 UNUSED(mount_source);
28
29 return NULL;
30 }
31
32 struct mountinfo *
33 mountinfo_find_by_filesystem_super_option(struct mountinfo *root, const char *filesystem, const char *super_options)
34 {
35 UNUSED(root);
36 UNUSED(filesystem);
37 UNUSED(super_options);
38
39 return NULL;
40 }
41
42 void mountinfo_free_all(struct mountinfo *mi)
43 {
44 UNUSED(mi);
45 }
46
47 RRDSET *rrdset_create_custom(
48 RRDHOST *host, const char *type, const char *id, const char *name, const char *family, const char *context,
49 const char *title, const char *units, const char *plugin, const char *module, long priority, int update_every,
50 RRDSET_TYPE chart_type, RRD_DB_MODE memory_mode, long history_entries)
51 {
52 UNUSED(host);
53 UNUSED(type);
54 UNUSED(id);
55 UNUSED(name);
56 UNUSED(family);
57 UNUSED(context);
58 UNUSED(title);
59 UNUSED(units);
60 UNUSED(plugin);
61 UNUSED(module);
62 UNUSED(priority);
63 UNUSED(update_every);
64 UNUSED(chart_type);
65 UNUSED(memory_mode);
66 UNUSED(history_entries);
67
68 return NULL;
69 }
70
71 RRDDIM *rrddim_add_custom(
72 RRDSET *st, const char *id, const char *name, collected_number multiplier, collected_number divisor,
73 RRD_ALGORITHM algorithm, RRD_DB_MODE memory_mode)
74 {
75 UNUSED(st);
76 UNUSED(id);
77 UNUSED(name);
78 UNUSED(multiplier);
79 UNUSED(divisor);
80 UNUSED(algorithm);
81 UNUSED(memory_mode);
82
83 return NULL;
84 }
85
86 collected_number rrddim_set(RRDSET *st, const char *id, collected_number value)
87 {
88 UNUSED(st);
89 UNUSED(id);
90 UNUSED(value);
91
92 return 0;
93 }
94
95 collected_number rrddim_set_by_pointer(RRDSET *st, RRDDIM *rd, collected_number value)
96 {
97 UNUSED(st);
98 UNUSED(rd);
99 UNUSED(value);
100
101 return 0;
102 }
103
104 const RRDVAR_ACQUIRED *rrdvar_chart_variable_add_and_acquire(RRDSET *st, const char *name)
105 {
106 UNUSED(st);
107 UNUSED(name);
108
109 return NULL;
110 }
111
112 void rrdvar_chart_variable_set(RRDSET *st, const RRDVAR_ACQUIRED *rsa, NETDATA_DOUBLE value)
113 {
114 UNUSED(st);
115 UNUSED(rsa);
116 UNUSED(value);
117 }
118
119 void rrdset_next_usec(RRDSET *st, usec_t microseconds)
120 {
121 UNUSED(st);
122 UNUSED(microseconds);
123 }
124
125 void rrdset_done(RRDSET *st)
126 {
127 UNUSED(st);
128 }
129
130 void update_pressure_charts(struct pressure_charts *charts)
131 {
132 UNUSED(charts);
133 }
134
135 void netdev_rename_device_add(
136 const char *host_device, const char *container_device, const char *container_name, DICTIONARY *labels, const char *ctx_prefix)
137 {
138 UNUSED(host_device);
139 UNUSED(container_device);
140 UNUSED(container_name);
141 UNUSED(labels);
142 UNUSED(ctx_prefix);
143 }
144
145 void netdev_rename_device_del(const char *host_device)
146 {
147 UNUSED(host_device);
148 }
149
150 void rrdcalc_update_rrdlabels(RRDSET *st) {
151 (void)st;
152 }
153
154 void db_execute(const char *cmd)
155 {
156 UNUSED(cmd);
157 }