On Mon, Oct 21, 2019 at 11:54:06AM -0700, Matthew Wilcox wrote:
> On Sun, Oct 20, 2019 at 09:23:23PM +0800, Changbin Du wrote:
> > The message "Function parameter or member ..." looks weird.
> >
> > Signed-off-by: Changbin Du
> > ---
> > scripts/kern
*/
3) + 92.730 us | } /* ret=0xfffb/-5 */
Checking above fgraph output, we can easily know the original error is
raised from function vmx_create_vcpu().
Signed-off-by: Changbin Du
Cc: Steven Rostedt
---
Documentation/trace/ftrace.rst | 5
arch/arm/kernel/entry-ftrace.S
On Mon, Jul 15, 2019 at 12:12:31PM +0200, Peter Zijlstra wrote:
> On Mon, Jul 15, 2019 at 09:29:30AM +0100, Will Deacon wrote:
> > On Sat, Jul 13, 2019 at 08:10:26PM +0800, Changbin Du wrote:
> > > This patch adds a new trace option 'funcgraph-retval' and is disabled
gned value, it is always printed as decimal number.
o For unsigned value,
- For value has size great than 8, it is printed as '{..}'.
- For value has size of 1,2,4,8, it is printed as hexadecimal number.
- If failed to record a parameter, it is printed as '?'.
Move ftrace tools to its own directory. We will add another tool later.
Cc: John F. Reiser
Signed-off-by: Changbin Du
---
scripts/.gitignore | 1 -
scripts/Makefile | 2 +-
scripts/Makefile.build | 10 +-
scripts/ftrace/.gitignore
nr_param;
struct func_param params[0];
} __packed;
Signed-off-by: Changbin Du
---
kernel/trace/Kconfig | 19 ++
scripts/Makefile.build | 18 +-
scripts/ftrace/.gitignore | 2 +
scripts/ftrace/Makefile| 7 +-
scripts/ftrace/funcprototype.c | 576 ++
When CONFIG_FTRACE_FUNC_PROTOTYPE is enabled, thousands of
ftrace_func_entry instances are created. So create a dedicated
memcache to enhance performance.
Signed-off-by: Changbin Du
---
kernel/trace/ftrace.c | 17 -
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a
We will reuse ftrace_hash to lookup function prototype information. So
we need an additional field to bind ftrace_func_entry to prototype
information.
Signed-off-by: Changbin Du
---
kernel/trace/ftrace.c | 17 +++--
kernel/trace/trace.h | 6 ++
2 files changed, 13 insertions
Add generic DWARF constant definitions. We will use it later.
Signed-off-by: Changbin Du
---
include/asm-generic/dwarf.h | 199
1 file changed, 199 insertions(+)
create mode 100644 include/asm-generic/dwarf.h
diff --git a/include/asm-generic/dwarf.h b
Walk through the '__funcproto' section in vmlinux and kernel modules.
For each item we add it to a new ftrace hash table ftrace_prototype_hash.
When unloading a module, its items are removed from hash table.
Signed-off-by: Changbin Du
---
include/asm-generic/vmlinux.lds.h | 18 +++
This patch implements the arch_fgraph_record_params() function for x86_64
platform and deliver the return value of function to ftrace core part.
Signed-off-by: Changbin Du
---
arch/x86/Kconfig| 1 +
arch/x86/kernel/ftrace.c| 84 +++--
arch/x86
e has size great than 8, it is printed as '{..}'.
- For value has size of 1,2,4,8, it is printed as hexadecimal number.
- If failed to record a parameter, it is printed as '?'.
Signed-off-by: Changbin Du
---
include/linux/ftrace.h | 27
Just add the doc for our new feature.
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace.rst | 6 ++
1 file changed, 6 insertions(+)
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index f60079259669..c68fbbedb8bd 100644
--- a/Documentation/trace
To record function parameter and return value, we need the arch specific
code to pass the saved register context. It is only valid if the
CONFIG_FTRACE_FUNC_PROTOTYPE feature is enabled. This patch only changes
the interfaces, real implementation will be added later.
Signed-off-by: Changbin Du
Make scripts/ftrace/ maintained and I would like to help with reviewing
related patches.
Signed-off-by: Changbin Du
---
MAINTAINERS | 2 ++
1 file changed, 2 insertions(+)
diff --git a/MAINTAINERS b/MAINTAINERS
index 9cbcf167bdd0..ca012ea260d7 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
Hi, Peter,
On Mon, Aug 26, 2019 at 09:42:15AM +0200, Peter Zijlstra wrote:
> On Sun, Aug 25, 2019 at 09:23:22PM +0800, Changbin Du wrote:
> > Add generic DWARF constant definitions. We will use it later.
> >
> > Signed-off-by: Changbin Du
> > ---
> >
On Mon, Aug 26, 2019 at 09:44:37AM +0200, Peter Zijlstra wrote:
> On Sun, Aug 25, 2019 at 09:23:24PM +0800, Changbin Du wrote:
> > When CONFIG_FTRACE_FUNC_PROTOTYPE is enabled, thousands of
> > ftrace_func_entry instances are created. So create a dedicated
> > memcache t
On Mon, Aug 26, 2019 at 06:44:44PM -0400, Steven Rostedt wrote:
> On Sun, 25 Aug 2019 21:23:20 +0800
> Changbin Du wrote:
>
> > Move ftrace tools to its own directory. We will add another tool later.
> >
> > Cc: John F. Reiser
> > Signed-off-by: Changbin Du
The message "Function parameter or member ..." looks weird.
Signed-off-by: Changbin Du
---
scripts/kernel-doc | 9 +++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/scripts/kernel-doc b/scripts/kernel-doc
index 81dc91760b23..cd3d2ca52c34 100755
--- a/scripts/
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
The description about struct pci_driver and struct pci_device_id are moved
into in-source comments.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pci-iov
Add a index.rst for PCI subsystem. More docs will be added later.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/index.rst | 9 +
Documentation/index.rst | 1 +
2 files changed, 10 insertions(+)
create mode 100644 Documentation/PCI/index.rst
diff --git a
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{PCIEBUS
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/endpoint/index.rst | 10 ++
.../{pci-endpoint.txt => pci-endpoint.rst}|
!
v2: trivial style update.
v3: update titles. (Bjorn Helgaas)
v4: fix comments from Mauro Carvalho Chehab
Changbin Du (12):
Documentation: add Linux PCI to Sphinx TOC tree
Documentation: PCI: convert pci.txt to reST
Documentation: PCI: convert PCIEBUS-HOWTO.txt to reST
Documentation: PCI
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
v2:
o drop numbering.
o simplify author list
---
Documentation/PCI
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...-endpoint
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
...or-recovery.txt =>
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
.../PCI/{acpi-info.txt => acpi-info.rst} |
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pcieaer-howto.txt
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...{pci-test
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/endpoint/index.rst | 1 +
...est-function.txt => pci-test-function.rst} |
On Sun, May 12, 2019 at 07:22:13AM -0700, Joe Perches wrote:
> On Sun, 2019-05-12 at 20:50 +0800, Changbin Du wrote:
> > This converts the plain text documentation to reStructuredText format and
> > add it to Sphinx TOC tree. No essential content change.
> []
> > di
!
v2: trivial style update.
v3: update titles. (Bjorn Helgaas)
v4: fix comments from Mauro Carvalho Chehab
v5: update MAINTAINERS (Joe Perches)
Changbin Du (12):
Documentation: add Linux PCI to Sphinx TOC tree
Documentation: PCI: convert pci.txt to reST
Documentation: PCI: convert PCIEBUS
Add a index.rst for PCI subsystem. More docs will be added later.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/index.rst | 9 +
Documentation/index.rst | 1 +
2 files changed, 10 insertions(+)
create mode 100644 Documentation/PCI/index.rst
diff --git a
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{PCIEBUS
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
The description about struct pci_driver and struct pci_device_id are moved
into in-source comments.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pci-iov
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
v2:
o drop numbering.
o simplify author list
---
Documentation/PCI
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
.../PCI/{acpi-info.txt => acpi-info.rst} |
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
...or-recovery.txt =>
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pcieaer-howto.txt
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/endpoint/index.rst | 10 ++
.../{pci-endpoint.txt => pci-endpoint.rst}|
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...-endpoint
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/endpoint/index.rst | 1 +
...est-function.txt => pci-test-function.rst} |
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...{pci-test
On Mon, May 13, 2019 at 12:01:54PM -0300, Mauro Carvalho Chehab wrote:
> Em Mon, 13 May 2019 22:19:57 +0800
> Changbin Du escreveu:
>
> > This converts the plain text documentation to reStructuredText format and
> > add it to Sphinx TOC tree. No essential content change.
&
On Mon, May 13, 2019 at 12:04:23PM -0300, Mauro Carvalho Chehab wrote:
> Em Mon, 13 May 2019 22:19:59 +0800
> Changbin Du escreveu:
>
> > This converts the plain text documentation to reStructuredText format and
> > add it to Sphinx TOC tree. No essential content change.
&
Add a index.rst for PCI subsystem. More docs will be added later.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
---
Documentation/PCI/index.rst | 9 +
Documentation/index.rst | 1 +
2 files changed, 10 insertions(+)
create mode 100644 Documentation/PCI/index.rst
diff --git a
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
...or-recovery.txt
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pci-iov
!
v2: trivial style update.
v3: update titles. (Bjorn Helgaas)
v4: fix comments from Mauro Carvalho Chehab
v5: update MAINTAINERS (Joe Perches)
v6: fix comments.
Changbin Du (12):
Documentation: add Linux PCI to Sphinx TOC tree
Documentation: PCI: convert pci.txt to reST
Documentation: PCI
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
The description about struct pci_driver and struct pci_device_id are moved
into in-source comments.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...-endpoint
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...{pci-test
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 1 +
...est-function.txt
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Cc: Mauro Carvalho Chehab
---
.../PCI/{acpi-info.txt => acpi-info.rst} |
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
v2:
o drop numbering.
o simplify author list
---
Documentation/PCI
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{pcieaer
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/endpoint/index.rst | 10 ++
.../{pci
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. No essential content change.
Signed-off-by: Changbin Du
Acked-by: Bjorn Helgaas
Reviewed-by: Mauro Carvalho Chehab
---
Documentation/PCI/index.rst | 1 +
.../{PCIEBUS
Bjorn and Jonathan,
Could we consider to merge this serias now? Thanks.
On Tue, May 14, 2019 at 10:47:22PM +0800, Changbin Du wrote:
> Hi all,
>
> The kernel now uses Sphinx to generate intelligent and beautiful documentation
> from reStructuredText files. I converted most of the Li
On Mon, May 20, 2019 at 11:23:50AM -0300, Mauro Carvalho Chehab wrote:
> Em Mon, 20 May 2019 06:10:15 +
> Changbin Du escreveu:
>
> > Bjorn and Jonathan,
> > Could we consider to merge this serias now? Thanks.
>
> Before merging it, did you check if the
From: Changbin Du
While I am searching something in menuconfig, I hope if I can jump to interested
items directly. I even try to add this feature. When I check the code just
found
it has already been there but not documented. So why let more developers know
it?
Changbin Du (2):
kconfig
From: Changbin Du
Kernel menuconfig support direct jumping function from the search
result. This is a very convenient feature but not documented. So
add a short description to the kconfig documentation to let more
developer know it.
Signed-off-by: Changbin Du
---
Documentation/kbuild
From: Changbin Du
Prompt user how to quickly jump to the item he/she is interested in.
Signed-off-by: Changbin Du
---
scripts/kconfig/mconf.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
index 315ce2c..23d5681
From: Changbin Du
Prompt user how to quickly jump to the item he/she is interested in.
Signed-off-by: Changbin Du
Reviewed-by: Jani Nikula
---
scripts/kconfig/mconf.c | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/scripts/kconfig/mconf.c b/scripts/kconfig/mconf.c
From: Changbin Du
While I am searching something in menuconfig, I hope if I can jump to interested
items directly. I even try to add this feature. When I check the code just
found
it has already been there but not documented. So why let more developers know
it?
v2: correct spell (Jim
From: Changbin Du
Kernel menuconfig support direct jumping function from the search
result. This is a very convenient feature but not documented. So
add a short description to the kconfig documentation to let more
developers know it.
v2: correct spell (Jim)
Signed-off-by: Changbin Du
Reviewed
From: Changbin Du
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace-uses.rst | 23 ---
Documentation/trace/index.rst | 1 +
2 files changed, 13 insertions(+), 11 deletions(-)
diff --git a/Documentation/trace/ftrace-uses.rst
b/Documentation/trace/ftrace
From: Changbin Du
Hi All,
The linux tracers are so useful that I want to make the docs better. The kernel
now uses Sphinx to generate intelligent and beautiful documentation from
reStructuredText files. I converted two trace docs for your to preview.
http://docservice.askxiong.com/linux-kernel
From: Changbin Du
Signed-off-by: Changbin Du
---
Documentation/index.rst | 1 +
Documentation/trace/index.rst | 6 ++
2 files changed, 7 insertions(+)
create mode 100644 Documentation/trace/index.rst
diff --git a/Documentation/index.rst b/Documentation/index.rst
index ef5080c
From: Changbin Du
Signed-off-by: Changbin Du
---
.../trace/{ftrace-design.txt => ftrace-design.rst} | 248 +++--
Documentation/trace/index.rst | 2 +
2 files changed, 137 insertions(+), 113 deletions(-)
rename Documentation/trace/{ftrace-design.
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{tracepoints.txt
From: Changbin Du
Hi All,
The linux tracers are so useful that I want to make the docs better. The kernel
now uses Sphinx to generate intelligent and beautiful documentation from
reStructuredText files. I converted most of the Linux trace docs to rst format
in this serias.
For you to preview
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{events-kmem.txt => events-kmem.rst} |
From: Changbin Du
This just add a index.rst for trace subsystem. More docs will
be added later.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/index.rst | 1 +
Documentation/trace/index.rst | 6 ++
2 files changed, 7 insertions(+)
create mode 100644 Documentation
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../{hwlat_detector.txt => hwlat_detector.rst} |
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst| 1 +
Documentation/trace/{stm.txt => stm.
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
Documentation/trace/{intel_th.txt
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{mmiotrace.txt
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/events-msr.rst | 40
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{uprobetracer.txt
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
.../trace/{kprobetrace.txt
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{events-power.txt => events-power.rst} |
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/{events.txt => events.rst} |
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/index.rst | 1 +
...epoint-analysis.txt
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it into Sphinx TOC tree. No essential content change.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/events-nmi.rst | 45
From: Changbin Du
This converts the plain text documentation to reStructuredText format and
add it to Sphinx TOC tree. This documentation is not synced with current
code, so mark it as out of date.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
.../trace/{ftrace-design.txt => ftr
From: Changbin Du
Add ftrace-uses.rst into Sphinx TOC tree. Few format issues are fixed.
Cc: Steven Rostedt
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace-uses.rst | 23 ---
Documentation/trace/index.rst | 1 +
2 files changed, 13 insertions(+), 11
From: Changbin Du
There is an format error in driver-api/usb/typec.rst that breaks sphinx
docs building.
reST markup error:
/home/changbin/work/linux/Documentation/driver-api/usb/typec.rst:215:
(SEVERE/4) Unexpected section title or transition.
Documentation/Makefile
| d... | 0.000 us| __schedule();
kworker/-13 0d... 593us :
=> schedule
=> worker_thread
=> kthread
=> ret_from_fork
593 us | 0) kworker-13 | d... | | /* 13:120:I
==> [000] 339:100:R kworker/0:1H */
Changbin Du (5):
function_graph
When function_graph is used for latency tracers, relative timestamp
is more straightforward than absolute timestamp as function trace
does. This change adds relative timestamp support to function_graph
and applies to latency tracers (wakeup and irqsoff).
Signed-off-by: Changbin Du
---
kernel
Add these info fields to funcgraph wakeup tracers:
o Show CPU info since the waker could be on a different CPU.
o Show function duration and overhead.
o Show IRQ markers.
Signed-off-by: Changbin Du
---
kernel/trace/trace_sched_wakeup.c | 5 -
1 file changed, 4 insertions(+), 1
This add an example about how to use funcgraph with latency tracers.
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace.rst | 51 ++
1 file changed, 51 insertions(+)
diff --git a/Documentation/trace/ftrace.rst b/Documentation/trace/ftrace.rst
index
5 us | 0)-0| dNs. | | call_timer_fn() {
76 us | 0)-0| dNs. | |
delayed_work_timer_fn() {
76 us | 0)-0| dNs. | |
__queue_work() {
...
Signed-off-by: Changbin Du
---
kernel/trace/trace_func
This align the behavior of wakeup tracers with irqsoff latency tracer
that we record stacktrace at the beginning and end of waking up. The
stacktrace shows us what is happening in the kernel.
Signed-off-by: Changbin Du
---
kernel/trace/trace_sched_wakeup.c | 4
1 file changed, 4 insertions
Hi Steven, Have you checked this serias yet? :)
On Tue, Jan 01, 2019 at 11:46:09PM +0800, Changbin Du wrote:
> Happy new year!
>
> This series make some improments for the kernel latency tracers, especilly
> for the wakeup tracers. The latency tracers will show us more useful
> in
0 us | } /* ret=0xfffb/-5 */
Signed-off-by: Changbin Du
---
Documentation/trace/ftrace.rst | 5
arch/arm/kernel/entry-ftrace.S | 1 +
arch/arm64/kernel/entry-ftrace.S | 1 +
arch/x86/kernel/ftrace_32.S | 1 +
arch/x86/kernel/ftrace_64.S | 1 +
incl
Hi Matthew,
On Sat, Jan 12, 2019 at 04:21:13AM -0800, Matthew Wilcox wrote:
> On Sat, Jan 12, 2019 at 02:57:01PM +0800, Changbin Du wrote:
> > This patch adds a new trace option 'funcgraph-retval' and is disabled by
> > default. When this option is enabled, fgraph tr
1 - 100 of 121 matches
Mail list logo