|
1..30
|
|
# Kernel tracer - Clock override plugin
|
|
# Clock override plugin metadata test
|
|
ok 1 - Start session daemon
|
|
ok 2 - Create session clock_override in -o /tmp/tmp.4xnoQO38zw
|
|
ok 3 - Enable kernel event lttng_test_filter_event for session clock_override
|
|
ok 4 - Start tracing for session clock_override
|
|
ok 5 - Stop lttng tracing for session clock_override
|
|
ok 6 - Destroy session clock_override
|
|
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129601 129602 129623
|
|
ok 7 - Wait after kill session daemon
|
|
metadata modprobe --remove
|
|
ok 8 - Metadata extraction from babeltrace
|
|
ok 9 - Clock metadata extraction
|
|
ok 10 - Tokens to check(4) and provided values(4) count is equal
|
|
ok 11 - Token "name" expect:lttng_test_clock_override got:lttng_test_clock_override
|
|
ok 12 - Token "uuid" expect:83c63deb-7aa4-48fb-abda-946f400d76e6 got:83c63deb-7aa4-48fb-abda-946f400d76e6
|
|
ok 13 - Token "description" expect:Freeze time with 1KHz for regression test got:Freeze time with 1KHz for regression test
|
|
ok 14 - Token "freq" expect:1000 got:1000
|
|
# Clock override test
|
|
# Plugin disabled
|
|
ok 15 - Start session daemon
|
|
ok 16 - Create session clock_override in -o /tmp/tmp.WmE7dsisU8
|
|
ok 17 - Enable kernel event lttng_test_filter_event for session clock_override
|
|
ok 18 - Start tracing for session clock_override
|
|
ok 19 - Stop lttng tracing for session clock_override
|
|
ok 20 - Destroy session clock_override
|
|
ok 21 - Unique event timestamps without clock override: 10 expect >1
|
|
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129685 129686 129706
|
|
ok 22 - Wait after kill session daemon
|
|
# Plugin enabled
|
|
ok 23 - Start session daemon
|
|
ok 24 - Create session clock_override in -o /tmp/tmp.WmE7dsisU8
|
|
ok 25 - Enable kernel event lttng_test_filter_event for session clock_override
|
|
ok 26 - Start tracing for session clock_override
|
|
ok 27 - Stop lttng tracing for session clock_override
|
|
ok 28 - Destroy session clock_override
|
|
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129748 129749 129776
|
|
ok 29 - Wait after kill session daemon
|
|
timestatp probe --remove
|
|
ok 30 - Unique event timestamps with clock override: 1 expect 1
|
|
1..20
|
|
# Kernel tracer - Clock timestamp
|
|
# Clock metadata test
|
|
ok 1 - Start session daemon
|
|
ok 2 - Create session clock_timestamp in -o /tmp/tmp.XwV07Zq9pJ
|
|
ok 3 - Enable kernel event lttng_test_filter_event for session clock_timestamp
|
|
ok 4 - Start tracing for session clock_timestamp
|
|
ok 5 - Stop lttng tracing for session clock_timestamp
|
|
ok 6 - Destroy session clock_timestamp
|
|
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129822 129823 129843
|
|
ok 7 - Wait after kill session daemon
|
|
ok 8 - Metadata extraction from babeltrace
|
|
ok 9 - Clock metadata extraction
|
|
ok 10 - Tokens to check(2) and provided values(2) count is equal
|
|
ok 11 - Token "name" expect:monotonic got:monotonic
|
|
ok 12 - Token "description" expect:Monotonic Clock got:Monotonic Clock
|
|
# Clock timestamp test
|
|
ok 13 - Start session daemon
|
|
ok 14 - Create session clock_timestamp in -o /tmp/tmp.wSCaIVk6jc
|
|
ok 15 - Enable kernel event lttng_test_filter_event for session clock_timestamp
|
|
ok 16 - Start tracing for session clock_timestamp
|
|
ok 17 - Stop lttng tracing for session clock_timestamp
|
|
ok 18 - Destroy session clock_timestamp
|
|
ok 19 - Unique event timestamps without clock override: 10 expect >1
|
|
# Killing (signal SIGTERM) lttng-sessiond and lt-lttng-sessiond pids: 129901 129902 129922
|
|
ok 20 - Wait after kill session daemon
|