[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <87d1xz49gj.fsf@tassilo.jf.intel.com>
Date: Thu, 03 Sep 2015 11:57:32 -0700
From: Andi Kleen <andi@...stfloor.org>
To: Kenth Eriksson <kenth.eriksson@...nsmode.com>
Cc: "linux-kernel\@vger.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: perf fails to mmap data file (JFFS2)
Kenth Eriksson <kenth.eriksson@...nsmode.com> writes:
> perf on 4.1 fails to mmap the perf data file (in
> __perf_session__process_events) with error code 22 (invalid
> argument). I believe the JFFS2 file system does not support PROT_READ
> and MAP_SHARED. How can this be fixed? Can we change from MAP_SHARED
> to MAP_PRIVATE, or is there a reason to make it shared?
MAP_PRIVATE should be fine.
-Andi
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists