Messages in this thread |  | | From | Andi Kleen <> | Subject | Re: perf fails to mmap data file (JFFS2) | Date | Thu, 03 Sep 2015 11:57:32 -0700 |
| |
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
|  |