From: Heinz Graalfs Date: Fri, 21 Jan 2011 10:06:54 +0000 (+0000) Subject: oprofile: Introduce new oprofile sample add function (oprofile_add_ext_hw_sample) X-Git-Tag: v2.6.39-rc1~427^2~1^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54ebbe7ba51d97a28a9a406203d171d61858e4b9;p=pandora-kernel.git oprofile: Introduce new oprofile sample add function (oprofile_add_ext_hw_sample) This patch introduces a new oprofile sample add function (oprofile_add_ext_hw_sample) that can also take task_struct as an argument, which is used by the hwsampler kernel module when copying hardware samples to OProfile buffers. Applied with following changes: * removed #include * whitespace changes * removed conditional compilation (CONFIG_HAVE_HWSAMPLER) * modified order of functions * fix missing function definition in header file Signed-off-by: Mahesh Salgaonkar Signed-off-by: Maran Pakkirisamy Signed-off-by: Heinz Graalfs Acked-by: Heiko Carstens Signed-off-by: Robert Richter --- Reading git-diff-tree failed