Function report |
Source Code:mm\memcontrol.c |
Create Date:2022-07-28 16:14:56 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:swap_events_show
Proto:static int swap_events_show(struct seq_file *m, void *v)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct seq_file * | m | |
| void * | v |
| 7083 | memcg = mem_cgroup_from_seq(m) |
| 7085 | seq_printf(m, "max %lu\n", atomic_long_read( & memory.events [MEMCG_SWAP_MAX])) |
| 7087 | seq_printf(m, "fail %lu\n", atomic_long_read( & memory.events [MEMCG_SWAP_FAIL])) |
| 7090 | Return 0 |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |