Re: [2.6.39-rc2] perf top fails to mmap

From: David Ahern
Date: Wed Apr 06 2011 - 11:21:02 EST




On 04/06/11 04:51, Tim Blechmann wrote:
> hi all,
>
> when trying to profile a process with `perf top -p $PID', perf exits with:
> Failed to mmap with 22 (Invalid argument)

Works fine for me with latest kernel tree (this morning). Short lived
process?

David

>
> this happens when running perf as the same process as the process and when
> running perf as root.
>
> tim
>
>
> --
> 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/
--
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/