[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: plugin order of registration and order of callback
From: |
Peter Maydell |
Subject: |
Re: plugin order of registration and order of callback |
Date: |
Sun, 12 Jan 2020 20:35:41 +0000 |
On Fri, 10 Jan 2020 at 12:15, Alex Bennée <address@hidden> wrote:
> With that in mind we should say instruction callbacks are always before
> the instruction executes. The reason being is some instructions can
> fault and exit the run loop so any instrumentation inserted afterwards
> will never execute.
I suppose in theory we could also have an "instruction retired
successfully" event (by analogy with the h/w perf events that
some architectures have), if it's generally useful; it sounds
like it wouldn't solve the problem here though.
thanks
-- PMM