From: Arnaldo Carvalho de Melo Date: Wed, 12 Jan 2011 12:52:47 +0000 (-0200) Subject: perf top: Use perf_evsel__open X-Git-Tag: v2.6.39-rc1~510^2~114^2~24 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72cb7013e08dec29631e0447f9496b7bacd3e14b;p=pandora-kernel.git perf top: Use perf_evsel__open Now that it handles group_fd and inherit we can use it, sharing it with stat. Next step: 'perf record' should use, then move the mmap_array out of ->priv and into perf_evsel, with top and record sharing this, and at the same time, write a 'perf test' stress test. Cc: Frederic Weisbecker Cc: Ingo Molnar Cc: Mike Galbraith Cc: Paul Mackerras Cc: Peter Zijlstra Cc: Stephane Eranian Cc: Tom Zanussi LKML-Reference: Signed-off-by: Arnaldo Carvalho de Melo --- Reading git-diff-tree failed