From: Jan Kiszka <jan.kiszka@domain.hid>
To: adeos-main <adeos-main@gna.org>
Cc: Philippe Gerum <rpm@xenomai.org>
Subject: [Adeos-main] [PATCH] reset trace when setting new trigger
Date: Sun, 11 Nov 2007 18:33:56 +0100 [thread overview]
Message-ID: <47373D04.90308@domain.hid> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 176 bytes --]
For convenience: When the user sets a new triggering point via
/proc/ipipe/trace/trigger, also reset the currently frozen path so that
the new trigger can fire ASAP.
Jan
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: reset-trace-on-new-trigger.patch --]
[-- Type: text/x-patch; name="reset-trace-on-new-trigger.patch", Size: 552 bytes --]
---
kernel/ipipe/tracer.c | 2 ++
1 file changed, 2 insertions(+)
Index: linux-2.6.23.1-xeno_64/kernel/ipipe/tracer.c
===================================================================
--- linux-2.6.23.1-xeno_64.orig/kernel/ipipe/tracer.c
+++ linux-2.6.23.1-xeno_64/kernel/ipipe/tracer.c
@@ -1244,6 +1244,8 @@ static int __ipipe_wr_trigger(struct fil
/* invalidate the current range before setting a new one */
trigger_end = 0;
wmb();
+ ipipe_trace_frozen_reset();
+
/* set new range */
trigger_begin = begin;
wmb();
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]
reply other threads:[~2007-11-11 17:33 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47373D04.90308@domain.hid \
--to=jan.kiszka@domain.hid \
--cc=adeos-main@gna.org \
--cc=rpm@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.