From: Arnaldo Carvalho de Melo Date: Mon, 26 Oct 2009 21:23:18 +0000 (-0200) Subject: perf tools: Generalize event synthesizing routines X-Git-Tag: v2.6.33-rc1~399^2~165^2~46 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=234fbbf508c58c5084292b11b242377553897459;p=pandora-kernel.git 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 Cc: Frederic Weisbecker Cc: Peter Zijlstra Cc: Paul Mackerras Cc: Mike Galbraith LKML-Reference: <1256592199-9608-2-git-send-email-acme@redhat.com> Signed-off-by: Ingo Molnar --- Reading git-diff-tree failed