Re: [RFC] perf record: missing buildid for callstack modules

From: Peter Zijlstra
Date: Tue Jan 19 2016 - 10:27:55 EST


On Tue, Jan 19, 2016 at 11:56:40PM +0900, Namhyung Kim wrote:

> > But but ... why is #2 a problem with mtime? If we have an out of date record in
> > the perf.data, then the perf.data is uninteresting in 99% of the usecases! It's
> > out of date, most likely because the binary the developer is working on got
> > rebuilt, or the system got upgraded - in both cases the developer does not care
> > about the old records anymore...
>
> We have 'perf diff' command which compares old and new performance
> results of a same program. People can use it to see how much improved
> in the new version than the baseline. In this case, the old binary
> should be found from the old perf.data.

Just means they'll have to use perf-archive or whatnot before that
works. Making the regular perf-record dead slow just so that a few more
complex workloads work doesn't make sense.