perf tools: Generalize event synthesizing routines
authorArnaldo Carvalho de Melo <acme@redhat.com>
Mon, 26 Oct 2009 21:23:18 +0000 (19:23 -0200)
committerIngo Molnar <mingo@elte.hu>
Tue, 27 Oct 2009 12:51:53 +0000 (13:51 +0100)
commit234fbbf508c58c5084292b11b242377553897459
treeecda0e2b0aaa0e3ebd5cab7376817baacc7e2718
parent7f3bedcc93f935631d2363f23de1cc80f04fdf3e
perf tools: Generalize event synthesizing routines

Because we will need it in 'perf top' to support userspace
symbols for existing threads.

Now we pass a callback that will receive the synthesized event
and then write it to the output file in 'perf record' and in the
upcoming patch for 'perf top' we will just immediatelly create
the in memory representation of threads and maps.

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Mike Galbraith <efault@gmx.de>
LKML-Reference: <1256592199-9608-2-git-send-email-acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile
tools/perf/builtin-record.c
tools/perf/util/event.c [new file with mode: 0644]
tools/perf/util/event.h
This page took 0.027396 seconds and 5 git commands to generate.