summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/util.h
diff options
context:
space:
mode:
authorXiao Guangrong2010-02-04 09:46:42 +0100
committerIngo Molnar2010-02-04 10:03:03 +0100
commitf887f3019e56389a73617f4e70f512e82cc89adb (patch)
tree176b13e6d9713715d1b4eef75e702b47e6923606 /tools/perf/util/util.h
parentperf_events, x86: Fix bug in hw_perf_enable() (diff)
downloadkernel-qcow2-linux-f887f3019e56389a73617f4e70f512e82cc89adb.tar.gz
kernel-qcow2-linux-f887f3019e56389a73617f4e70f512e82cc89adb.tar.xz
kernel-qcow2-linux-f887f3019e56389a73617f4e70f512e82cc89adb.zip
perf tools: Clean up O_LARGEFILE et al usage
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>
Diffstat (limited to 'tools/perf/util/util.h')
0 files changed, 0 insertions, 0 deletions