perf tools: Get rid of redundant _FILE_OFFSET_BITS definition
Namhyung Kim
maintainerPATCH 1/1 perf tools: Get rid of redundant _FILE_OFFSET_BITS definition
From: Namhyung Kim <[email protected]>
We define it in the Makefile so no need to duplicate it.
Signed-off-by Namhyung Kim <[email protected]>
--- tools/perf/builtin-record.c | 2 -- tools/perf/util/header.c | 2 -- tools/perf/util/session.c | 2 -- tools/perf/util/trace-event-read.c | 2 -- tools/perf/util/util.h | 2 -- 5 files changed, 10 deletions(-)
tools/perf/builtin-record.c +0 -2
@@ -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"
tools/perf/util/header.c +0 -2
@@ -1,5 +1,3 @@ -#define _FILE_OFFSET_BITS 64 -#include "util.h" #include <sys/types.h> #include <byteswap.h>
tools/perf/util/session.c +0 -2
@@ -1,5 +1,3 @@ -#define _FILE_OFFSET_BITS 64 -#include <linux/kernel.h> #include <byteswap.h>
tools/perf/util/trace-event-read.c +0 -2
@@ -18,8 +18,6 @@* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#define _FILE_OFFSET_BITS 64 -#include <dirent.h> #include <stdio.h> #include <stdlib.h>
tools/perf/util/util.h +0 -2
@@ -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.
Signature · 1 line
1.7.11.7
tip-bot for Namhyung Kim
merge botperf tools: Get rid of redundant _FILE_OFFSET_BITS definition
Commit-ID: 62baca8aed636eb10f9274761aa1dcbfd48a7caa Gitweb: http://git.kernel.org/tip/62baca8aed636eb10f9274761aa1dcbfd48a7caa Author: Namhyung Kim <[email protected]> AuthorDate: Tue, 19 Mar 2013 18:46:16 +0900 Committer: Arnaldo Carvalho de Melo <[email protected]> CommitDate: Thu, 21 Mar 2013 13:04:00 -0300
perf tools: Get rid of redundant _FILE_OFFSET_BITS definition
We define it in the Makefile so no need to duplicate it.
Signed-off-by Namhyung Kim <[email protected]>
Cc Ingo Molnar <[email protected]>
Cc Paul Mackerras <[email protected]>
Cc Peter Zijlstra <[email protected]>
Signed-off-by Arnaldo Carvalho de Melo <[email protected]>
--- tools/perf/builtin-record.c | 2 -- tools/perf/util/header.c | 2 -- tools/perf/util/session.c | 2 -- tools/perf/util/trace-event-read.c | 2 -- tools/perf/util/util.h | 2 -- 5 files changed, 10 deletions(-)
tools/perf/builtin-record.c +0 -2
@@ -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"
tools/perf/util/header.c +0 -2
@@ -1,5 +1,3 @@ -#define _FILE_OFFSET_BITS 64 -#include "util.h" #include <sys/types.h> #include <byteswap.h>
tools/perf/util/session.c +0 -2
@@ -1,5 +1,3 @@ -#define _FILE_OFFSET_BITS 64 -#include <linux/kernel.h> #include <byteswap.h>
tools/perf/util/trace-event-read.c +0 -2
@@ -18,8 +18,6 @@* * ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */ -#define _FILE_OFFSET_BITS 64 -#include <dirent.h> #include <stdio.h> #include <stdlib.h>
tools/perf/util/util.h +0 -2
@@ -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.