[lkml]   [2015]   [Sep]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: perf fails to mmap data file (JFFS2)
Kenth Eriksson <> 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.


 \ /
  Last update: 2015-09-03 21:21    [W:0.159 / U:0.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site