Re: perf: record segfaults for cycles event when collecting data ona VM

From: Ingo Molnar
Date: Thu Feb 09 2012 - 02:30:36 EST



* Joerg Roedel <joerg.roedel@xxxxxxx> wrote:

> > which makes sense. It forces
> > perf_session__find_machine_for_cpumode() to return the host
> > machine always.
>
> Great, thanks. I will send two patches tomorrow to fix Jason's
> problem and change the default for perf_guest.

Well, if the crash is fixed then the the default can stay,
right?

Generally we should treat all input data in a perf.data or even
the bits we get in the ring-buffer as external data that has to
be checked carefully, with no assumptions made about data.

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/