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


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