Re: [PATCH 03/11] asm-generic: add generic dwarf definition

2019-08-26 Thread Changbin Du
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 > > --- > >

Re: [PATCH] fgraph: Remove redundant ftrace_graph_notrace_addr() test

2019-07-31 Thread Changbin Du
On Tue, Jul 30, 2019 at 12:15:27PM -0400, Steven Rostedt wrote: > On Tue, 30 Jul 2019 22:08:50 +0800 > Changbin Du wrote: > > > We already have tested it before. The second one should be removed. > > With this change, the performance should have little improvement. > &g

[PATCH] fgraph: Remove redundant ftrace_graph_notrace_addr() test

2019-07-30 Thread Changbin Du
We already have tested it before. The second one should be removed. With this change, the performance should have little improvement. Fixes: 9cd2992f2d6c ("fgraph: Have set_graph_notrace only affect function_graph tracer") Signed-off-by: Changbin Du --- kernel/trace/trace_functio

Re: [PATCH] tracing/fgraph: support recording function return values

2019-07-16 Thread Changbin Du
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

[PATCH v6 03/12] Documentation: PCI: convert PCIEBUS-HOWTO.txt to reST

2019-05-14 Thread Changbin Du
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

[PATCH v4 22/27] Documentation: x86: convert x86_64/uefi.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/x86_64/index.rst| 1 + .../x86/x86_64/{uefi.txt => uefi.

[PATCH v4 18/27] Documentation: x86: convert orc-unwinder.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + .../{orc-unwinder.txt => orc-unwinder.

[PATCH v4 16/27] Documentation: x86: convert microcode.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + .../x86/{microcode.txt => microcode.

[PATCH v4 26/27] Documentation: x86: convert x86_64/cpu-hotplug-spec to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- .../x86/x86_64/{cpu-hotplug-spec => cpu-hotplug-spec.rst}| 5 - Documentation/x86/x86

[PATCH v4 21/27] Documentation: x86: convert x86_64/boot-options.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + Documentation/x86/x86_64/boot-options.rst | 335

[PATCH v4 27/27] Documentation: x86: convert x86_64/machinecheck to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/x86_64/index.rst | 1 + .../x86/x86_64/{machinecheck

[PATCH v4 11/27] Documentation: x86: convert pat.txt to reST

2019-05-08 Thread Changbin Du
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 Cc: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + Documentation/x86/pat.rst | 242

[PATCH v4 17/27] Documentation: x86: convert resctrl_ui.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + .../x86/{resctrl_ui.txt => resctrl_ui.

[PATCH v4 04/27] Documentation: x86: convert exception-tables.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- ...eption-tables.txt => exception-tables.rst} | 247 ++ Documentation/

[PATCH v4 12/27] Documentation: x86: convert protection-keys.txt to reST

2019-05-08 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/x86/index.rst | 1 + ...rotection-keys.txt => protection-keys.

Re: [PATCH 02/27] Documentation: x86: convert boot.txt to reST

2019-05-02 Thread Changbin Du
Mauro, I have resolved all of your comments here. Now git recognizes it as a renaming. Please check update version later. Many thanks! On Sat, Apr 27, 2019 at 11:31:53AM -0300, Mauro Carvalho Chehab wrote: > Em Fri, 26 Apr 2019 23:31:25 +0800 > Changbin Du escreveu: > > > Th

Re: [PATCH 17/27] Documentation: x86: convert resctrl_ui.txt to reST

2019-05-01 Thread Changbin Du
On Sat, Apr 27, 2019 at 03:09:15PM -0300, Mauro Carvalho Chehab wrote: > Em Fri, 26 Apr 2019 23:31:40 +0800 > Changbin Du escreveu: > > > This converts the plain text documentation to reStructuredText format and > > add it to Sphinx TOC tree. No essential content change. &

[PATCH v6 24/24] Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/video_extension.rst

[PATCH v6 12/24] Documentation: ACPI: move i2c-muxes.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/i2c-muxes.txt | 58 -- .../firmware-guide/acpi/i2c

[PATCH v6 00/24] Include linux ACPI docs into Sphinx TOC tree

2019-04-25 Thread Changbin Du
eview! Changbin Du (24): Documentation: add Linux ACPI to Sphinx TOC tree Documentation: ACPI: move namespace.txt to firmware-guide/acpi and convert to reST Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST Documentation: ACPI: move osi.txt to fir

[PATCH v6 02/24] Documentation: ACPI: move namespace.txt to firmware-guide/acpi and convert to reST

2019-04-25 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/namespace.rst

[PATCH v5 21/23] Documentation: ACPI: move lpit.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/firmware-guide/acpi/index.rst| 1 + .../lpit.txt => firmware-guide/a

[PATCH v5 20/23] Documentation: ACPI: move cppc_sysfs.txt to admin-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
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 --- .../acpi/cppc_sysfs.rst} | 71 ++- Documentation/admin-guide/acpi/index.rst | 1 + 2 files

[PATCH v5 23/23] Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
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 --- Documentation/firmware-guide/acpi/index.rst | 1 + .../acpi/video_extension.rst} | 83 +++ 2 files

[PATCH v5 22/23] Documentation: ACPI: move ssdt-overlays.txt to admin-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- Documentation/acpi/ssdt-overlays.txt | 172 - Documentation/admin-guide

[PATCH v5 02/23] Documentation: ACPI: move enumeration.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
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 Reviewed-by: Mauro Carvalho Chehab --- .../acpi/enumeration.rst} | 135 ++ Documentation/firmware

Re: [PATCH v4 24/63] Documentation: ACPI: move video_extension.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
On Wed, Apr 24, 2019 at 11:56:47AM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 24 Apr 2019 00:28:53 +0800 > Changbin Du escreveu: > > > This converts the plain text documentation to reStructuredText format and > > add it to Sphinx TOC tree. No essential content change. &

Re: [PATCH v4 20/63] Documentation: ACPI: move apei/einj.txt to firmware-guide/acpi and convert to reST

2019-04-24 Thread Changbin Du
On Wed, Apr 24, 2019 at 11:33:49AM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 24 Apr 2019 00:28:49 +0800 > Changbin Du escreveu: > > > This converts the plain text documentation to reStructuredText format and > > add it to Sphinx TOC tree. No essential content change. &

Re: [PATCH v4 17/63] Documentation: ACPI: move method-tracing.txt to firmware-guide/acpi and convert to rsST

2019-04-24 Thread Changbin Du
On Wed, Apr 24, 2019 at 11:26:38AM -0300, Mauro Carvalho Chehab wrote: > Em Wed, 24 Apr 2019 00:28:46 +0800 > Changbin Du escreveu: > > > This converts the plain text documentation to reStructuredText format and > > add it to Sphinx TOC tree. No essential content change. &

Re: [PATCH v4 00/63] Include linux ACPI/PCI/X86 docs into Sphinx TOC tree

2019-04-24 Thread Changbin Du
On Tue, Apr 23, 2019 at 12:36:44PM -0500, Bjorn Helgaas wrote: > On Tue, Apr 23, 2019 at 06:39:47PM +0200, Rafael J. Wysocki wrote: > > On Tue, Apr 23, 2019 at 6:30 PM Changbin Du wrote: > > > Hi Corbet and All, > > > The kernel now uses Sphinx to generat

[PATCH v4 59/63] Documentation: x86: convert x86_64/mm.txt to reST

2019-04-23 Thread Changbin Du
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 --- Documentation/x86/x86_64/index.rst | 1 + Documentation/x86/x86_64/mm.rst| 161 + Documentation/x86

[PATCH v4 47/63] Documentation: x86: convert pat.txt to reST

2019-04-23 Thread Changbin Du
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 --- Documentation/x86/index.rst | 1 + Documentation/x86/pat.rst | 235 Documentation/x86/pat.txt

[PATCH v4 50/63] Documentation: x86: convert amd-memory-encryption.txt to reST

2019-04-23 Thread Changbin Du
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 --- ...ory-encryption.txt => amd-memory-encryption.rst} | 13 ++--- Documentation/x86/index.rst | 1 +

[PATCH v4 51/63] Documentation: x86: convert pti.txt to reST

2019-04-23 Thread Changbin Du
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 --- Documentation/x86/index.rst| 1 + Documentation/x86/{pti.txt => pti.rst} | 19 ++- 2 files changed,

[PATCH v4 29/63] Documentation: PCI: convert MSI-HOWTO.txt to reST

2019-04-23 Thread Changbin Du
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 --- v2: o drop numbering. o simplify author list --- .../PCI/{MSI-HOWTO.txt => MSI-HOWTO.rst} |

[PATCH v4 30/63] Documentation: PCI: convert acpi-info.txt to reST

2019-04-23 Thread Changbin Du
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/{acpi-info.txt => acpi-info.rst} | 11 --- Documentation/PCI/index.

[PATCH v4 31/63] Documentation: PCI: convert pci-error-recovery.txt to reST

2019-04-23 Thread Changbin Du
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/index.rst | 1 + ...or-recovery.txt => pci-error-recovery.rst} |

[PATCH v4 11/63] Documentation: ACPI: move dsdt-override.txt to admin-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
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 --- .../acpi/dsdt-override.rst} | 8 +++- Documentation/admin-guide/acpi/index.rst | 1

[PATCH v4 09/63] Documentation: ACPI: move method-customizing.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
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 --- Documentation/acpi/method-customizing.txt | 73 - Documentation/firmware-guide/acpi/index.rst | 3 +- .../acpi

