lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <c62985530810280202r694a23e8l5233d892b3aa4330@mail.gmail.com>
Date:	Tue, 28 Oct 2008 10:02:09 +0100
From:	"Frédéric Weisbecker" <fweisbec@...il.com>
To:	"Steven Rostedt" <rostedt@...dmis.org>
Cc:	"Ingo Molnar" <mingo@...e.hu>,
	"Linux Kernel" <linux-kernel@...r.kernel.org>
Subject: Re: Ftrace doesn't work anymore on latest tip

2008/10/28 Frédéric Weisbecker <fweisbec@...il.com>:
> 2008/10/28 Steven Rostedt <rostedt@...dmis.org>:
>>
>> On Tue, 28 Oct 2008, Fr?d?ric Weisbecker wrote:
>>
>>> Hi,
>>>
>>> I tried to launch the function tracer with the latest -tip.
>>> With DYNAMIC_FTRACE (I just tried one time), I set "function" to
>>> current_trace and it blocks during writing. I can't
>>> even switch to another console.
>>> Without DYNAMIC_FTRACE I can set the tracer to function but it doesn't
>>> produce any trace, even on trace or tracing_pipe.
>>>
>>> My config is in attachment.
>>> I will try some revert...or some other tracers.
>>>
>>
>>
>> You might want to update your config (make oldconfig?) The latest tip has
>> FUNCTION_TRACER instead of FTRACE.
>>
>> Also, the config you sent me, does not even have FTRACE on :-/
>>
>> CONFIG_HAVE_FTRACE=y
>> CONFIG_HAVE_DYNAMIC_FTRACE=y
>> CONFIG_HAVE_FTRACE_MCOUNT_RECORD=y
>> CONFIG_TRACER_MAX_TRACE=y
>> CONFIG_RING_BUFFER=y
>> CONFIG_TRACING=y
>> # CONFIG_FTRACE is not set
>> # CONFIG_IRQSOFF_TRACER is not set
>> # CONFIG_PREEMPT_TRACER is not set
>> # CONFIG_SYSPROF_TRACER is not set
>> CONFIG_SCHED_TRACER=y
>> CONFIG_CONTEXT_SWITCH_TRACER=y
>
> Sorry I sent a config for the mainline.
> This new one is the right.
>

One other point: I can't assign the sched_switch tracer.
echo sched_switch > current_tracer returns -EINVAL with
CONFIG_DYNAMIC_FTRACE disabled (didn't tested with enabled).

I will check that more deeper when I'll have more time.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