summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/trace-event-parse.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-01-26 12:11:41 +0100
committerIngo Molnar <mingo@elte.hu>2012-01-26 12:11:41 +0100
commit939ddcfa60dabfaed390987bf0103a6654c0fe30 (patch)
treebaa9b89a2b268d99496805f761ab9a00c272c0dc /tools/perf/util/trace-event-parse.c
parentMerge branch 'sigtrace' of git://github.com/utrace/linux into perf/core (diff)
parentperf tools: Fix strlen() bug in perf_event__synthesize_event_type() (diff)
downloadlinux-939ddcfa60dabfaed390987bf0103a6654c0fe30.tar.xz
linux-939ddcfa60dabfaed390987bf0103a6654c0fe30.zip
Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull in the latest perf/core improvements and fixes. Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'tools/perf/util/trace-event-parse.c')
-rw-r--r--tools/perf/util/trace-event-parse.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/perf/util/trace-event-parse.c b/tools/perf/util/trace-event-parse.c
index 6c164dc9ee95..1a8d4dc4f386 100644
--- a/tools/perf/util/trace-event-parse.c
+++ b/tools/perf/util/trace-event-parse.c
@@ -21,14 +21,13 @@
* The parts for function graph printing was taken and modified from the
* Linux Kernel that were written by Frederic Weisbecker.
*/
-#define _GNU_SOURCE
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <errno.h>
-#undef _GNU_SOURCE
#include "../perf.h"
#include "util.h"
#include "trace-event.h"