| From c5a01b5bc65750f24477ad8b105585237cf6a569 Mon Sep 17 00:00:00 2001 |
| From: Sasha Levin <sashal@kernel.org> |
| Date: Wed, 16 Apr 2025 09:40:50 +0700 |
| Subject: Documentation: trace: Refactor toctree |
| |
| From: Purva Yeshi <purvayeshi550@gmail.com> |
| |
| [ Upstream commit f0ba72e65516d1d86f40c79a49c4ba01c9555592 ] |
| |
| Refactor table of contents of kernel tracing subsystem docs to improve |
| clarity, structure, and organization: |
| |
| - Reformat sections and add appropriate headings |
| - Improve section grouping and refine descriptions for each group |
| - Add docs intro paragraph |
| |
| Signed-off-by: Purva Yeshi <purvayeshi550@gmail.com> |
| Link: https://lore.kernel.org/r/20250318113230.24950-2-purvayeshi550@gmail.com |
| [Bagas: massage commit message and address reviews] |
| Co-developed-by: Bagas Sanjaya <bagasdotme@gmail.com> |
| Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> |
| Acked-by: Steven Rostedt (Google) <rostedt@goodmis.org> |
| Signed-off-by: Jonathan Corbet <corbet@lwn.net> |
| Stable-dep-of: 8236fc613d44 ("Documentation: tracing: Add PCI tracepoint documentation") |
| Signed-off-by: Sasha Levin <sashal@kernel.org> |
| --- |
| Documentation/trace/index.rst | 96 +++++++++++++++++++++++++++++------ |
| 1 file changed, 80 insertions(+), 16 deletions(-) |
| |
| diff --git a/Documentation/trace/index.rst b/Documentation/trace/index.rst |
| index 2c991dc96ace6..770d3bece22c3 100644 |
| --- a/Documentation/trace/index.rst |
| +++ b/Documentation/trace/index.rst |
| @@ -1,39 +1,103 @@ |
| -========================== |
| -Linux Tracing Technologies |
| -========================== |
| +================================ |
| +Linux Tracing Technologies Guide |
| +================================ |
| + |
| +Tracing in the Linux kernel is a powerful mechanism that allows |
| +developers and system administrators to analyze and debug system |
| +behavior. This guide provides documentation on various tracing |
| +frameworks and tools available in the Linux kernel. |
| + |
| +Introduction to Tracing |
| +----------------------- |
| + |
| +This section provides an overview of Linux tracing mechanisms |
| +and debugging approaches. |
| |
| .. toctree:: |
| :maxdepth: 2 |
| |
| - ftrace-design |
| + debugging |
| + tracepoints |
| tracepoint-analysis |
| + ring-buffer-map |
| + |
| +Core Tracing Frameworks |
| +----------------------- |
| + |
| +The following are the primary tracing frameworks integrated into |
| +the Linux kernel. |
| + |
| +.. toctree:: |
| + :maxdepth: 1 |
| + |
| ftrace |
| + ftrace-design |
| ftrace-uses |
| - fprobe |
| kprobes |
| kprobetrace |
| - uprobetracer |
| fprobetrace |
| - tracepoints |
| + fprobe |
| + ring-buffer-design |
| + |
| +Event Tracing and Analysis |
| +-------------------------- |
| + |
| +A detailed explanation of event tracing mechanisms and their |
| +applications. |
| + |
| +.. toctree:: |
| + :maxdepth: 1 |
| + |
| events |
| events-kmem |
| events-power |
| events-nmi |
| events-msr |
| - mmiotrace |
| + boottime-trace |
| histogram |
| histogram-design |
| - boottime-trace |
| - debugging |
| - hwlat_detector |
| - osnoise-tracer |
| - timerlat-tracer |
| + |
| +Hardware and Performance Tracing |
| +-------------------------------- |
| + |
| +This section covers tracing features that monitor hardware |
| +interactions and system performance. |
| + |
| +.. toctree:: |
| + :maxdepth: 1 |
| + |
| intel_th |
| - ring-buffer-design |
| - ring-buffer-map |
| stm |
| sys-t |
| coresight/index |
| - user_events |
| rv/index |
| hisi-ptt |
| + mmiotrace |
| + hwlat_detector |
| + osnoise-tracer |
| + timerlat-tracer |
| + |
| +User-Space Tracing |
| +------------------ |
| + |
| +These tools allow tracing user-space applications and |
| +interactions. |
| + |
| +.. toctree:: |
| + :maxdepth: 1 |
| + |
| + user_events |
| + uprobetracer |
| + |
| +Additional Resources |
| +-------------------- |
| + |
| +For more details, refer to the respective documentation of each |
| +tracing tool and framework. |
| + |
| +.. only:: subproject and html |
| + |
| + Indices |
| + ======= |
| + |
| + * :ref:`genindex` |
| -- |
| 2.51.0 |
| |