Skip to content

Commit

Permalink
ghOSt: Add agent_data field for payload task_new
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 518715256
  • Loading branch information
joshdon authored and dohyunkim-dev committed Nov 8, 2023
1 parent 5afe7c4 commit e254ea5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion abi/latest/kernel/ghost.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
* process are the same version as each other. Each successive version changes
* values in this header file, assumptions about operations in the kernel, etc.
*/
#define GHOST_VERSION 87
#define GHOST_VERSION 88

/*
* Define SCHED_GHOST via the ghost uapi unless it has already been defined
Expand Down Expand Up @@ -269,6 +269,7 @@ struct ghost_msg_payload_task_new {
uint16_t runnable;
int nice; /* task priority in nice value [-20, 19] */
struct ghost_sw_info sw_info;
uint64_t agent_data; /* used by BPF */
};

struct ghost_msg_payload_task_preempt {
Expand Down

0 comments on commit e254ea5

Please sign in to comment.