mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Amitabha Roy" <amitabha.roy@gmail.com>
To: oprofile-list@lists.sourceforge.net, linux-kernel@vger.kernel.org
Subject: DIE_NMI_IPI to oprofile ?
Date: Mon, 25 Jun 2007 23:51:51 -0700	[thread overview]
Message-ID: <cf9d85500706252351k68924882s2c6bc58454d1bb9b@mail.gmail.com> (raw)

Hi

>From looking at the default_do_nmi code in traps.c it seems that (at
least for the non BSP case, with reason=0) the die notifier chain gets
called with val=DIE_NMI_IPI.

However in the profile_exceptions_notify_handler we check for DIE_NMI
(and not DIE_NMI_IPI) to decide if we want to cycle through the
counters. This seems wrong to me unless I am missing something (which
must be the case, otherwise this code is broken :).

Can anyone help me understand this ?

Thanks
-Amitabha

             reply	other threads:[~2007-06-26  6:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-26  6:51 Amitabha Roy [this message]
2007-06-26 10:20 ` Björn Steinbrink

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=cf9d85500706252351k68924882s2c6bc58454d1bb9b@mail.gmail.com \
    --to=amitabha.roy@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=oprofile-list@lists.sourceforge.net \
    /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

all inboxes | Powered by JetHome®