aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-record.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r--tools/perf/builtin-record.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c
index 706f00196b87..3ad599b12c91 100644
--- a/tools/perf/builtin-record.c
+++ b/tools/perf/builtin-record.c
@@ -5,7 +5,6 @@
5 * (or a CPU, or a PID) into the perf.data output file - for 5 * (or a CPU, or a PID) into the perf.data output file - for
6 * later analysis via perf report. 6 * later analysis via perf report.
7 */ 7 */
8#define _LARGEFILE64_SOURCE
9#define _FILE_OFFSET_BITS 64 8#define _FILE_OFFSET_BITS 64
10 9
11#include "builtin.h" 10#include "builtin.h"
@@ -451,7 +450,7 @@ static int __cmd_record(int argc, const char **argv)
451 append_file = 0; 450 append_file = 0;
452 } 451 }
453 452
454 flags = O_CREAT|O_RDWR|O_LARGEFILE; 453 flags = O_CREAT|O_RDWR;
455 if (append_file) 454 if (append_file)
456 file_new = 0; 455 file_new = 0;
457 else 456 else