1 /* SPDX-License-Identifier: BSD-3-Clause
2 * Copyright(c) 2018 Intel Corporation
13 * Setup the Branch Monitor resources required to initialize epoll.
14 * Must be called first before calling other functions.
18 * - Negative on error.
20 int branch_monitor_init(void);
23 * Run the OOB branch monitor, loops forever on on epoll_wait.
29 void run_branch_monitor(void);
32 * Exit the OOB Branch Monitor.
37 void branch_monitor_exit(void);
40 * Add a core to the list of cores to monitor.
47 * - Negative on error.
49 int add_core_to_monitor(int core);
52 * Remove a previously added core from core list.
59 * - Negative on error.
61 int remove_core_from_monitor(int core);
68 #endif /* OOB_MONITOR_H_ */