login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
April
»
28
Re: ftrace and debugfs weird interaction
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From: Mathieu Desnoyers
Subject:
Re: ftrace and debugfs weird interaction
Date: Monday, April 28, 2008 - 1: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, 11:54 am)
Re: ftrace and debugfs weird interaction
, Greg KH
, (Sat Apr 26, 5:36 pm)
Re: ftrace and debugfs weird interaction
, Ingo Molnar
, (Mon Apr 28, 8:39 am)
Re: ftrace and debugfs weird interaction
, Steven Rostedt
, (Mon Apr 28, 12:27 pm)
Re: ftrace and debugfs weird interaction
, Pekka Paalanen
, (Mon Apr 28, 12:35 pm)
Re: ftrace and debugfs weird interaction
, Mathieu Desnoyers
, (Mon Apr 28, 1:34 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Trent Waddington
Re: Gaming Interface
Takashi Iwai
Re: [PATCH] usb: usbmixer error path fix
Pekka Enberg
Re: latest -git: suspend: unable to handle kernel paging request (was Re: no_conso...
Dan Carpenter
Re: [patch] dma-debug: off by one issue
Jeremy Fitzhardinge
Re: [patch 1/6] Re-enable VDSO by default with PARAVIRT
git
:
Stephen R. van den Berg
Re: [RFC] origin link for cherry-pick and revert
Christian Stimming
git-gui: Fix broken revert confirmation.
Junio C Hamano
Re: git-svnimport
Mark Burton
Re: [PATCH] builtin-branch: highlight current remote branches with an asterisk
Johannes Schindelin
Re: [PATCH] Fix approxidate("never") to always return 0
linux-netdev
:
Nick Piggin
Re: Kernel WARNING: at net/core/dev.c:1330 __netif_schedule+0x2c/0x98()
Daniel Lezcano
getsockopt(TCP_DEFER_ACCEPT) value change
David Miller
Re: 2.6.27.18: bnx2/tg3: BUG: "scheduling while atomic" trying to ifenslave a seco...
Ingo Molnar
Re: [regression] nf_iterate(), BUG: unable to handle kernel NULL pointer dereference
Gerrit Renker
[PATCH 37/37] dccp: Debugging functions for feature negotiation
openbsd-misc
:
Christophe Rioux
Implementation example of snmp
Ryan McBride
Re: Packets Per Second Limit?
Nick Holland
Re: booting openbsd on eee without cd-rom
Marco Peereboom
Re: Singularity OS
Otto Moerbeek
Re: Solved: cron - setusercontext failed for root
git-commits-head
:
Linux Kernel Mailing List
ath9k_htc: Allocate URBs properly
Linux Kernel Mailing List
bnx2x: Fan failure mechanism on additional design
Linux Kernel Mailing List
cpumask: make irq_set_affinity() take a const struct cpumask
Linux Kernel Mailing List
ARM: 5670/1: bcmring: add default configuration for bcmring arch
Linux Kernel Mailing List
ahci: Workaround HW bug for SB600/700 SATA controller PMP support
Colocation donated by:
Syndicate