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:	Mon, 23 Mar 2009 17:08:53 +0900 (JST)
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Nikanth Karthikesan <knikanth@...e.de>
Cc:	kosaki.motohiro@...fujitsu.com,
	Steven Rostedt <rostedt@...dmis.org>,
	linux-kernel@...r.kernel.org
Subject: Re: ftrace not working?

Hi

> I tried ftrace with the linus git 2.6.29 rc-6, & rc-8, but I always seem to
> get empty trace! Am I doing something wrong?
> 
> This is what I did.
> 
> linux-glcc:/data/git/linux-2.6 # cd /sys/kernel/debug/tracing/
> linux-glcc:/sys/kernel/debug/tracing # cat available_tracers 
> function_graph function sysprof sched_switch nop
> linux-glcc:/sys/kernel/debug/tracing # echo sched_switch > current_tracer 
> linux-glcc:/sys/kernel/debug/tracing # echo 1 > tracing_enabled 
> linux-glcc:/sys/kernel/debug/tracing # cat tracing_enabled 
> 1
> linux-glcc:/sys/kernel/debug/tracing # cat trace
> # tracer: sched_switch
> #
> #           TASK-PID    CPU#    TIMESTAMP  FUNCTION
> #              | |       |          |         |

your operation seems fine and your .config seems fine too.
but my box works ftrace well on 2.6.29-rc8.

hmm...

Could you post followin operation result and dmesg?

# cat failures
# cat current_tracer
# cat trace_options
# cat buffer_size_kb
# cat dyn_ftrace_total_info
# cat trace_options
# cat set_ftrace_filter
# cat tracing_cpumask
# cat tracing_enabled
# cat tracing_on



--
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