Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1218520
| From | Andi Kleen <andi@firstfloor.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: perf fails to mmap data file (JFFS2) |
| Date | 2015-09-03 21:00 +0200 |
| Message-ID | <q4HTR-3EU-23@gated-at.bofh.it> (permalink) |
| References | <q4xB8-5Ju-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Kenth Eriksson <kenth.eriksson@transmode.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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
perf fails to mmap data file (JFFS2) Kenth Eriksson <kenth.eriksson@transmode.com> - 2015-09-03 10:00 +0200
Re: perf fails to mmap data file (JFFS2) Andi Kleen <andi@firstfloor.org> - 2015-09-03 21:00 +0200
[PATCH] Fix mmap error for perf data file. Not all file systems, e.g. JFFS2, support MAP_SHARED. Kenth Eriksson <kenth.eriksson@transmode.com> - 2015-09-04 09:10 +0200
csiph-web