[PATCH v4 08/63] Documentation: ACPI: move gpio-properties.txt to firmware-guide/acpi and convert to reST

2019-04-23 Thread Changbin Du
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 --- .../acpi/gpio-properties.rst} | 78 +++ Documentation/firmware-guide/acpi/index.rst | 1

[PATCH v4 05/63] Documentation: ACPI: move linuxized-acpica.txt to driver-api/acpi and convert to reST

2019-04-23 Thread Changbin Du
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 --- Documentation/driver-api/acpi/index.rst | 1 + .../acpi/linuxized-acpica.rst}| 115 ++ 2 files

[PATCH v2 09/12] Documentation: PCI: convert PCI/endpoint/pci-endpoint.txt to reST format

2019-04-03 Thread Changbin Du
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 --- Documentation/PCI/endpoint/index.rst | 10 ++ .../{pci-endpoint.txt => pci-endpoint.rst}|

[PATCH v2 08/12] Documentation: PCI: convert PCI/pcieaer-howto.txt to reST format

2019-04-03 Thread Changbin Du
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 --- Documentation/PCI/index.rst | 1 + .../{pcieaer-howto.txt => pcieaer-howto.rst} | 110 -- 2 fi

Re: [PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-29 Thread Changbin Du
On Fri, Mar 29, 2019 at 04:50:18PM +0900, Masahiro Yamada wrote: > On Tue, Mar 26, 2019 at 12:16 AM Changbin Du wrote: > > > > Backspace is not working on some terminal emulators which do not send the > > key code defined by terminfo. Terminals either send '^H&#

[PATCH v2 13/24] acpi doc: convert acpi/acpi-lid.txt to rst format

2019-03-28 Thread Changbin Du
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 --- .../acpi/{acpi-lid.txt => acpi-lid.rst} | 48 --- Documentation/acpi/index.rst | 1 + 2 fi

[PATCH v2 11/24] acpi doc: convert acpi/dsdt-override.txt to rst format

2019-03-28 Thread Changbin Du
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 --- .../acpi/{dsdt-override.txt => dsdt-override.rst} | 8 +++- Documentation/acpi/index.rst

[PATCH v2 12/24] acpi doc: convert acpi/i2c-muxes.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/i2c-muxes.rst | 61 Documentation/acpi/i2c-muxes.txt | 58

[PATCH v2 10/24] acpi doc: convert acpi/initrd_table_override.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/index.rst | 1 + Documentation/acpi/initrd_table_override.rst | 120

[PATCH 08/23] acpi doc: convert acpi/gpio-properties.txt to rst format

2019-03-28 Thread Changbin Du
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 --- ...pio-properties.txt => gpio-properties.rst} | 76 ++- Documentation/acpi/index.rst | 1 + 2 fi

[PATCH 12/23] acpi doc: convert acpi/i2c-muxes.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/i2c-muxes.rst | 59 Documentation/acpi/i2c-muxes.txt | 58

[PATCH 07/23] acpi doc: convert acpi/DSD-properties-rules.txt to rst format

2019-03-28 Thread Changbin Du
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 --- ...ies-rules.txt => DSD-properties-rules.rst} | 19 ++- Documentation/acpi/index.rst | 1 + 2 fi

