All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Dmitry Adamushko <dmitry.adamushko@domain.hid>,
	xenomai-core <xenomai@xenomai.org>
Subject: Re: [Xenomai-core] [PATCH 2/3] Migrate and enhance IRQ statistics
Date: Wed, 18 Oct 2006 23:48:52 +0200	[thread overview]
Message-ID: <4536A144.1040603@domain.hid> (raw)
In-Reply-To: <452E9ADB.6000700@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 953 bytes --]

Jan Kiszka wrote:
> This patch migrates the xnintr hits statistics to the new xnstat
> subsystem and introduces per-CPU runtime statistics to xnintr entities.
> The latter allows to differentiate between ISR and thread activity under
> /proc/xenomai/stat.
> 
> For querying the xnintr statistics, a scalable service based on IRQ list
> revisions is introduced (xnintr_query), just like it already exists for
> threads.
> 
> Accounting model:
>  - hits are only counted if the ISR returns XN_ISR_HANDLED
>  - runtime is accounted over each ISR invocation, independent of its
>    return value
> 
> As a hopefully not critical side effect, the native intr services now
> only reports non-zero hit counters if XENO_OPT_STATS in enabled. This
> fact is documented in the rt_intr_info structure.
> 

This patch causes an oops on process cleanup here - I'm still
investigating (likely an outdated xnstat_runtime reference)...

Jan



[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

      reply	other threads:[~2006-10-18 21:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-12 19:43 [Xenomai-core] [PATCH 2/3] Migrate and enhance IRQ statistics Jan Kiszka
2006-10-18 21:48 ` Jan Kiszka [this message]

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=4536A144.1040603@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=dmitry.adamushko@domain.hid \
    --cc=xenomai@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.