Re: [PATCH 03/10] perf sched timehist: Handle zero sample->tid properly

From: David Ahern
Date: Mon Dec 05 2016 - 23:02:59 EST


On 12/5/16 7:59 PM, Namhyung Kim wrote:
> No, I didn't investigate it yet. Looking at the original code, you
> seemed to have same issue and workaround like checking prev_pid or
> callchains, right?

most likely. As I responded on another patch, the sched timehist command has been used for years on a range of OS'es and kernel versions. Most of the oddities you see are (sometime quick) fixes to strange differences in kernel versions.