[PATCH 16/23] acpi doc: convert acpi/method-tracing.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/index.rst | 1 + Documentation/acpi/method-tracing.rst | 224 ++ Documentation

[PATCH 06/23] acpi doc: convert acpi/scan_handlers.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/index.rst | 1 + .../{scan_handlers.txt => scan_handlers.rst} | 23 +++ 2 fi

[PATCH 17/23] acpi doc: convert acpi/aml-debugger.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/aml-debugger.rst | 74 + Documentation/acpi/aml-debugger.txt | 66

[PATCH 09/23] acpi doc: convert acpi/method-customizing.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/index.rst | 1 + Documentation/acpi/method-customizing.rst | 80

[PATCH 15/23] acpi doc: convert acpi/debug.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/{debug.txt => debug.rst} | 31 ++- ...eferences.txt => data-node-references.rst

[PATCH 00/23] Include linux ACPI docs into Sphinx TOC tree

2019-03-28 Thread Changbin Du
Thank you! Changbin Du (23): Documentation: add Linux ACPI to Sphinx TOC tree acpi doc: convert acpi/namespace.txt to rst format acpi doc: convert acpi/enumeration.txt to rst format acpi doc: convert acpi/osi.txt to rst format acpi doc: convert acpi/linuxized-acpica.txt to rst format

[PATCH 02/23] acpi doc: convert acpi/namespace.txt to rst format

2019-03-28 Thread Changbin Du
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 --- Documentation/acpi/index.rst | 4 +- .../acpi/{namespace.txt => namespace.rst} | 309 +-

[PATCH] kconfig/[mn]conf: handle backspace (^H) key

2019-03-25 Thread Changbin Du
Backspace is not working on some terminal emulators which do not send the key code defined by terminfo. Terminals either send '^H' (8) or '^?' (127). But currently only '$?' is handled. Let's also handle '^H' for those terminals. Signed-off-b

[tip:perf/urgent] perf tests: Fix memory leak by expr__find_other() in test__expr()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: f97a8991d3b998e518f56794d879f645964de649 Gitweb: https://git.kernel.org/tip/f97a8991d3b998e518f56794d879f645964de649 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:55 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:05 -0300 perf tests

[tip:perf/urgent] perf top: Fix global-buffer-overflow issue

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 1e5b0cf8672e622257df024074e6e09bfbcb7750 Gitweb: https://git.kernel.org/tip/1e5b0cf8672e622257df024074e6e09bfbcb7750 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:52 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:05 -0300 perf top: Fix

[tip:perf/urgent] perf tests: Fix a memory leak in test__perf_evsel__tp_sched_test()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: d982b33133284fa7efa0e52ae06b88f9be3ea764 Gitweb: https://git.kernel.org/tip/d982b33133284fa7efa0e52ae06b88f9be3ea764 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:56 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:06 -0300 perf tests

[tip:perf/urgent] perf maps: Purge all maps from the 'names' tree

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: da3a53a7390a89391bd63bead0c2e9af4c5ef3d6 Gitweb: https://git.kernel.org/tip/da3a53a7390a89391bd63bead0c2e9af4c5ef3d6 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:05 -0300 perf maps

[tip:perf/urgent] perf tests: Fix a memory leak of cpu_map object in the openat_syscall_event_on_all_cpus test

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 93faa52e8371f0291ee1ff4994edae2b336b6233 Gitweb: https://git.kernel.org/tip/93faa52e8371f0291ee1ff4994edae2b336b6233 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:54 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:05 -0300 perf tests

[tip:perf/urgent] perf hist: Add missing map__put() in error case

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: cb6186aeffda4d27e56066c79e9579e7831541d3 Gitweb: https://git.kernel.org/tip/cb6186aeffda4d27e56066c79e9579e7831541d3 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:49 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf hist

[tip:perf/urgent] perf top: Delete the evlist before perf_session, fixing heap-use-after-free issue

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 0dba9e4be95b59e77060645ca8e37ca3231061f5 Gitweb: https://git.kernel.org/tip/0dba9e4be95b59e77060645ca8e37ca3231061f5 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:47 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf top

[tip:perf/urgent] perf config: Fix a memory leak in collect_config()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 54569ba4b06d5baedae4614bde33a25a191473ba Gitweb: https://git.kernel.org/tip/54569ba4b06d5baedae4614bde33a25a191473ba Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:45 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf config

