aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/data.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/data.c')
-rw-r--r--tools/perf/util/data.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tools/perf/util/data.c b/tools/perf/util/data.c
index 48094fde0a68..d8cfc19ddb10 100644
--- a/tools/perf/util/data.c
+++ b/tools/perf/util/data.c
@@ -12,16 +12,6 @@
12#include "util.h" 12#include "util.h"
13#include "debug.h" 13#include "debug.h"
14 14
15#ifndef O_CLOEXEC
16#ifdef __sparc__
17#define O_CLOEXEC 0x400000
18#elif defined(__alpha__) || defined(__hppa__)
19#define O_CLOEXEC 010000000
20#else
21#define O_CLOEXEC 02000000
22#endif
23#endif
24
25static bool check_pipe(struct perf_data *data) 15static bool check_pipe(struct perf_data *data)
26{ 16{
27 struct stat st; 17 struct stat st;