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: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Thu, 29 Aug 2013 20:42:08 +0530
From:	Prabhat Kumar Ravi <prabhatravi09@...il.com>
To:	linux-kernel@...r.kernel.org
Subject: Re: wakeup tracer not able to capture traces on 3.4 kernel

On Thu, Aug 29, 2013 at 7:41 PM, Prabhat Kumar Ravi
<prabhatravi09@...il.com> wrote:
> Hi,
>
> I trying to capture traces through wakeup tracer, but not able to
> capture it on 3.4 kernel with cortex A9 processor, armv7.
> {{{
> / # mount -t debugfs nodev /debug
> / # sysctl kernel.ftrace_enabled=1
> kernel.ftrace_enabled = 1
> / # echo wakeup > /debug/tracing/current_tracer
> / # echo latency-format > /debug/tracing/trace_options
> / # echo 0 > /debug/tracing/tracing_max_latency
> / # echo 1 > /debug/tracing/tracing_on
> / # sleep 10
> / # echo 0 > /debug/tracing/tracing_on
> / # cat /debug/tracing/trace
> # tracer: wakeup
> #
> }}}

My target board is xilinx-zc702,
here in kernel/trace/trace.c:
void tracing_record_cmdline(struct task_struct *tsk)
{
if (atomic_read(&trace_record_cmdline_disabled) || !tracer_enabled ||
   !tracing_is_on())
-------------------------------> it not coming here at all.
return;

trace_save_cmdline(tsk);
}

Regards,
Prabhat
--
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