Skip to content

Commit 5a9070a

Browse files
author
deployBot
committed
Deploy at Wed Apr 17 14:54:15 UTC 2024
1 parent 1791e54 commit 5a9070a

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

_sources/labs/kernel_modules.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1015,7 +1015,7 @@ Extra Exercises
10151015
请指定两种过滤方式。
10161016
10171017
.. hint::
1018-
阅读 `Dynamic debugging`_ 部分并查看 :command:`dyndbg` 的选项(例如 :command:`line` 、:command:`format`)。
1018+
阅读 `动态调试`_ 部分并查看 :command:`dyndbg` 的选项(例如 :command:`line` 、:command:`format`)。
10191019
10201020
执行过滤操作并检查 :file:`dynamic_debug/control` 文件。发生了什么变化?如何知道哪些调用被激活了?
10211021
@@ -1028,7 +1028,7 @@ Extra Exercises
10281028
正如你注意到的那样,只有在插入模块后才能激活/过滤 :c:func:`pr_debug` 调用。在某些情况下,查看模块初始化期间的消息可能会很有帮助。可以通过使用一个名为 :command:`dyndbg` 的默认(伪)参数作为初始化模块的参数来实现。使用此参数,你可以添加/删除 :command:`dyndbg` 标志。
10291029
10301030
.. hint::
1031-
阅读 `Dynamic debugging`_ 部分的最后一部分,查看可用的标志(例如: :command:`+/- p`)。
1031+
阅读 `动态调试`_ 部分的最后一部分,查看可用的标志(例如: :command:`+/- p`)。
10321032
10331033
阅读 `模块初始化时的调试消息部分 <https://01.org/linuxgraphics/gfx-docs/drm/admin-guide/dynamic-debug-howto.html#debug-messages-at-module-initialization-time>`_ ,并插入模块以便在初始化期间显示 :c:func:`my_debug_func`(即 :c:func:`dyndbg_init`)中的消息。
10341034

labs/kernel_modules.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1024,7 +1024,7 @@ <h3>4. 动态调试<a class="headerlink" href="#section-18" title="永久链接
10241024
<p>请指定两种过滤方式。</p>
10251025
<div class="admonition hint">
10261026
<p class="first admonition-title">提示</p>
1027-
<p class="last">阅读 <a href="#system-message-2"><span class="problematic" id="problematic-2">`Dynamic debugging`_</span></a> 部分并查看 <strong class="command">dyndbg</strong> 的选项(例如 <strong class="command">line</strong><strong class="command">format</strong>)。</p>
1027+
<p class="last">阅读 <a class="reference internal" href="#section-8">动态调试</a> 部分并查看 <strong class="command">dyndbg</strong> 的选项(例如 <strong class="command">line</strong><strong class="command">format</strong>)。</p>
10281028
</div>
10291029
<p>执行过滤操作并检查 <code class="file docutils literal"><span class="pre">dynamic_debug/control</span></code> 文件。发生了什么变化?如何知道哪些调用被激活了?</p>
10301030
<div class="admonition hint">
@@ -1037,7 +1037,7 @@ <h3>5. 初始化期间的动态调试<a class="headerlink" href="#section-19" ti
10371037
<p>正如你注意到的那样,只有在插入模块后才能激活/过滤 <code class="xref c c-func docutils literal"><span class="pre">pr_debug()</span></code> 调用。在某些情况下,查看模块初始化期间的消息可能会很有帮助。可以通过使用一个名为 <strong class="command">dyndbg</strong> 的默认(伪)参数作为初始化模块的参数来实现。使用此参数,你可以添加/删除 <strong class="command">dyndbg</strong> 标志。</p>
10381038
<div class="admonition hint">
10391039
<p class="first admonition-title">提示</p>
1040-
<p class="last">阅读 <a href="#system-message-3"><span class="problematic" id="problematic-3">`Dynamic debugging`_</span></a> 部分的最后一部分,查看可用的标志(例如: <strong class="command">+/- p</strong>)。</p>
1040+
<p class="last">阅读 <a class="reference internal" href="#section-8">动态调试</a> 部分的最后一部分,查看可用的标志(例如: <strong class="command">+/- p</strong>)。</p>
10411041
</div>
10421042
<p>阅读 <a class="reference external" href="https://01.org/linuxgraphics/gfx-docs/drm/admin-guide/dynamic-debug-howto.html#debug-messages-at-module-initialization-time">模块初始化时的调试消息部分</a> ,并插入模块以便在初始化期间显示 <code class="xref c c-func docutils literal"><span class="pre">my_debug_func`(即</span> <span class="pre">:c:func:`dyndbg_init()</span></code>)中的消息。</p>
10431043
<div class="admonition warning">

searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)