summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/cgroup_iter_memcg.h
blob: ff20ec537164a35a90e5d1696084b47dcc1fb91f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* SPDX-License-Identifier: GPL-2.0 */
/* Copyright (c) 2025 Meta Platforms, Inc. and affiliates. */
#ifndef __CGROUP_ITER_MEMCG_H
#define __CGROUP_ITER_MEMCG_H

struct memcg_query {
	/* some node_stat_item's */
	unsigned long nr_anon_mapped;
	unsigned long nr_shmem;
	unsigned long nr_file_pages;
	unsigned long nr_file_mapped;
	/* some vm_event_item */
	unsigned long pgfault;
};

#endif /* __CGROUP_ITER_MEMCG_H */