[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AANLkTikJMMn5gPwkBJcL7=KYR5wK-DKW=mqoR6Ks0jRH@mail.gmail.com>
Date: Tue, 31 Aug 2010 09:10:59 +0800
From: Lin Ming <lin@...g.vg>
To: mingo@...hat.com, hpa@...or.com, eranian@...gle.com,
linux-kernel@...r.kernel.org, a.p.zijlstra@...llo.nl,
tglx@...utronix.de, eranian@...il.com, mingo@...e.hu
Cc: linux-tip-commits@...r.kernel.org
Subject: Re: [tip:perf/urgent] perf_events: Fix time tracking for events with
pid != -1 and cpu != -1
>
> perf_events: Fix time tracking for events with pid != -1 and cpu != -1
Hi,
I thought pid != -1 and cpu != -1 is not valid.
# perf top -p 23268 -C 1
WARNING: PID switch overriding CPU
In which case this could be valid?
Thanks,
Lin Ming
>
> Per-thread events with a cpu filter, i.e., cpu != -1, were not
> reporting correct timings when the thread never ran on the
> monitored cpu. The time enabled was reported as a negative
> value.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists