login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
28
Re: ftrace and debugfs weird interaction
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Mathieu Desnoyers <mathieu.desnoyers@...>
To: Pekka Paalanen <pq@...>
Cc: Ingo Molnar <mingo@...>, Greg Kroah-Hartman <gregkh@...>, <linux-kernel@...>, Steven Rostedt <rostedt@...>
Subject:
Re: ftrace and debugfs weird interaction
Date: Monday, April 28, 2008 - 4:34 pm
* Pekka Paalanen (
pq@iki.fi
) wrote:
quoted text
> > * Mathieu Desnoyers <mathieu.desnoyers@polymtl.ca> wrote: > > > > > Hi, > > > > > > When trying to figure out what was going on with the sched tracer > > > "tracing_enabled" file (sched-devel.git tree), I fell on this strange > > > behavior : > > > > > > echo 1>tracing_enabled seems _not_ to send 1 to the tracing_ctrl_write > > Wait a minute, are you literally running the command: > echo 1>tracing_enabled > > If you are, you just echoed only a newline and directed stdout, stream 1, > to the file. No? :-) > > Could you try with a space: > echo 1 > tracing_enabled > > > > callback. However, sending garbage, e.g. echo s> tracing_enabled, > > > correctly sends the 's' character down the chain. echo 0>tracing_enabled > > > sometimes results in the callback not even being called. > > Stream 0 is stdin, so... not sure what this would do. Probably nothing, > just like you experienced. >
*duh*. Ok. That wasn't smart. You spotted the problem. Thanks a lot :) Mathieu
quoted text
> > Thanks. > > -- > Pekka Paalanen >
http://www.iki.fi/pq/
-- Mathieu Desnoyers OpenPGP key fingerprint: 8CD5 52C3 8E3C 4140 715F BA06 3F25 A8FE 3BAE 9A68 --
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
ftrace and debugfs weird interaction
, Mathieu Desnoyers
, (Sat Apr 26, 2:54 pm)
Re: ftrace and debugfs weird interaction
, Ingo Molnar
, (Mon Apr 28, 11:39 am)
Re: ftrace and debugfs weird interaction
, Pekka Paalanen
, (Mon Apr 28, 3:35 pm)
Re: ftrace and debugfs weird interaction
, Mathieu Desnoyers
, (Mon Apr 28, 4:34 pm)
Re: ftrace and debugfs weird interaction
, Steven Rostedt
, (Mon Apr 28, 3:27 pm)
Re: ftrace and debugfs weird interaction
, Greg KH
, (Sat Apr 26, 8:36 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
James Bruce
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
Peter Zijlstra
[PATCH 00/23] per device dirty throttling -v8
Jan Engelhardt
intel iommu (Re: -mm merge plans for 2.6.23)
Peter Zijlstra
[RFC/PATCH 0/4] CPUSET driven CPU isolation
git
:
linux-netdev
:
Gerrit Renker
[PATCH 18/37] dccp: Support for Mandatory options
Rick Jones
Re: Network latency regressions from 2.6.22 to 2.6.29
David Miller
[GIT]: Networking
Josip Rodin
bnx2_poll panicking kernel
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
5 users
and
728 guests
online.
Online users
regalosresas
richardayala
drzeus
maxicv84
shiatsumassager
Syndicate