libosmovty 1.9.0.196-9975
Osmocom VTY library
cpu_sched_vty.h
Go to the documentation of this file.
1
4/* (C) 2020 by sysmocom - s.f.m.c. GmbH <info@sysmocom.de>
5 *
6 * Author: Pau Espin Pedrol <pespin@sysmocom.de>
7 *
8 * All Rights Reserved
9 *
10 * This program is free software; you can redistribute it and/or modify
11 * it under the terms of the GNU General Public License as published by
12 * the Free Software Foundation; either version 2 of the License, or
13 * (at your option) any later version.
14 *
15 * This program is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 * GNU General Public License for more details.
19 *
20 * You should have received a copy of the GNU General Public License
21 * along with this program. If not, see <http://www.gnu.org/licenses/>.
22 *
23 * SPDX-License-Identifier: GPL-2.0+
24 */
25#pragma once
26
27#include <osmocom/vty/command.h>
28
34void osmo_cpu_sched_vty_init(void *tall_ctx);
36
Zebra configuration command interface routine.
int osmo_cpu_sched_vty_apply_localthread(void)
Apply cpu-affinity on calling thread based on VTY configuration.
Definition: cpu_sched_vty.c:628
void osmo_cpu_sched_vty_init(void *tall_ctx)
Initialize sched VTY nodes.
Definition: cpu_sched_vty.c:601