[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <1441266585059.29731@transmode.com>
Date: Thu, 3 Sep 2015 07:49:45 +0000
From: Kenth Eriksson <kenth.eriksson@...nsmode.com>
To: "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: perf fails to mmap data file (JFFS2)
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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists