diff options
author | Dave Martin <dave.martin@linaro.org> | 2013-02-06 15:45:23 +0000 |
---|---|---|
committer | Nicolas Pitre <nicolas.pitre@linaro.org> | 2013-09-23 18:47:30 -0400 |
commit | b09bbe5b1267b6af22a9584d614f5eec5d74f405 (patch) | |
tree | 37ed44d02645710a5a70d0853f8c9dc3459ed667 /kernel/trace/blktrace.c | |
parent | 1bfbddb6f3a0dbb8c3996d1c4d4911d695737c15 (diff) | |
download | op-kernel-dev-b09bbe5b1267b6af22a9584d614f5eec5d74f405.zip op-kernel-dev-b09bbe5b1267b6af22a9584d614f5eec5d74f405.tar.gz |
ARM: bL_switcher/trace: Add trace trigger for trace bootstrapping
When tracing switching, an external tracer needs a way to bootstrap
its knowledge of the logical<->physical CPU mapping.
This patch adds a sysfs attribute trace_trigger. A write to this
attribute will generate a power:cpu_migrate_current event for each
online CPU, indicating the current physical CPU for each logical
CPU.
Activating or deactivating the switcher also generates these
events, so that the tracer knows about the resulting remapping of
affected CPUs.
Signed-off-by: Dave Martin <dave.martin@linaro.org>
Diffstat (limited to 'kernel/trace/blktrace.c')
0 files changed, 0 insertions, 0 deletions