Clean-up: modernize pretty_xml.cpp
[lttng-tools.git] / src / bin / lttng-sessiond / event-notifier-error-accounting.h
diff --git a/src/bin/lttng-sessiond/event-notifier-error-accounting.h b/src/bin/lttng-sessiond/event-notifier-error-accounting.h
deleted file mode 100644 (file)
index 1dea739..0000000
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Copyright (C) 2020 Francis Deslauriers <francis.deslauriers@efficios.com>
- *
- * SPDX-License-Identifier: GPL-2.0-only
- *
- */
-
-#ifndef _EVENT_NOTIFIER_ERROR_ACCOUNTING_H
-#define _EVENT_NOTIFIER_ERROR_ACCOUNTING_H
-
-#include <stdint.h>
-#include <lttng/trigger/trigger.h>
-
-enum event_notifier_error_accounting_status {
-       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_OK,
-       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_ERR,
-       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_NOT_FOUND,
-       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_NOMEM,
-       EVENT_NOTIFIER_ERROR_ACCOUNTING_STATUS_NO_INDEX_AVAILABLE,
-};
-
-enum event_notifier_error_accounting_status
-event_notifier_error_accounting_init(uint64_t nb_bucket);
-
-enum event_notifier_error_accounting_status
-event_notifier_error_accounting_register_kernel(
-               int kernel_event_notifier_group_fd);
-
-enum event_notifier_error_accounting_status
-event_notifier_error_accounting_register_event_notifier(
-               const struct lttng_trigger *trigger,
-               uint64_t *error_counter_index);
-
-enum event_notifier_error_accounting_status
-event_notifier_error_accounting_get_count(
-               const struct lttng_trigger *trigger,
-               uint64_t *count);
-
-void event_notifier_error_accounting_unregister_event_notifier(
-               const struct lttng_trigger *trigger);
-
-void event_notifier_error_accounting_fini(void);
-
-#endif /* _EVENT_NOTIFIER_ERROR_ACCOUNTING_H */
This page took 0.023681 seconds and 4 git commands to generate.