diff options
author | Yanteng Si <siyanteng01@gmail.com> | 2022-01-15 15:15:03 +0800 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2022-01-27 11:39:40 -0700 |
commit | 722cc663d79c80051cbd57de0336582c8e3cbf93 (patch) | |
tree | 46c6952a1b2bcc6f25f86600e3430825bbc64af2 /Documentation/translations | |
parent | 18e74934dc4a65ff1dfb24b83f9778ded0f247dd (diff) | |
download | linux-stable-722cc663d79c80051cbd57de0336582c8e3cbf93.tar.gz linux-stable-722cc663d79c80051cbd57de0336582c8e3cbf93.tar.bz2 linux-stable-722cc663d79c80051cbd57de0336582c8e3cbf93.zip |
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>
Diffstat (limited to 'Documentation/translations')
-rw-r--r-- | Documentation/translations/zh_CN/vm/damon/api.rst | 32 | ||||
-rw-r--r-- | Documentation/translations/zh_CN/vm/damon/index.rst | 4 |
2 files changed, 33 insertions, 3 deletions
diff --git a/Documentation/translations/zh_CN/vm/damon/api.rst b/Documentation/translations/zh_CN/vm/damon/api.rst new file mode 100644 index 000000000000..21143eea4ebe --- /dev/null +++ b/Documentation/translations/zh_CN/vm/damon/api.rst @@ -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 diff --git a/Documentation/translations/zh_CN/vm/damon/index.rst b/Documentation/translations/zh_CN/vm/damon/index.rst index 077db7e4326f..84d36d90c9b0 100644 --- a/Documentation/translations/zh_CN/vm/damon/index.rst +++ b/Documentation/translations/zh_CN/vm/damon/index.rst @@ -29,7 +29,5 @@ DAMON是Linux内核的一个数据访问监控框架子系统。DAMON的核心 faq design + api -TODOLIST: - -* api |