Skip to content

Commit 87e4da3

Browse files
Barret Rhodendohyunkim-dev
authored andcommitted
ghost: update vmlinux for TASK_PRIORITY_CHANGED
Manually updated with values from the UAPI. Fun tidbit - even though we added "int nice" to task_new, that didn't change the offset of sw_info, due to struct padding. PiperOrigin-RevId: 489331789
1 parent 6d2290a commit 87e4da3

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

kernel/vmlinux_ghost_5_11.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32814,6 +32814,7 @@ struct ghost_msg_payload_task_new {
3281432814
uint64_t gtid;
3281532815
uint64_t runtime;
3281632816
uint16_t runnable;
32817+
int nice;
3281732818
struct ghost_sw_info sw_info;
3281832819
};
3281932820

@@ -32855,6 +32856,11 @@ struct ghost_msg_payload_task_affinity_changed {
3285532856
uint64_t gtid;
3285632857
};
3285732858

32859+
struct ghost_msg_payload_task_priority_changed {
32860+
uint64_t gtid;
32861+
int nice;
32862+
};
32863+
3285832864
struct ghost_msg_payload_task_latched {
3285932865
uint64_t gtid;
3286032866
uint64_t commit_time;
@@ -32905,6 +32911,7 @@ struct bpf_ghost_msg {
3290532911
struct ghost_msg_payload_task_departed departed;
3290632912
struct ghost_msg_payload_task_switchto switchto;
3290732913
struct ghost_msg_payload_task_affinity_changed affinity;
32914+
struct ghost_msg_payload_task_priority_changed priority;
3290832915
struct ghost_msg_payload_task_latched latched;
3290932916
struct ghost_msg_payload_cpu_tick cpu_tick;
3291032917
struct ghost_msg_payload_timer timer;
@@ -33003,6 +33010,7 @@ enum {
3300333010
MSG_TASK_SWITCHTO = 71,
3300433011
MSG_TASK_AFFINITY_CHANGED = 72,
3300533012
MSG_TASK_LATCHED = 73,
33013+
MSG_TASK_PRIORITY_CHANGED = 74,
3300633014
MSG_CPU_TICK = 128,
3300733015
MSG_CPU_TIMER_EXPIRED = 129,
3300833016
MSG_CPU_NOT_IDLE = 130,

0 commit comments

Comments
 (0)