perf tools: Get rid of redundant _FILE_OFFSET_BITS definition
authorNamhyung Kim <namhyung.kim@lge.com>
Tue, 19 Mar 2013 09:46:16 +0000 (18:46 +0900)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 21 Mar 2013 16:04:00 +0000 (13:04 -0300)
We define it in the Makefile so no need to duplicate it.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Link: http://lkml.kernel.org/r/1363686376-29525-1-git-send-email-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/util/header.c
tools/perf/util/session.c
tools/perf/util/trace-event-read.c
tools/perf/util/util.h

index 9f2344a2c50600d5a595c75173773505bd5e662d..78a41fdbe56c250ad1857026257f4d7998430712 100644 (file)
@@ -5,8 +5,6 @@
  * (or a CPU, or a PID) into the perf.data output file - for
  * later analysis via perf report.
  */
-#define _FILE_OFFSET_BITS 64
-
 #include "builtin.h"
 
 #include "perf.h"
index a9b7349f7c5fc7e35a42dd446b98b84ee256b392..79e48c7269382f3ed512f69a504c229d393d6ed9 100644 (file)
@@ -1,5 +1,3 @@
-#define _FILE_OFFSET_BITS 64
-
 #include "util.h"
 #include <sys/types.h>
 #include <byteswap.h>
index ab265c2cfab3680dddc0d43aca1d696f22066ffb..c8ba120b0dbee3944cd9172acf916965c214bcde 100644 (file)
@@ -1,5 +1,3 @@
-#define _FILE_OFFSET_BITS 64
-
 #include <linux/kernel.h>
 
 #include <byteswap.h>
index 7cb24635adf2adffdc4d9c1577aa5f25c6d9c94d..8c8181aa286a82039d3fb5c49c966160e43056de 100644 (file)
@@ -18,8 +18,6 @@
  *
  * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  */
-#define _FILE_OFFSET_BITS 64
-
 #include <dirent.h>
 #include <stdio.h>
 #include <stdlib.h>
index 6a0781c3a573db1af537cbca562e95c20efeb01d..a45710b70a550962530af534542d60de828f4169 100644 (file)
@@ -1,8 +1,6 @@
 #ifndef GIT_COMPAT_UTIL_H
 #define GIT_COMPAT_UTIL_H
 
-#define _FILE_OFFSET_BITS 64
-
 #ifndef FLEX_ARRAY
 /*
  * See if our compiler is known to support flexible array members.