[<prev] [next>] [day] [month] [year] [list]
Message-ID: <87h8in85z4.fsf@ashishki-desk.ger.corp.intel.com>
Date: Tue, 18 Sep 2018 13:17:35 +0300
From: Alexander Shishkin <alexander.shishkin@...ux.intel.com>
To: Andy Shevchenko <andy.shevchenko@...il.com>,
jack.henschel@...lbox.org
Cc: Platform Driver <platform-driver-x86@...r.kernel.org>,
Darren Hart <dvhart@...radead.org>,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
andi.kleen@...el.com, alexander.shishkin@...ux.intel.com
Subject: Re: Custom Interrupt Handler for NMI
Andy Shevchenko <andy.shevchenko@...il.com> writes:
> On Wed, Sep 12, 2018 at 6:16 PM Jack Henschel <jack.henschel@...lbox.org> wrote:
>>
>> Hi there,
>>
>> is it possible to register a custom interrupt handler for a NMI/PMI
>> Interrupt?
>
> I don't think so, though I'm not an expert in the area, so, I also
> might be interested to see the answer to this question.
Sure, register_nmi_handler().
>> In particular, I want to catch the Intel PT interrupt (generated by the
>> PMU and sent over the LAPIC) in a kernel module. Is such a thing possible?
>
> I'm not sure why do you need this, Cc'ed to PT driver author.
Thanks, Andy. I am indeed interested in all the different PT drivers out
there.
So far, I'm aware of the perf driver and an out of tree simple-pt. If
you end up with yet another one, do let me know.
Good luck,
--
Alex
Powered by blists - more mailing lists