From: Ingo Molnar <mingo@elte.hu>
To: Florian Schmidt <mista.tapas@gmx.net>
Cc: "Jack O'Quin" <joq@io.com>,
Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>,
jackit-devel@lists.sourceforge.net,
Lee Revell <rlrevell@joe-job.com>,
linux-kernel@vger.kernel.org, cc@ccrma.Stanford.EDU,
Steven Rostedt <rostedt@goodmis.org>
Subject: Re: [Jackit-devel] Re: jack, PREEMPT_DESKTOP, delayed interrupts?
Date: Thu, 1 Sep 2005 09:32:41 +0200 [thread overview]
Message-ID: <20050901073241.GA6641@elte.hu> (raw)
In-Reply-To: <20050831175036.5640e221@mango.fruits.de>
* Florian Schmidt <mista.tapas@gmx.net> wrote:
> > JACK sources already include a CHECK_PREEMPTION() macro which expands
> > to Ingo's special gettimeofday() calls. The trace is turned on and
> > then off automatically before and after the realtime critical section
> > in the process thread (see libjack/client.c).
>
> Just for completeness sake:
>
> you need to build jackd with --enable-preemption-check
this is another feature, unrelated to latency tracing. So (an adapted
version of) the latency-tracing patch i sent should still be tried.
--enable-preemption-check does the 'send SIGUSR2 if jackd gets scheduled
unexpectedly'. That might unearth latencies, but it does not by itself
measure latencies. Right now we are more interested in the latencies
themselves.
i suspect the confusion comes from the API hacks i'm using: user-space
tracing is started/stopped via:
gettimeofday(0,1);
gettimeofday(0,0);
while 'jackd does not want to be scheduled' flag is switched on/off via:
gettimeofday(1,1);
gettimeofday(1,0);
(introducing extra syscalls for this is an overkill.)
Ingo
next prev parent reply other threads:[~2005-09-01 7:32 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-08-31 2:03 jack, PREEMPT_DESKTOP, delayed interrupts? Fernando Lopez-Lezcano
2005-08-31 2:39 ` Lee Revell
2005-08-31 5:12 ` Fernando Lopez-Lezcano
2005-08-31 7:35 ` Ingo Molnar
2005-08-31 12:08 ` [Jackit-devel] " Jack O'Quin
2005-08-31 15:50 ` Florian Schmidt
2005-09-01 7:32 ` Ingo Molnar [this message]
2005-09-01 17:28 ` Jack O'Quin
2005-08-31 15:08 ` Fernando Lopez-Lezcano
2005-09-26 17:59 ` Fernando Lopez-Lezcano
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=20050901073241.GA6641@elte.hu \
--to=mingo@elte.hu \
--cc=cc@ccrma.Stanford.EDU \
--cc=jackit-devel@lists.sourceforge.net \
--cc=joq@io.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mista.tapas@gmx.net \
--cc=nando@ccrma.Stanford.EDU \
--cc=rlrevell@joe-job.com \
--cc=rostedt@goodmis.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox