Skip to content

Commit

Permalink
doc/zh_CN: add clearing-warn-once Chinese version
Browse files Browse the repository at this point in the history
and link it into admin-guide.

Signed-off-by: Alex Shi <[email protected]>
Cc: Harry Wei <[email protected]>
Cc: Jonathan Corbet <[email protected]>
Cc: [email protected]
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Corbet <[email protected]>
  • Loading branch information
alexshi authored and Jonathan Corbet committed Jul 23, 2020
1 parent 37a607c commit 71fc2eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
清除 WARN_ONCE
--------------

WARN_ONCE / WARN_ON_ONCE / printk_once 仅仅打印一次消息.

echo 1 > /sys/kernel/debug/clear_warn_once

可以清除这种状态并且再次允许打印一次告警信息,这对于运行测试集后重现问题
很有用。
15 changes: 14 additions & 1 deletion Documentation/translations/zh_CN/admin-guide/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Linux 内核用户和管理员指南

这个初始部分包含总体信息,包括描述内核的README, 关于内核参数的文档等。

Todolist:

README
kernel-parameters
Expand All @@ -21,10 +22,13 @@ Linux 内核用户和管理员指南

本节介绍CPU漏洞及其缓解措施。

Todolist:

hw-vuln/index

下面的一组文档,针对的是试图跟踪问题和bug的用户。

Todolist:

reporting-bugs
security-bugs
Expand All @@ -40,10 +44,20 @@ Linux 内核用户和管理员指南
这是应用程序开发人员感兴趣的章节的开始。可以在这里找到涵盖内核ABI各个
方面的文档。

Todolist:

sysfs-rules

本手册的其余部分包括各种指南,介绍如何根据您的喜好配置内核的特定行为。


.. toctree::
:maxdepth: 1

clearing-warn-once

Todolist:

acpi/index
aoe/index
auxdisplay/index
Expand All @@ -57,7 +71,6 @@ Linux 内核用户和管理员指南
cgroup-v1/index
cgroup-v2
cifs/index
clearing-warn-once
cpu-load
cputopology
dell_rbu
Expand Down

0 comments on commit 71fc2eb

Please sign in to comment.