* [Xenomai] trigger!!
@ 2014-08-26 11:12 ali hagigat
2014-08-26 11:28 ` Gilles Chanteperdrix
0 siblings, 1 reply; 7+ messages in thread
From: ali hagigat @ 2014-08-26 11:12 UTC (permalink / raw)
To: xenomai
I can not change and write /proc/ipipe/trace/trigger.....
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmdline
Type: application/octet-stream
Size: 1990 bytes
Desc: not available
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20140826/5132990a/attachment.obj>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-26 11:12 [Xenomai] trigger!! ali hagigat
@ 2014-08-26 11:28 ` Gilles Chanteperdrix
2014-08-26 11:40 ` Alec Ari
0 siblings, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2014-08-26 11:28 UTC (permalink / raw)
To: ali hagigat, xenomai
On 08/26/2014 01:12 PM, ali hagigat wrote:
> I can not change and write /proc/ipipe/trace/trigger.....
See:
http://xenomai.org/2014/06/using-the-i-pipe-tracer/
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-26 11:28 ` Gilles Chanteperdrix
@ 2014-08-26 11:40 ` Alec Ari
2014-08-26 14:22 ` Gilles Chanteperdrix
2014-08-26 14:26 ` Gilles Chanteperdrix
0 siblings, 2 replies; 7+ messages in thread
From: Alec Ari @ 2014-08-26 11:40 UTC (permalink / raw)
To: xenomai
Which file is this trace output written to?
http://xenomai.org/2014/06/using-the-i-pipe-tracer/#Interpreting_Traces
The documentation is pretty crude, also are these debugging functions part of IPIPE or Xenomai?
Alec
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-26 11:40 ` Alec Ari
@ 2014-08-26 14:22 ` Gilles Chanteperdrix
2014-08-26 14:26 ` Gilles Chanteperdrix
1 sibling, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2014-08-26 14:22 UTC (permalink / raw)
To: Alec Ari, xenomai
On 08/26/2014 01:40 PM, Alec Ari wrote:
> Which file is this trace output written to?
>
> http://xenomai.org/2014/06/using-the-i-pipe-tracer/#Interpreting_Traces
>
>
> The documentation is pretty crude,
Maybe, nevertheless it answers Ali's question.
> also are these debugging functions part of IPIPE or Xenomai?
It is named "I-pipe tracer", what do you think?
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-26 11:40 ` Alec Ari
2014-08-26 14:22 ` Gilles Chanteperdrix
@ 2014-08-26 14:26 ` Gilles Chanteperdrix
2014-08-27 14:47 ` ali hagigat
1 sibling, 1 reply; 7+ messages in thread
From: Gilles Chanteperdrix @ 2014-08-26 14:26 UTC (permalink / raw)
To: Alec Ari, xenomai
On 08/26/2014 01:40 PM, Alec Ari wrote:
> Which file is this trace output written to?
>
> http://xenomai.org/2014/06/using-the-i-pipe-tracer/#Interpreting_Traces
>
>
> The documentation is pretty crude,
But the code is available for all to see:
http://git.xenomai.org/ipipe.git/tree/kernel/ipipe/tracer.c
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-26 14:26 ` Gilles Chanteperdrix
@ 2014-08-27 14:47 ` ali hagigat
2014-08-27 18:57 ` Gilles Chanteperdrix
0 siblings, 1 reply; 7+ messages in thread
From: ali hagigat @ 2014-08-27 14:47 UTC (permalink / raw)
To: Gilles Chanteperdrix; +Cc: xenomai
Sorry to ask it again but the file, /proc/ipipe/trace/trigger, can be
written only once. The documentation says:
"Write an empty string to disable the trigger, "
As far as I tested, writing empty string to the file , trigger,
returns with error and frozen log continue to become updated
After the initial write I can not write to this file any more even if I do:
echo 0 > /proc/ipipe/trace/enable
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] trigger!!
2014-08-27 14:47 ` ali hagigat
@ 2014-08-27 18:57 ` Gilles Chanteperdrix
0 siblings, 0 replies; 7+ messages in thread
From: Gilles Chanteperdrix @ 2014-08-27 18:57 UTC (permalink / raw)
To: ali hagigat; +Cc: xenomai
On 08/27/2014 04:47 PM, ali hagigat wrote:
> Sorry to ask it again but the file, /proc/ipipe/trace/trigger, can be
> written only once.
>From looking at the code, I do not think so. It seems to me you can
write to the file as many times as you want.
> The documentation says:
> "Write an empty string to disable the trigger, "
> As far as I tested, writing empty string to the file , trigger,
> returns with error
The code agrees with this conclusion.
> and frozen log continue to become updated
> After the initial write I can not write to this file any more even if I do:
> echo 0 > /proc/ipipe/trace/enable
>
Why not trying and writing the name of a function which has no chance of
being triggered, such as "start_kernel" ?
--
Gilles.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-08-27 18:57 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-08-26 11:12 [Xenomai] trigger!! ali hagigat
2014-08-26 11:28 ` Gilles Chanteperdrix
2014-08-26 11:40 ` Alec Ari
2014-08-26 14:22 ` Gilles Chanteperdrix
2014-08-26 14:26 ` Gilles Chanteperdrix
2014-08-27 14:47 ` ali hagigat
2014-08-27 18:57 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.