perf tools: Convert getpagesize() uses to sysconf(_SC_GETPAGESIZE)
authorArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 14 Jan 2010 20:30:04 +0000 (18:30 -0200)
committerIngo Molnar <mingo@elte.hu>
Sat, 16 Jan 2010 09:58:46 +0000 (10:58 +0100)
commit1b75962e92d48a41019d4b440e221638aa2a7238
treedf87a4cdb52038593f09d0c38d19a7a2ccec0735
parentba21594cddee0a3af582971656702b1c4509d8f5
perf tools: Convert getpagesize() uses to sysconf(_SC_GETPAGESIZE)

Using the more portable and equivalent sysconf call.

Reported-by: Aristeu Rozanski <aris@redhat.com>
Reported-by: Ulrich Drepper <drepper@redhat.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Aristeu Rozanski <aris@redhat.com>
Cc: Frédéric Weisbecker <fweisbec@gmail.com>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Ulrich Drepper <drepper@redhat.com>
LKML-Reference: <1263501006-14185-1-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/util/session.c
tools/perf/util/trace-event-info.c