aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/util/trace-event-parse.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2012-01-31 13:01:58 +0100
committerIngo Molnar <mingo@elte.hu>2012-01-31 13:01:58 +0100
commit45179fec946dd554f74e950d2278dabd5ad23fd3 (patch)
treeccb91fc9a5c29a3f544982cf782fc03db2c54cbb /tools/perf/util/trace-event-parse.c
parentd0caf292505d051b1026e85faf3a85e907566f31 (diff)
parent509605dbe9395ce1abbfac1dba375f074ff57a53 (diff)
downloadlinux-45179fec946dd554f74e950d2278dabd5ad23fd3.tar.gz
linux-45179fec946dd554f74e950d2278dabd5ad23fd3.tar.bz2
linux-45179fec946dd554f74e950d2278dabd5ad23fd3.zip
Merge tag 'perf-urgent-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Fixes cherry picked from perf/core. 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"