[tip:perf/urgent] perf build-id: Fix memory leak in print_sdt_events()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 8bde8516893da5a5fdf06121f74d11b52ab92df5 Gitweb: https://git.kernel.org/tip/8bde8516893da5a5fdf06121f74d11b52ab92df5 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:46 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf build-id

[tip:perf/urgent] perf map: Remove map from 'names' tree in __maps__remove()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: b49265e04410b97b31a5ee66ef6782c1b2d6cd2c Gitweb: https://git.kernel.org/tip/b49265e04410b97b31a5ee66ef6782c1b2d6cd2c Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:50 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:05 -0300 perf map

[tip:perf/urgent] perf config: Fix an error in the config template documentation

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 9b40dff7ba3caaf0d1919f98e136fa3400bd34aa Gitweb: https://git.kernel.org/tip/9b40dff7ba3caaf0d1919f98e136fa3400bd34aa Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:44 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf config

[tip:perf/urgent] perf tools: Fix errors under optimization level '-Og'

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 11c1ea6f1a9bc97bf857fd12f72eacb6c69794e2 Gitweb: https://git.kernel.org/tip/11c1ea6f1a9bc97bf857fd12f72eacb6c69794e2 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:43 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf tools

[tip:perf/urgent] perf top: Fix error handling in cmd_top()

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 70c819e4bf1c5f492768b399d898d458ccdad2b6 Gitweb: https://git.kernel.org/tip/70c819e4bf1c5f492768b399d898d458ccdad2b6 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:48 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf top: Fix

[tip:perf/urgent] perf tools: Add doc about how to build perf with Asan and UBSan

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: af7a14a750b8eb3cdb26ec15344616ca170b06f2 Gitweb: https://git.kernel.org/tip/af7a14a750b8eb3cdb26ec15344616ca170b06f2 Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:41 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf tools

[tip:perf/urgent] perf list: Don't forget to drop the reference to the allocated thread_map

2019-03-22 Thread tip-bot for Changbin Du
Commit-ID: 39df730b09774bd860e39ea208a48d15078236cb Gitweb: https://git.kernel.org/tip/39df730b09774bd860e39ea208a48d15078236cb Author: Changbin Du AuthorDate: Sat, 16 Mar 2019 16:05:42 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Tue, 19 Mar 2019 16:52:04 -0300 perf list

[PATCH] mailmap: Add Changbin Du

2019-03-08 Thread Changbin Du
Add my email in the mailmap file to have a consistent shortlog output. Signed-off-by: Changbin Du --- .mailmap | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.mailmap b/.mailmap index 37e1847c7988..b2cde8668dcc 100644 --- a/.mailmap +++ b/.mailmap @@ -224,3 +224,5 @@ Yakir Yang Yusuke

[PATCH] checkpatch: warn on bad commit description in 'Fixes' tag

2019-02-18 Thread Changbin Du
There are some complaints about bad commit description in 'Fixes' tag. Most cases are SHA1 should be at least 12 digits long. Let's extend the existing check in checkpatch.pl to include commit description of 'Fixes' tag. Reference: https://lkml.org/lkml/2019/2/18/1477 S

Re: linux-next: Fixes tag needs some work in Linus' tree

2019-02-18 Thread Changbin Du
later) just making sure it is not set (or set to "auto"). > > -- Thanks for reminding. The scripts/checkpatch.pl does has such check but it only checks the commit message body. I will try to extend it to include tags, and hint how to configure git. > Cheers, > Stephen Rothwell -- Cheers, Changbin Du

Re: [PATCH] kprobe: safely access memory specified by userspace

2019-02-14 Thread Changbin Du
On Thu, Feb 14, 2019 at 08:04:18AM -0500, Steven Rostedt wrote: > On Thu, 14 Feb 2019 08:05:24 +0800 > Changbin Du wrote: > > > On Wed, Feb 13, 2019 at 10:41:43AM -0500, Steven Rostedt wrote: > > > On Wed, 13 Feb 2019 22:36:40 +0800 > > > Changbin Du wrote: >

Re: [PATCH] perf/core: Fix mmap failure caused by bad size check

