[PATCH v2 2/2] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index bf17edc..7c4e8de 100644 --- a/include

[PATCH v2 2/2] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index bf17edc..7c4e8de 100644 --- a/include

[PATCH v2 1/2] ASoC: trace: remove unnecessary typecast

2018-08-08 Thread Liu, Changcheng
There's no need to do typecast since the defined type matches the output fromat requirement. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..bf17edc 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h

[PATCH v2 1/2] ASoC: trace: remove unnecessary typecast

2018-08-08 Thread Liu, Changcheng
There's no need to do typecast since the defined type matches the output fromat requirement. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..bf17edc 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h

[PATCH v2 0/2] ASoC: trace: format file and add trace field

2018-08-08 Thread Liu, Changcheng
1. Some typecast are not needed 2. trace dapm type in snd_soc_dapm_widget class event Liu Changcheng (2): ASoC: trace: remove unnecessary typecast ASoC: trace: track dapm type in snd_soc_dapm_widget v1->v2 correct code style to meet kernel requirement. include/trace/events/asoc.h |

[PATCH v2 0/2] ASoC: trace: format file and add trace field

2018-08-08 Thread Liu, Changcheng
1. Some typecast are not needed 2. trace dapm type in snd_soc_dapm_widget class event Liu Changcheng (2): ASoC: trace: remove unnecessary typecast ASoC: trace: track dapm type in snd_soc_dapm_widget v1->v2 correct code style to meet kernel requirement. include/trace/events/asoc.h |

[PATCH v1 2/2] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
ASoC: trace: track dapm type in snd_soc_dapm_widget Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events

[PATCH v1 2/2] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
ASoC: trace: track dapm type in snd_soc_dapm_widget Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events

[PATCH v1 1/2] ASoC: trace: remove unnecessary typecast

2018-08-08 Thread Liu, Changcheng
There's no need to do typecast since the defined type matches the output fromat requirement. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..bf17edc 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h

[PATCH v1 1/2] ASoC: trace: remove unnecessary typecast

2018-08-08 Thread Liu, Changcheng
There's no need to do typecast since the defined type matches the output fromat requirement. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..bf17edc 100644 --- a/include/trace/events/asoc.h +++ b/include/trace/events/asoc.h

[PATCH v1 0/2] ASoC: trace: format file and add trace field

2018-08-08 Thread Liu, Changcheng
1. Some typecast are not needed. 2. trace dapm type in snd_soc_dapm_widget class event. Liu Changcheng (2): ASoC: trace: remove unnecessary typecast ASoC: trace: track dapm type in snd_soc_dapm_widget include/trace/events/asoc.h | 21 +++-- 1 file changed, 11 insertions

[PATCH v1 0/2] ASoC: trace: format file and add trace field

2018-08-08 Thread Liu, Changcheng
1. Some typecast are not needed. 2. trace dapm type in snd_soc_dapm_widget class event. Liu Changcheng (2): ASoC: trace: remove unnecessary typecast ASoC: trace: track dapm type in snd_soc_dapm_widget include/trace/events/asoc.h | 21 +++-- 1 file changed, 11 insertions

