metric: use free_fair_sched_group() to track the tg free
Change-Id: I7ff23bbe27be6598c98e2576e6a4d6d5e21323e1 Signed-off-by: Honglei Wang <jameshongleiwang@126.com> Signed-off-by: Tonghao Zhang <tonghao@bamaicloud.com>
This commit is contained in:
parent
dffa1284a2
commit
72516b8d42
|
@ -306,8 +306,8 @@ int sched_process_exit_entry(struct bpf_raw_tracepoint_args *ctx)
|
|||
|
||||
#ifdef TG_ADDR_KEY
|
||||
// When cgroup is removed, the record should be deleted.
|
||||
SEC("kprobe/sched_free_group")
|
||||
int sched_free_group_entry(struct pt_regs *ctx)
|
||||
SEC("kprobe/free_fair_sched_group")
|
||||
int free_fair_sched_group_entry(struct pt_regs *ctx)
|
||||
{
|
||||
struct task_group *tg = (void *)PT_REGS_PARM1(ctx);
|
||||
struct stat_t *entry;
|
||||
|
|
Loading…
Reference in New Issue