docs/zh_CN: add damon api translation

Translate .../vm/damon/api.rst into Chinese.

Signed-off-by: Yanteng Si <siyanteng@loongson.cn>
Reviewed-by: Alex Shi <alexs@kernel.org>
Link: https://lore.kernel.org/r/3d81dbc79e0f982edd68fb9dfee6f0ccb47f7710.1642230669.git.siyanteng@loongson.cn
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
This commit is contained in:
Yanteng Si 2022-01-15 15:15:03 +08:00 committed by Jonathan Corbet
parent 18e74934dc
commit 722cc663d7
2 changed files with 33 additions and 3 deletions

View File

@ -0,0 +1,32 @@
.. SPDX-License-Identifier: GPL-2.0
:Original: Documentation/vm/damon/api.rst
:翻译:
司延腾 Yanteng Si <siyanteng@loongson.cn>
:校译:
=======
API参考
=======
内核空间的程序可以使用下面的API来使用DAMON的每个功能。你所需要做的就是引用 ``damon.h``
它位于源代码树的include/linux/。
结构体
======
该API在以下内核代码中:
include/linux/damon.h
函数
====
该API在以下内核代码中:
mm/damon/core.c

View File

@ -29,7 +29,5 @@ DAMON是Linux内核的一个数据访问监控框架子系统。DAMON的核心
faq
design
api
TODOLIST:
* api