aboutsummaryrefslogtreecommitdiff
path: root/tests/trace_sched.txt
diff options
context:
space:
mode:
authorKapileshwar Singh <kapileshwar.singh@arm.com>2015-02-11 17:21:04 +0000
committerJavi Merino <javi.merino@arm.com>2015-08-12 16:03:45 +0100
commitfb8fa1aab48d9731010f1d46a2c426582b1bd0a8 (patch)
tree80c1e981ca3580b61cf18a57239b96fcdadeb32e /tests/trace_sched.txt
parent973f7e240d3a3a9e4082a26b5001e8fb791dc32e (diff)
downloadtrappy-fb8fa1aab48d9731010f1d46a2c426582b1bd0a8.tar.gz
dynamic event registration for cr2
This patch introduces two new functions which allow the user to register events dynamically (by using metaclasses) and also register classes without touching the cr2 code. test_dynamic has test cases which test this functionality More complex classes can be registered (register_class) dynamically but not generated dynamically All scoped classes should be propagated to both scopes. Added an assert to test the same Change-Id: I8dbffa6df4c5bbe04754aa7e6fa8f3ec6a8213be Signed-off-by: Kapileshwar Singh <kapileshwar.singh@arm.com>
Diffstat (limited to 'tests/trace_sched.txt')
-rw-r--r--tests/trace_sched.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/trace_sched.txt b/tests/trace_sched.txt
index 0a81cdc..14976d6 100644
--- a/tests/trace_sched.txt
+++ b/tests/trace_sched.txt
@@ -3,6 +3,7 @@ cpus=6
rcuos/2-22 [001] 6550.018511: sched_load_avg_sg: cpus=00000002 load=0 utilization=0
trace-cmd-2971 [004] 6550.018512: sched_load_avg_task: comm=sshd pid=2962 load=0 utilization=0 runnable_avg_sum=0 running_avg_sum=0 avg_period=48595
sshd-2962 [000] 6550.018513: sched_load_avg_cpu: cpu=0 load=13 utilization=18
+ sshd-2962 [000] 6550.018514: dynamic_test_key: cpu=0 load=13 utilization=18
<idle>-0 [000] 6550.018679: sched_contrib_scale_f: cpu=0 freq_scale_factor=426 cpu_scale_factor=1024
trace-cmd-3519 [003] 6550.018805: sched_cpu_capacity: cpu=3 capacity=430 rt_capacity=1024
kworker/0:0-3410 [000] 6550.056870: cpu_frequency: state=600000 cpu_id=0