]> git.proxmox.com Git - mirror_lxcfs.git/blame - src/api_extensions.h
proc_fuse: add /proc/slabinfo with slab accounting memcg
[mirror_lxcfs.git] / src / api_extensions.h
CommitLineData
ce8fc84c
CB
1/* SPDX-License-Identifier: LGPL-2.1+ */
2
3#ifndef __LXCFS_API_EXTENSIONS_H
4#define __LXCFS_API_EXTENSIONS_H
5
6#include <stdio.h>
7#include <stdlib.h>
8
9#include "config.h"
10
11/*
12 * api_extensions is the list of all API extensions in the order they were
13 * added.
14 */
15static char *api_extensions[] = {
16 "cgroups",
17 "sys_cpu_online",
18 "proc_cpuinfo",
19 "proc_diskstats",
20 "proc_loadavg",
21 "proc_meminfo",
22 "proc_stat",
23 "proc_swaps",
24 "proc_uptime",
6cc153e6 25 "proc_slabinfo",
ce8fc84c
CB
26 "shared_pidns",
27 "cpuview_daemon",
28 "loadavg_daemon",
29 "pidfds",
30};
31
32static size_t nr_api_extensions = sizeof(api_extensions) / sizeof(*api_extensions);
33
34#endif /* __LXCFS_API_EXTENSIONS_H */