summaryrefslogtreecommitdiffstats
path: root/libnetdata/dictionary
diff options
context:
space:
mode:
authorCosta Tsaousis <costa@netdata.cloud>2022-09-07 16:48:13 +0300
committerGitHub <noreply@github.com>2022-09-07 16:48:13 +0300
commitb8d1ae8de761c616f7e29e43677675c65c119996 (patch)
tree4bf84716f6a7c32528e2f42527fe77b4d513cb55 /libnetdata/dictionary
parent3f6a75250d8251b0142248ed2f33f7d857ee21c8 (diff)
Updated tc.plugin (linux bandwidth QoS) (#13634)
* modernized tc plugins (replacing AVL with DICTIONARY, char * with STRING *, linked list with DICTIONARY) and added labels * replace custom metrics with worker metrics and add monitoring number of devices and classes * revert bool to char * Revert "revert bool to char" This reverts commit fae9b92dc0be4b00a5694f8b90972787879ae8a7. * fixed typo * removed bitfield from bool * commented unused function * commented unused function again
Diffstat (limited to 'libnetdata/dictionary')
-rw-r--r--libnetdata/dictionary/dictionary.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libnetdata/dictionary/dictionary.h b/libnetdata/dictionary/dictionary.h
index 3cda4baf8e..94f3999438 100644
--- a/libnetdata/dictionary/dictionary.h
+++ b/libnetdata/dictionary/dictionary.h
@@ -199,6 +199,7 @@ typedef DICTFE_CONST struct dictionary_foreach {
#define dfe_start_read(dict, value) dfe_start_rw(dict, value, DICTIONARY_LOCK_READ)
#define dfe_start_write(dict, value) dfe_start_rw(dict, value, DICTIONARY_LOCK_WRITE)
#define dfe_start_reentrant(dict, value) dfe_start_rw(dict, value, DICTIONARY_LOCK_REENTRANT)
+#define dfe_start_unsafe(dict, value) dfe_start_rw(dict, value, DICTIONARY_LOCK_NONE)
#define dfe_start_rw(dict, value, mode) \
do { \
DICTFE value ## _dfe = {}; \