Re: [tip:perf/urgent] perf_events: Fix time tracking for events with pid != -1 and cpu != -1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>
> 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-tip-commits" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Stable Commits]     [Linux Stable Kernel]     [Linux Kernel]     [Linux USB Devel]     [Linux Video &Media]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux