+EXPORT_SYMBOL(cpu_hotplug_done);
/* Need to know about CPUs going up/down? */
int __ref register_cpu_notifier(struct notifier_block *nb)
{
[naresh kamboju] wrote:
I have added this patch and following are the observations.
root@android:/ #cat /sys/kernel/debug/tracing/available_filter_functions | grep cpu_hot
cpu_hotplug_done
cpu_hotplug_begin
cpu_hotplug_disable_before_freeze
cpu_hotplug_enable_after_thaw
cpu_hotplug_pm_callback
test produced below output and hungs
root@android:/data/hotplug # sh cpu_hotplug_latency.sh
**** TEST LOADED CPU*****
**** TEST 20 *****
[ 254.715471] CPU0 packing on CPU-1
[ 254.725431] CPU1 packing on CPU-1
[ 254.735375] CPU2 packing on CPU-1
[ 254.745326] CPU3 packing on CPU-1
[ 254.755260] CPU4 packing on CPU-1
[ 254.765414] CPU0 packing on CPU2
[ 254.775100] CPU2 packing on CPU2
[ 254.784789] CPU3 packing on CPU4
[ 254.794471] CPU4 packing on CPU2
[ 254.805993] CPU1: shutdown
[Chander Kashyap] wrote
cpu_hot_plug function is getting inline with new toolchain.
By exporting it we can avoid it.
This is needed to run cpu_hotplug_ latency. sh script.
Signed-off-by: Chander Kashyap <email address hidden>
---
kernel/cpu.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/kernel/cpu.c b/kernel/cpu.c begin(void) {} done(void) {}
index e909b41..9d1f531 100644
--- a/kernel/cpu.c
+++ b/kernel/cpu.c
@@ -138,6 +138,7 @@ static void cpu_hotplug_
static void cpu_hotplug_
#endif /* #else #if CONFIG_HOTPLUG_CPU */
+EXPORT_ SYMBOL( cpu_hotplug_ done); cpu_notifier( struct notifier_block *nb)
/* Need to know about CPUs going up/down? */
int __ref register_
{
[naresh kamboju] wrote: debug/tracing/ available_ filter_ functions | grep cpu_hot disable_ before_ freeze enable_ after_thaw pm_callback
I have added this patch and following are the observations.
root@android:/ #cat /sys/kernel/
cpu_hotplug_done
cpu_hotplug_begin
cpu_hotplug_
cpu_hotplug_
cpu_hotplug_
test produced below output and hungs /data/hotplug # sh cpu_hotplug_ latency. sh
root@android:
**** TEST LOADED CPU*****
**** TEST 20 *****
[ 254.715471] CPU0 packing on CPU-1
[ 254.725431] CPU1 packing on CPU-1
[ 254.735375] CPU2 packing on CPU-1
[ 254.745326] CPU3 packing on CPU-1
[ 254.755260] CPU4 packing on CPU-1
[ 254.765414] CPU0 packing on CPU2
[ 254.775100] CPU2 packing on CPU2
[ 254.784789] CPU3 packing on CPU4
[ 254.794471] CPU4 packing on CPU2
[ 254.805993] CPU1: shutdown