perf evlist: Clarify sterror_mmap variable names
authorArnaldo Carvalho de Melo <acme@redhat.com>
Fri, 12 Dec 2014 18:59:51 +0000 (15:59 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 16 Dec 2014 16:38:26 +0000 (13:38 -0300)
commite5d4a290da5366c397653c47c3e869a67b1bfa07
treef2eed90be88587d084cfecdfbbb3bf748dbdf52b
parent0a2138b28fd56eeb3852133691c881409885ee3f
perf evlist: Clarify sterror_mmap variable names

Prep patch for doing further checks like when the number of pages that
is being attempted is actually below /proc/sys/kernel/perf_event_mlock_kb but
the operation fails because the user doesn't have CAP_IPC_LOCK.

Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Borislav Petkov <bp@suse.de>
Cc: David Ahern <dsahern@gmail.com>
Cc: Don Zickus <dzickus@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/n/tip-wetzlux7mzvofu5cuji5i71i@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/evlist.c