perf tools: Clean up O_LARGEFILE et al usage
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Thu, 4 Feb 2010 08:46:42 +0000 (16:46 +0800)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Feb 2010 09:03:03 +0000 (10:03 +0100)
Setting _FILE_OFFSET_BITS and using O_LARGEFILE, lseek64, etc,
is redundant. Thanks H. Peter Anvin for pointing it out.

So, this patch removes O_LARGEFILE, lseek64, etc.

Suggested-by: "H. Peter Anvin" <hpa@zytor.com>
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <peterz@infradead.org>
LKML-Reference: <4B6A8972.3070605@cn.fujitsu.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/trace-event-read.c

Simple merge
Simple merge
Simple merge
Simple merge