perf record: Add ID and to recorded event data when recording multiple events
commit8907fd607b66e36636469a2de9833db643869db8
authorEric B Munson <ebmunson@us.ibm.com>
Fri, 5 Mar 2010 15:51:05 +0000 (5 12:51 -0300)
committerIngo Molnar <mingo@elte.hu>
Wed, 10 Mar 2010 12:53:46 +0000 (10 13:53 +0100)
tree325b724c997833891576ee81b454e00a822425b5
parentaccd3cc45a0e1d11090ea66888405987de77bdca
perf record: Add ID and to recorded event data when recording multiple events

Currently perf record does not write the ID or the to disk for
events. This doesn't allow report to tell if an event stream
contains one or more types of events.  This patch adds this
entry to the list of data that record will write to disk if more
than one event was requested.

Signed-off-by: Eric B Munson <ebmunson@us.ibm.com>
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Paul Mackerras <paulus@samba.org>
LKML-Reference: <1267804269-22660-2-git-send-email-acme@infradead.org>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/builtin-record.c