Skip to content

Commit d794732

Browse files
nashiffabiobaltieri
authored andcommitted
tracing: ctf: add missing k_sleep events
In a096b34 which introduced tracing of k_sleep, the events in the metadata file were missed causing issues when running with babeltrace. Signed-off-by: Anas Nashif <[email protected]>
1 parent 2fbf093 commit d794732

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

subsys/tracing/ctf/tsdl/metadata

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,23 @@ event {
4040
};
4141
};
4242

43+
event {
44+
name = k_sleep_enter;
45+
id = 0x7F;
46+
fields := struct {
47+
uint32_t timeout;
48+
};
49+
};
50+
51+
event {
52+
name = k_sleep_exit;
53+
id = 0x80;
54+
fields := struct {
55+
uint32_t timeout;
56+
int32_t ret;
57+
};
58+
};
59+
4360
event {
4461
name = thread_priority_set;
4562
id = 0x12;

0 commit comments

Comments
 (0)