From: Arnaldo Carvalho de Melo Date: Tue, 18 Jan 2011 23:41:45 +0000 (-0200) Subject: perf evsel: Introduce perf_evsel__{in,ex}it X-Git-Tag: v2.6.39-rc1~510^2~114^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef1d1af28ca37fdbc2745da040529cd2953c1af5;p=pandora-kernel.git perf evsel: Introduce perf_evsel__{in,ex}it Out of the {con,des}structor, as in interpreted language bindings we will need to go back from the wrapper object to the real thing. In that case using container_of will save us to have an extra pointer in the perf_evsel struct. 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