public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* perf fails to mmap data file (JFFS2)
@ 2015-09-03  7:49 Kenth Eriksson
  2015-09-03 18:57 ` Andi Kleen
  0 siblings, 1 reply; 3+ messages in thread
From: Kenth Eriksson @ 2015-09-03  7:49 UTC (permalink / raw)
  To: linux-kernel@vger.kernel.org

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?

Thanks,
Kenth 


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-09-04  7:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-03  7:49 perf fails to mmap data file (JFFS2) Kenth Eriksson
2015-09-03 18:57 ` Andi Kleen
2015-09-04  7:00   ` [PATCH] Fix mmap error for perf data file. Not all file systems, e.g. JFFS2, support MAP_SHARED Kenth Eriksson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox