summaryrefslogtreecommitdiffstats
path: root/tools/perf/util/event.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@elte.hu>2010-05-04 18:31:47 +0200
committerIngo Molnar <mingo@elte.hu>2010-05-04 18:31:47 +0200
commitc4f3b5a2d70eae4abb8bcaaf8dc3f067ff1714e8 (patch)
tree54b857fc96f423ee3fcd4b8752169024ad8ebdb1 /tools/perf/util/event.c
parent777d0411cd1e384115985dac5ccd42031e3eee2b (diff)
parent02bf60aad7d5912dfcdbe0154f1bd67ea7a8301e (diff)
Merge branch 'perf' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux-2.6 into perf/core
Diffstat (limited to 'tools/perf/util/event.c')
-rw-r--r--tools/perf/util/event.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/event.c b/tools/perf/util/event.c
index 1757b0ffeaa..2477270c1d3 100644
--- a/tools/perf/util/event.c
+++ b/tools/perf/util/event.c
@@ -713,6 +713,7 @@ int event__parse_sample(event_t *event, u64 type, struct sample_data *data)
array++;
}
+ data->id = -1ULL;
if (type & PERF_SAMPLE_ID) {
data->id = *array;
array++;