Re: [PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Thanks Steven for the suggestion. I'll write two patches. One is for cleaning the format issue. The other is for tracking the dapm up/down sequence in trace events. B.R. Changcheng On 08:53 Wed 08 Aug, Steven Rostedt wrote: > On Wed, 8 Aug 2018 20:39:22 +0800 > "Liu, Changch

Re: [PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Thanks Steven for the suggestion. I'll write two patches. One is for cleaning the format issue. The other is for tracking the dapm up/down sequence in trace events. B.R. Changcheng On 08:53 Wed 08 Aug, Steven Rostedt wrote: > On Wed, 8 Aug 2018 20:39:22 +0800 > "Liu, Changch

Re: [PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
On 08:24 Wed 08 Aug, Steven Rostedt wrote: > On Wed, 8 Aug 2018 17:29:27 +0800 > "Liu, Changcheng" wrote: > > > Track snd_soc_dapm_widget:id which is used as dapm > > sequence index in dapm_down_seq/dapm_up_seq. It's > > useful for checking dapm seq after tra

Re: [PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
On 08:24 Wed 08 Aug, Steven Rostedt wrote: > On Wed, 8 Aug 2018 17:29:27 +0800 > "Liu, Changcheng" wrote: > > > Track snd_soc_dapm_widget:id which is used as dapm > > sequence index in dapm_down_seq/dapm_up_seq. It's > > useful for checking dapm seq after tra

[PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..0bc935b 100644 --- a/include

[PATCH] ASoC: trace: track dapm type in snd_soc_dapm_widget

2018-08-08 Thread Liu, Changcheng
Track snd_soc_dapm_widget:id which is used as dapm sequence index in dapm_down_seq/dapm_up_seq. It's useful for checking dapm seq after tracking it. Signed-off-by: Liu Changcheng diff --git a/include/trace/events/asoc.h b/include/trace/events/asoc.h index 40c300f..0bc935b 100644 --- a/include

define struct workqueue_struct in C file

2018-05-24 Thread Liu, Changcheng
Hi all, I have one confusion about workqueue_struct: 1) Why struct workqueue_struct is defined in C file instead of header file? I'm trying to print "workqueue_struct:name" field in one external build module. "workqueue_struct:name" can't be accessed

define struct workqueue_struct in C file

2018-05-24 Thread Liu, Changcheng
Hi all, I have one confusion about workqueue_struct: 1) Why struct workqueue_struct is defined in C file instead of header file? I'm trying to print "workqueue_struct:name" field in one external build module. "workqueue_struct:name" can't be accessed

[tip:timers/urgent] timers: Remove stale struct tvec_base forward declaration

2018-04-17 Thread tip-bot for Liu, Changcheng
Commit-ID: f0ae6a0321222864ed8675a924cc8ee2cb042c31 Gitweb: https://git.kernel.org/tip/f0ae6a0321222864ed8675a924cc8ee2cb042c31 Author: Liu, Changcheng <changcheng@intel.com> AuthorDate: Thu, 12 Apr 2018 15:57:01 +0800 Committer: Thomas Gleixner <t...@linutronix.de> Com

[tip:timers/urgent] timers: Remove stale struct tvec_base forward declaration

2018-04-17 Thread tip-bot for Liu, Changcheng
Commit-ID: f0ae6a0321222864ed8675a924cc8ee2cb042c31 Gitweb: https://git.kernel.org/tip/f0ae6a0321222864ed8675a924cc8ee2cb042c31 Author: Liu, Changcheng AuthorDate: Thu, 12 Apr 2018 15:57:01 +0800 Committer: Thomas Gleixner CommitDate: Tue, 17 Apr 2018 17:18:04 +0200 timers: Remove

[PATCH] timers: remove tvec_base struct declaration

2018-04-12 Thread Liu, Changcheng
timer wheel is implemented by timer_base. tvec_base is obsoleted, so remove the type declaration. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/include/linux/timer.h b/include/linux/timer.h index 2448f9c..7b066fd 100644 --- a/include/linux/timer.h +++ b/include

[PATCH] timers: remove tvec_base struct declaration

2018-04-12 Thread Liu, Changcheng
timer wheel is implemented by timer_base. tvec_base is obsoleted, so remove the type declaration. Signed-off-by: Liu Changcheng diff --git a/include/linux/timer.h b/include/linux/timer.h index 2448f9c..7b066fd 100644 --- a/include/linux/timer.h +++ b/include/linux/timer.h @@ -8,8 +8,6

[PATCH] dts: remove cris & metag dts hard link file

2018-04-06 Thread Liu, Changcheng
y ctags: Warning: cannot open source file "scripts/dtc/include-prefixes/metag" : No such file or directory Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/scripts/dtc/include-prefixes/cris b/scripts/dtc/include-prefixes/cris deleted file mode 12 index 73

[PATCH] dts: remove cris & metag dts hard link file

2018-04-06 Thread Liu, Changcheng
y ctags: Warning: cannot open source file "scripts/dtc/include-prefixes/metag" : No such file or directory Signed-off-by: Liu Changcheng diff --git a/scripts/dtc/include-prefixes/cris b/scripts/dtc/include-prefixes/cris deleted file mode 12 index 736d998..000 --- a/scripts/dtc/i

Re: [PATCH] x86/ioapic: don't use unstable TSC to detect timer IRQ

2018-03-20 Thread Liu, Changcheng
On 09:49 Tue 20 Mar, Peter Zijlstra wrote: > On Tue, Mar 20, 2018 at 04:42:55PM +0800, Liu, Changcheng wrote: > > In rare case, the TSC is every unstable or can't sync with > > real time hardware clock. > > However did you manage that? Please provide _FAR_ more deta

Re: [PATCH] x86/ioapic: don't use unstable TSC to detect timer IRQ

2018-03-20 Thread Liu, Changcheng
On 09:49 Tue 20 Mar, Peter Zijlstra wrote: > On Tue, Mar 20, 2018 at 04:42:55PM +0800, Liu, Changcheng wrote: > > In rare case, the TSC is every unstable or can't sync with > > real time hardware clock. > > However did you manage that? Please provide _FAR_ more deta

[PATCH] x86/ioapic: don't use unstable TSC to detect timer IRQ

2018-03-20 Thread Liu, Changcheng
ake Client Platform/TigerLake U LPDDR4 UDIMM, BIOS TGLSFWR1.R00.1063.A00.1802071025 02/07/2018 [0.052000] Call Trace: [0.052000] dump_stack+0x68/0x9d Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h index cf5d53c

[PATCH] x86/ioapic: don't use unstable TSC to detect timer IRQ

2018-03-20 Thread Liu, Changcheng
ake Client Platform/TigerLake U LPDDR4 UDIMM, BIOS TGLSFWR1.R00.1063.A00.1802071025 02/07/2018 [0.052000] Call Trace: [0.052000] dump_stack+0x68/0x9d Signed-off-by: Liu Changcheng diff --git a/arch/x86/include/asm/tsc.h b/arch/x86/include/asm/tsc.h index cf5d53c..dcfc5b9 100644 --- a/arch/x

Re: [PATCH 4.14 103/156] scripts/faddr2line: extend usage on generic arch

2018-02-03 Thread Liu, Changcheng
now. > > -- > > From: "Liu, Changcheng" <changcheng@intel.com> > > > [ Upstream commit 95a87982541932503d3f59aba4c30b0bde0a6294 ] > > When cross-compiling, fadd2line should use the binary tool used for the > target system, rather than th

Re: [PATCH 4.14 103/156] scripts/faddr2line: extend usage on generic arch

2018-02-03 Thread Liu, Changcheng
now. > > -- > > From: "Liu, Changcheng" > > > [ Upstream commit 95a87982541932503d3f59aba4c30b0bde0a6294 ] > > When cross-compiling, fadd2line should use the binary tool used for the > target system, rather than that of the host. > > Link:

Re: [PATCH] rcu: refine structure rcu_node field for rcu boost

2018-01-18 Thread Liu, Changcheng
feature field is allocated in in the rcu_node structure even rcu boost isn't enabled. B.R. Changcheng On 09:38 Thu 18 Jan, Paul E. McKenney wrote: > On Thu, Jan 18, 2018 at 06:33:43PM +0800, Liu, Changcheng wrote: > > Do not allocate space for rcu boost field when >

Re: [PATCH] rcu: refine structure rcu_node field for rcu boost

2018-01-18 Thread Liu, Changcheng
feature field is allocated in in the rcu_node structure even rcu boost isn't enabled. B.R. Changcheng On 09:38 Thu 18 Jan, Paul E. McKenney wrote: > On Thu, Jan 18, 2018 at 06:33:43PM +0800, Liu, Changcheng wrote: > > Do not allocate space for rcu boost field when >

[PATCH] rcu: refine structure rcu_node field for rcu boost

2018-01-18 Thread Liu, Changcheng
Do not allocate space for rcu boost field when RCU BOOST is not configured. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 46a5d19..88f087e 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -129,6 +129,7 @@

[PATCH] rcu: refine structure rcu_node field for rcu boost

2018-01-18 Thread Liu, Changcheng
Do not allocate space for rcu boost field when RCU BOOST is not configured. Signed-off-by: Liu Changcheng diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 46a5d19..88f087e 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -129,6 +129,7 @@ struct rcu_node

[PATCH] rcu: remove redundant nxttail index marco define

2018-01-16 Thread Liu, Changcheng
rcu nxttail has been optimized to be rcu_segcblist. The index has been defined in linux/rcu_segcblist.h Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 46a5d19..78cb5f3 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/

[PATCH] rcu: remove redundant nxttail index marco define

2018-01-16 Thread Liu, Changcheng
rcu nxttail has been optimized to be rcu_segcblist. The index has been defined in linux/rcu_segcblist.h Signed-off-by: Liu Changcheng diff --git a/kernel/rcu/tree.h b/kernel/rcu/tree.h index 46a5d19..78cb5f3 100644 --- a/kernel/rcu/tree.h +++ b/kernel/rcu/tree.h @@ -185,13 +185,6 @@ union

[PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Liu, Changcheng
On some linux distributions, the default link of sh is dash which deoesn't support split array like ${var//,/ } It's better to force to use bash shell directly. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/tools/vm/slabinfo-gnuplot.sh b/tools/vm/slabinfo-gnuplot.sh

[PATCH] tools/slabinfo-gnuplot: force to use bash shell

2017-12-08 Thread Liu, Changcheng
On some linux distributions, the default link of sh is dash which deoesn't support split array like ${var//,/ } It's better to force to use bash shell directly. Signed-off-by: Liu Changcheng diff --git a/tools/vm/slabinfo-gnuplot.sh b/tools/vm/slabinfo-gnuplot.sh index 35b0398..0cf28aa 100644

Re: [PATCH] scripts/faddr2line: extend usage on generic arch

2017-12-05 Thread Liu, Changcheng
On 22:30 Tue 05 Dec, Richard Weinberger wrote: > On Tue, Nov 21, 2017 at 10:29 AM, Liu, Changcheng > <changcheng@intel.com> wrote: > > fadd2line script should use the binary tool > > used for the target system. > > > > Signed-off-by: Liu Changcheng <chang

Re: [PATCH] scripts/faddr2line: extend usage on generic arch

2017-12-05 Thread Liu, Changcheng
On 22:30 Tue 05 Dec, Richard Weinberger wrote: > On Tue, Nov 21, 2017 at 10:29 AM, Liu, Changcheng > wrote: > > fadd2line script should use the binary tool > > used for the target system. > > > > Signed-off-by: Liu Changcheng > > > > diff --git a/scripts

[PATCH] scripts/faddr2line: fix CROSS_COMPILE unset error

2017-12-05 Thread Liu, Changcheng
faddr2line hit var unbound error When CROSS_COMPILE isn't set since nounset option is set in bash script. Signed-off-by: Liu Changcheng <changcheng@intel.com> Reported-by: Richard Weinberger <richard.weinber...@gmail.com> diff --git a/scripts/faddr2line b/scripts/faddr2line i

[PATCH] scripts/faddr2line: fix CROSS_COMPILE unset error

2017-12-05 Thread Liu, Changcheng
faddr2line hit var unbound error When CROSS_COMPILE isn't set since nounset option is set in bash script. Signed-off-by: Liu Changcheng Reported-by: Richard Weinberger diff --git a/scripts/faddr2line b/scripts/faddr2line index 39e07d8..7721d5b 100755 --- a/scripts/faddr2line +++ b/scripts

[PATCH] kernel/stop_machine: fix (de)reference function pointer

2017-12-04 Thread Liu, Changcheng
It's better to avoid ambiguity when (de)referencing function pointer. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index b759126..121d6aa 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -577,7 +577,7

[PATCH] kernel/stop_machine: fix (de)reference function pointer

2017-12-04 Thread Liu, Changcheng
It's better to avoid ambiguity when (de)referencing function pointer. Signed-off-by: Liu Changcheng diff --git a/kernel/stop_machine.c b/kernel/stop_machine.c index b759126..121d6aa 100644 --- a/kernel/stop_machine.c +++ b/kernel/stop_machine.c @@ -577,7 +577,7 @@ int stop_machine_cpuslocked

[PATCH] scripts/faddr2line: extend usage on generic arch

2017-11-21 Thread Liu, Changcheng
fadd2line script should use the binary tool used for the target system. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/scripts/faddr2line b/scripts/faddr2line index 1f5ce95..39e07d8 100755 --- a/scripts/faddr2line +++ b/scripts/faddr2line @@ -44,9 +44,16 @@ set -o e

[PATCH] scripts/faddr2line: extend usage on generic arch

2017-11-21 Thread Liu, Changcheng
fadd2line script should use the binary tool used for the target system. Signed-off-by: Liu Changcheng diff --git a/scripts/faddr2line b/scripts/faddr2line index 1f5ce95..39e07d8 100755 --- a/scripts/faddr2line +++ b/scripts/faddr2line @@ -44,9 +44,16 @@ set -o errexit set -o nounset

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-08 Thread Liu, Changcheng
o improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.14-rc8] > [cannot apply to next-20171108] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-08 Thread Liu, Changcheng
o improve: > > [auto build test WARNING on linus/master] > [also build test WARNING on v4.14-rc8] > [cannot apply to next-20171108] > [if your patch is applied to the wrong git tree, please drop us a note to > help improve the system] > > url: > https://github.com/0day-ci

Re: [PATCH v2] lib_backtrace: fix kernel text address leak

2017-11-06 Thread Liu, Changcheng
Don't leak idle function address in NMI backtrace. Signed-off-by: Liu Changcheng <changcheng@intel.com> diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 46e4c749..61a6b5a 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -93,8 +93,8 @@ bool nmi_cpu_backtrace(

Re: [PATCH v2] lib_backtrace: fix kernel text address leak

2017-11-06 Thread Liu, Changcheng
Don't leak idle function address in NMI backtrace. Signed-off-by: Liu Changcheng diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 46e4c749..61a6b5a 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -93,8 +93,8 @@ bool nmi_cpu_backtrace(struct pt_regs *regs

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-06 Thread Liu, Changcheng
Thx Josh. I'll refine the patch. Answer question as below. On 07:11 Mon 06 Nov, Josh Poimboeuf wrote: > On Mon, Nov 06, 2017 at 06:52:03PM +0800, Liu, Changcheng wrote: > > kaslr feature is enabled in kernel. > > Remove kernel text address when dumping idle IP info > > &

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-06 Thread Liu, Changcheng
Thx Josh. I'll refine the patch. Answer question as below. On 07:11 Mon 06 Nov, Josh Poimboeuf wrote: > On Mon, Nov 06, 2017 at 06:52:03PM +0800, Liu, Changcheng wrote: > > kaslr feature is enabled in kernel. > > Remove kernel text address when dumping idle IP info > > &

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-06 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng <changcheng@intel.com> Signed-off-by: Jerry Liu <primerl...@gmail.com> diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 1006

Re: [PATCH 0001/0001] format idle IP output func+offset/length

2017-11-06 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng Signed-off-by: Jerry Liu diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -92,7

[PATCH 0001/0001] format idle IP output func+offset/length

2017-11-05 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng <changcheng@intel.com> Signed-off-by: Jerry Liu <primerl...@gmail.com> diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 1006

[PATCH 0001/0001] format idle IP output func+offset/length

2017-11-05 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng Signed-off-by: Jerry Liu diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -92,7

[PATCH 0001/0001] format idle IP output func+offset/length

2017-11-05 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng <changcheng@intel.com> Signed-off-by: Jerry Liu <primerl...@gmail.com> diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 1006

[PATCH 0001/0001] format idle IP output func+offset/length

2017-11-05 Thread Liu, Changcheng
kaslr feature is enabled in kernel. Remove kernel text address when dumping idle IP info Signed-off-by: Liu Changcheng Signed-off-by: Jerry Liu diff --git a/lib/nmi_backtrace.c b/lib/nmi_backtrace.c index 0bc0a35..9cc4178 100644 --- a/lib/nmi_backtrace.c +++ b/lib/nmi_backtrace.c @@ -92,7