Re: [BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-18 Thread Todd Brandt
On Tue, 2018-01-09 at 11:13 -0500, Steven Rostedt wrote: > On Mon, 08 Jan 2018 17:25:15 -0800 > Todd Brandt wrote: > > > Can you reproduce the issue there? I just want to be sure it's not > > something local to our machines here, as long as you have CONFIG_PM > >

Re: [BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-10 Thread Todd Brandt
On Tue, 2018-01-09 at 11:13 -0500, Steven Rostedt wrote: > On Mon, 08 Jan 2018 17:25:15 -0800 > Todd Brandt wrote: > > > Can you reproduce the issue there? I just want to be sure it's not > > something local to our machines here, as long as you have CONFIG_PM > >

Re: [BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-08 Thread Todd Brandt
On Mon, 2018-01-08 at 17:25 -0800, Todd Brandt wrote: > On Mon, 2018-01-08 at 20:07 -0500, Steven Rostedt wrote: > > On Mon, 08 Jan 2018 17:02:29 -0800 > > Todd Brandt wrote: > > > > > Stephen, the problem is reversed by removing the following two > > > c

Re: [BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-08 Thread Todd Brandt
On Mon, 2018-01-08 at 20:07 -0500, Steven Rostedt wrote: > On Mon, 08 Jan 2018 17:02:29 -0800 > Todd Brandt wrote: > > > Stephen, the problem is reversed by removing the following two > > commits, > > the one the bisect showed and the very next. So the problem i

Re: [BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-08 Thread Todd Brandt
within tracing_set_clock(). Link: http://lkml.kernel.org/r/20170921162249.0dde3...@gandalf.loca l.home Requested-by: Tom Zanussi Signed-off-by: Steven Rostedt (VMware) On Mon, 2018-01-08 at 15:55 -0800, Todd Brandt wrote: > I've discovered an issue in the kernel which is

[BUG] function_graph trace causes hang when using sleepgraph (4.15.0-rc1 and newer)

2018-01-08 Thread Todd Brandt
I've discovered an issue in the kernel which is causing sleepgraph (analyse_suspend) to hang the system when it tries to get a callgraph trace over suspend/resume. It happens on kernels 4.15.0-rc1 and newer. I've whittled it down to 3 items which have to be set for the hang to occur: 1) enable fu

Re: [RFC][PATCH 0/4] tracing: Allow function tracing to start earlier in boot up

2017-03-08 Thread Todd Brandt
On Wed, 2017-03-08 at 11:15 -0800, Todd Brandt wrote: > On Tue, 2017-03-07 at 16:28 -0500, Steven Rostedt wrote: > > I've had people ask about moving tracing up further in the boot process. > > This patch series looks at function tracing only. It allows for tracing > > (

Re: [RFC][PATCH 0/4] tracing: Allow function tracing to start earlier in boot up

2017-03-08 Thread Todd Brandt
On Tue, 2017-03-07 at 16:28 -0500, Steven Rostedt wrote: > I've had people ask about moving tracing up further in the boot process. > This patch series looks at function tracing only. It allows for tracing > (and function filtering) to be moved right after memory is initialized. > To have it happen

Re: [PATCH] ftrace: add ftrace_graph_max_depth kernel parameter

2017-03-02 Thread Todd Brandt
On Thu, 2017-03-02 at 20:09 -0500, Steven Rostedt wrote: > On Thu, 02 Mar 2017 16:54:57 -0800 > Todd Brandt wrote: > > > > BTW I had one other question for you, is it possible to move the ftrace > > module's initialization further up the queue? ATM it initializes

Re: [PATCH] ftrace: add ftrace_graph_max_depth kernel parameter

2017-03-02 Thread Todd Brandt
On Thu, 2017-03-02 at 19:39 -0500, Steven Rostedt wrote: > On Thu, 2 Mar 2017 19:38:27 -0500 > Steven Rostedt wrote: > > > On Thu, 2 Mar 2017 16:12:15 -0800 > > Todd Brandt wrote: > > > > > Early trace callgraphs can be extremely large on systems with >

[PATCH] ftrace: add ftrace_graph_max_depth kernel parameter

2017-03-02 Thread Todd Brandt
Early trace callgraphs can be extremely large on systems with several seconds of boot time. The max_depth parameter limits how deep the graph trace goes and reduces the output size. This parameter is the same as the max_graph_depth file in debugfs. Signed-off-by: Todd Brandt --- Documentation

Re: ftrace_graph_filter not working correctly since v4.10

2017-03-02 Thread Todd Brandt
On Thu, 2017-03-02 at 13:05 -0500, Steven Rostedt wrote: > Namhyung, > > Just an FYI... > > -- Steve > > > On Thu, 2 Mar 2017 12:49:40 -0500 > Steven Rostedt wrote: > > > On Wed, 1 Mar 2017 22:47:30 -0500 > > Steven Rostedt wrote: > > > > > On Wed, 1 Mar 2017 22:28:43 -0500 > > > Steven Ros

ftrace_graph_filter not working correctly since v4.10

2017-03-01 Thread Todd Brandt
I've been using early boot trace to gather callgraph data on filtered functions but something appears to have broken it in v10.0. The graph trace worked fine in v4.10-rc8, so something changed since the release. Issue: Using the ftrace_graph_filter kernel parameter to filter on a specific function

ftrace_graph_filter not working correctly since v4.10.0

2017-03-01 Thread Todd Brandt
I've been using early boot trace to gather callgraph data on filtered functions but something appears to have broken it in v10.0. The graph trace worked fine in v4.10-rc8, so something changed since the release. Issue: Using the ftrace_graph_filter kernel parameter to filter on a specific function

[PATCH v4 2/3] mfd/axp20x: add support for fuel gauge cell

2015-02-04 Thread Todd Brandt
Register definitions and platform data structure for fuel gauge cell devices. Signed-off-by: Todd Brandt --- include/linux/mfd/axp20x.h | 43 +-- 1 file changed, 41 insertions(+), 2 deletions(-) v4: same as v1-3 and is already accepted, re-included for

[PATCH v4 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-04 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Signed-off-by: Todd Brandt Acked-by: Jacob Pan --- drivers/power/Kconfig |9

[PATCH v4 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-04 Thread Todd Brandt
over git.infradead.org/battery-2.6.git/master and verified that it works. Thanks. Todd Brandt (3): mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for fuel gauge cell X-Power AXP288 PMIC Fuel Gauge Driver v1: 01/07/15 v2: 01/22/15 - replaced the const in axp20x_acpi_

[PATCH v4 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-02-04 Thread Todd Brandt
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-by: Jacob Pan --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) v1: 01/07/14 v2: 01/22/14 - replaced the const

[PATCH RESEND v3 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-02-02 Thread Todd Brandt
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-by: Jacob Pan --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) v1: 01/07/14 v2: 01/22/14 - replaced the const

[PATCH RESEND v3 2/3] mfd/axp20x: add support for fuel gauge cell

2015-02-02 Thread Todd Brandt
Register definitions and platform data structure for fuel gauge cell devices. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-By: Jacob Pan Acked-By: Lee Jones --- include/linux/mfd/axp20x.h | 43 +-- 1 file changed, 41 insertions(+), 2

[PATCH RESEND v3 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-02 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Todd Brandt (3): mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for

[PATCH RESEND v3 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-02-02 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Signed-off-by: Todd Brandt Acked-by: Jacob Pan --- drivers/power/Kconfig |9

[PATCH v3 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-01-28 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Signed-off-by: Todd Brandt Acked-by: Jacob Pan --- drivers/power/Kconfig |9

[PATCH v3 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-01-28 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Todd Brandt (3): mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for

[PATCH v3 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-01-28 Thread Todd Brandt
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-by: Jacob Pan --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) v1: 01/07/14 v2: 01/22/14 - replaced the const

[PATCH v3 2/3] mfd/axp20x: add support for fuel gauge cell

2015-01-28 Thread Todd Brandt
Register definitions and platform data structure for fuel gauge cell devices. Signed-off-by: Todd Brandt Acked-By: Sebastian Reichel Acked-By: Jacob Pan Acked-By: Lee Jones --- include/linux/mfd/axp20x.h | 43 +-- 1 file changed, 41 insertions(+), 2

[PATCH v2 2/3] mfd/axp20x: add support for fuel gauge cell

2015-01-22 Thread Todd Brandt
Register definitions and platform data structure for fuel gauge cell devices. Signed-off-by: Todd Brandt --- include/linux/mfd/axp20x.h | 43 +-- 1 file changed, 41 insertions(+), 2 deletions(-) v2: same as v1 and is already accepted, re-included for

[PATCH v2 3/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-01-22 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Signed-off-by: Todd Brandt --- drivers/power/Kconfig |9 + drivers/power/Makefile

[PATCH v2 1/3] mfd/axp20x: change battery cell name to fuel gauge

2015-01-22 Thread Todd Brandt
Name changes to the battery cell structure to a more generic cell type: fuel gauge. Signed-off-by: Todd Brandt --- drivers/mfd/axp20x.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) v1: 01/07/14 v2: 01/22/14 - replaced the const in axp20x_acpi_match declaration diff --git a

[PATCH v2 0/3] X-Power AXP288 PMIC Fuel Gauge Driver

2015-01-22 Thread Todd Brandt
New power_supply driver at driver/power which interfaces with the axp20x mfd driver as a cell. Provides battery info, monitors for changes, and generates alerts on temperature and capacity issues Todd Brandt (3): mfd/axp20x: change battery cell name to fuel gauge mfd/axp20x: add support for