GitHub PushEvent at 2014-06-26 13:40:35
Repository: lge-kernel-p880
Actor: cm-gerrit
Payload: {"shas":[["518bf35c740338a6b348a8bdeb0075ca7f1ecd85","d7fac3f7b328449401fe64671e732ac315caee28@cn.fujitsu.com","ftrace: Initialize the ftrace profiler for each possible cpu\n\ncommit c4602c1c818bd6626178d6d3fcc152d9f2f48ac0 upstream.\n\nFtrace currently initializes only the online CPUs. This implementation has\ntwo problems:\n- If we online a CPU after we enable the function profile, and then run the\n  test, we will lose the trace information on that CPU.\n  Steps to reproduce:\n  # echo 0 > /sys/devices/system/cpu/cpu1/online\n  # cd <debugfs>/tracing/\n  # echo <some function name> >> set_ftrace_filter\n  # echo 1 > function_profile_enabled\n  # echo 1 > /sys/devices/system/cpu/cpu1/online\n  # run test\n- If we offline a CPU before we enable the function profile, we will not clear\n  the trace information when we enable the function profile. It will trouble\n  the users.\n  Steps to reproduce:\n  # cd <debugfs>/tracing/\n  # echo <some function name> >> set_ftrace_filter\n  # echo 1 > function_profile_enabled\n  # run test\n  # cat trace_stat/function*\n  # echo 0 > /sys/devices/system/cpu/cpu1/online\n  # echo 0 > function_profile_enabled\n  # echo 1 > function_profile_enabled\n  # cat trace_stat/function*\n  # run test\n  # cat trace_stat/function*\n\nSo it is better that we initialize the ftrace profiler for each possible cpu\nevery time we enable the function profile instead of just the online ones.\n\nLink: http://lkml.kernel.org/r/1387178401-10619-1-git-send-email-miaox@cn.fujitsu.com\n\nChange-Id: I2b4f22ccf8554d8d0fd9f2f4524f2c8948683aaa\nSigned-off-by: Miao Xie <miaox@cn.fujitsu.com>\nSigned-off-by: Steven Rostedt <rostedt@goodmis.org>\nSigned-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>","Miao Xie",true]],"size":1,"ref":"refs/heads/cm-11.0","head":"518bf35c740338a6b348a8bdeb0075ca7f1ecd85"}