2019-02-13 Thread Changbin Du
Hi Peter, Ingo and Arnaldo, Could you help review this and have this fix merged in next RC? The perf is totaly broken now! Thanks. On Tue, Feb 12, 2019 at 11:52:21PM +0800, Changbin Du wrote: > Perf tool now is broken by commit 9dff0aa95a32 ("perf/core: Don't WARN() > for imposs

Re: [PATCH] kprobe: safely access memory specified by userspace

2019-02-13 Thread Changbin Du
On Wed, Feb 13, 2019 at 10:41:43AM -0500, Steven Rostedt wrote: > On Wed, 13 Feb 2019 22:36:40 +0800 > Changbin Du wrote: > > > Hi Steven, > > I think this is a critical issue. Could you give priority to this fix? > > > > On Fri, Jan 25, 2019 at 11:10:50PM +0

Re: [PATCH] kprobe: safely access memory specified by userspace

2019-02-13 Thread Changbin Du
Hi Steven, I think this is a critical issue. Could you give priority to this fix? On Fri, Jan 25, 2019 at 11:10:50PM +0800, Changbin Du wrote: > The userspace can ask kprobe to intercept strings at any memory address, > including invalid kernel address. In this case, fetch_store_strlen() &

Re: [PATCH] tracing: print function names instead of just address

2019-02-11 Thread Changbin Du
On Mon, Feb 11, 2019 at 02:55:32PM -0500, Steven Rostedt wrote: > On Sun, 10 Feb 2019 00:19:19 +0800 > Changbin Du wrote: > > > Here is an example for this change. > > > > $ sudo perf record -e 'ftrace:function' --filter='ip==schedule' > >

[PATCH] tracing: print function names instead of just address

2019-02-09 Thread Changbin Du
- rcu_gp_kthread 2.78% schedule <-- exit_to_usermode_loop Signed-off-by: Changbin Du --- kernel/trace/trace_entries.h | 41 +--- 1 file changed, 19 insertions(+), 22 deletions(-) diff --git a/kernel/trace/trace_entries.h b/kernel/trace/trace_entries.h index

[tip:perf/core] perf tools: Add documentation for BPF event selection

2019-02-09 Thread tip-bot for Changbin Du
Commit-ID: 55fa8b8c0a37618c94df38d50d6871cb3e755ad2 Gitweb: https://git.kernel.org/tip/55fa8b8c0a37618c94df38d50d6871cb3e755ad2 Author: Changbin Du AuthorDate: Fri, 1 Feb 2019 21:46:51 +0800 Committer: Arnaldo Carvalho de Melo CommitDate: Wed, 6 Feb 2019 10:00:40 -0300 perf tools: Add

[PATCH v2] perf record: Add doc for bpf event selection

2019-02-01 Thread Changbin Du
Add document for how to pass bpf program with perf. Cc: Arnaldo Carvalho de Melo Signed-off-by: Changbin Du --- v2: fix grammar and add llvm section in perf-config.txt. --- tools/perf/Documentation/perf-config.txt | 31 tools/perf/Documentation/perf-record.txt | 14

Re: [PATCH] perf record: Add doc for bpf event selection

2019-02-01 Thread Changbin Du
Sure, please check them in v2. Thanks! On Fri, Feb 01, 2019 at 09:10:50AM +0100, Arnaldo Carvalho de Melo wrote: > Em Fri, Feb 01, 2019 at 03:06:41AM +0000, Changbin Du escreveu: > > Add document for how to pass bpf program with perf. > > That is a good start, see some

[PATCH] perf record: Add doc for bpf event selection

2019-01-31 Thread Changbin Du
Add document for how to pass bpf program with perf. Signed-off-by: Changbin Du --- tools/perf/Documentation/perf-record.txt | 13 + 1 file changed, 13 insertions(+) diff --git a/tools/perf/Documentation/perf-record.txt b/tools/perf/Documentation/perf-record.txt index d232b13ea713

Re: [PATCH] kprobe: safely access memory specified by userspace

2019-01-28 Thread Changbin Du
unction") > 533059281ee5 ("tracing: probeevent: Introduce new argument fetching code") > 5a79859ae0f3 ("s390: remove 31 bit support") > 5c6497c50f8d ("s390/jump label: add sanity checks") > 6b0b7551428e ("perf/core: Rename CONFIG_[UK]PROBE_EVENT to > CONFIG_[UK]PROBE_EVENTS") > 8461b63ca01d ("s390: translate cputime magic constants to macros") > a763bc8b656d ("s390/numa: enable support in s390 configs") > c07af4f1ce41 ("mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED defines") > c933146a5e41 ("s390/ftrace,kprobes: allow to patch first instruction") > d5caa4dbf9bd ("s390/jump label: use different nop instruction") > e9bc15f28e5f ("s390/config: update default configuration") > f8b2dcbd9e6d ("s390: add z13 code generation support") > > > How should we proceed with this patch? > > -- > Thanks, > Sasha -- Cheers, Changbin Du

[PATCH] kprobe: safely access memory specified by userspace

2019-01-25 Thread Changbin Du
R12: 7fc22fce90a8 [ 103.685774] R13: 0001 R14: R15: [ 103.688056] Modules linked in: [ 103.689131] ---[ end trace 43792035c28984a1 ]--- This can be fixed by using probe_mem_read() instead. Signed-off-by: Changbin Du Cc: sta...@vger.kernel

Re: [PATCH] KVM: VMX: Fix vm entry failure caused by invalid vmexit controls

2019-01-22 Thread Changbin Du
On Tue, Jan 22, 2019 at 09:00:45AM -0800, Sean Christopherson wrote: > On Tue, Jan 22, 2019 at 11:29:52PM +0800, Changbin Du wrote: > > The commit c73da3f ("KVM: VMX: Properly handle dynamic VM Entry/Exit > > controls") has a typo that cause inv

[PATCH] KVM: VMX: Fix vm entry failure caused by invalid vmexit controls

2019-01-22 Thread Changbin Du
ff0ff0 DR7=0400 EFER= Fixes: c73da3f ("KVM: VMX: Properly handle dynamic VM Entry/Exit controls") Signed-off-by: Changbin Du --- arch/x86/kvm/vmx/vmx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/kvm/vmx/vmx.c b/arch/x86

[PATCH] mm/page_owner: move config option to mm/Kconfig.debug

2019-01-19 Thread Changbin Du
Move the PAGE_OWNER option from submenu "Compile-time checks and compiler options" to dedicated submenu "Memory Debugging". Signed-off-by: Changbin Du --- lib/Kconfig.debug | 17 - mm/Kconfig.debug | 17 + 2 files changed, 17 insertions(+), 1

Re: [PATCH 4/5] sched/tracing: Show stacktrace for wakeup tracers

2019-01-16 Thread Changbin Du
Steven, I just send v2 of this one that has applied your 2 suggestions. Please check. Thanks! On Tue, Jan 15, 2019 at 10:25:00PM -0500, Steven Rostedt wrote: > On Tue, 1 Jan 2019 23:46:13 +0800 > Changbin Du wrote: > > > This align the behavior of wakeup tracers with irqsoff

[PATCH v2] sched/tracing: Show stacktrace for wakeup tracers

2019-01-16 Thread Changbin Du
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 | 2 ++ 1 file changed, 2 insertions

Re: [PATCH] fgraph: record function return value

2019-01-14 Thread Changbin Du
Hi Steven, On Mon, Jan 14, 2019 at 11:21:15AM -0500, Steven Rostedt wrote: > On Sat, 12 Jan 2019 14:57:01 +0800 > Changbin Du wrote: > > > This patch adds a new trace option 'funcgraph-retval' and is disabled by > > default. When this option is enabled, fgr

Re: [PATCH] fgraph: record function return value

2019-01-14 Thread Changbin Du
On Mon, Jan 14, 2019 at 12:11:56PM +, Mark Rutland 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 tracer will show the

Re: [PATCH] fgraph: record function return value

2019-01-12 Thread Changbin Du
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

[PATCH] fgraph: record function return value

2019-01-11 Thread Changbin Du
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

Re: [PATCH 0/5] Improve the latency tracers

2019-01-11 Thread Changbin Du
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

Re: [GIT PULL 2/4] Kbuild updates for v4.21 part2

2019-01-07 Thread Changbin Du
On Mon, Jan 07, 2019 at 01:32:56PM +0900, Masahiro Yamada wrote: > (+CC Changbin Du, Arnd Bergmann) > > > [...] > > This branch already added a couple of extra inline markers just to > > make code work reasonably. How many tens (or hundreds) got missed just > >

<    1   2   3   4   5   6   7   >