lkml.org 
[lkml]   [2013]   [Feb]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v5 00/45] CPU hotplug: stop_machine()-free CPU hotplug
From
Date
On Mon, 2013-02-18 at 17:50 +0100, Vincent Guittot wrote:

> yes for sure.
> The problem is more linked to cpuidle and function tracer.
>
> cpu hotplug and function tracer work when cpuidle is disable.
> cpu hotplug and cpuidle works if i don't enable function tracer.
> my platform is dead as soon as I enable function tracer if cpuidle is
> enabled. It looks like some notrace are missing in my platform driver
> but we haven't completely fix the issue yet
>

You can bisect to find out exactly what function is the problem:

cat /debug/tracing/available_filter_functions > t

f(t) {
num=`wc -l t`
sed -ne "1,${num}p" t > t1
let num=num+1
sed -ne "${num},$p" t > t2

cat t1 > /debug/tracing/set_ftrace_filter
# note this may take a long time to finish

echo function > /debug/tracing/current_tracer

<failed? bisect f(t1), if not bisect f(t2)>
}

-- Steve





\
 
 \ /
  Last update: 2013-02-18 21:22    [W:0.159 / U:0.084 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site