diff --git a/driver/ppm_fillers.c b/driver/ppm_fillers.c index 8bb904cc2d3..8fb409632cd 100644 --- a/driver/ppm_fillers.c +++ b/driver/ppm_fillers.c @@ -7334,6 +7334,7 @@ int f_sched_prog_exec(struct event_filler_arguments *args) CHECK_RES(res); if(mm) + { total_vm = mm->total_vm << (PAGE_SHIFT - 10); total_rss = ppm_get_mm_rss(mm) << (PAGE_SHIFT - 10); swap = ppm_get_mm_swap(mm) << (PAGE_SHIFT - 10); @@ -7680,7 +7681,7 @@ int f_sched_prog_fork(struct event_filler_arguments *args) /* Parameter 11: vm_size (type: PT_UINT32) */ res = val_to_ring(args, total_vm, 0, false, 0); CHECK_RES(res); - + /* Parameter 12: vm_rss (type: PT_UINT32) */ res = val_to_ring(args, total_rss, 0, false, 0); CHECK_RES(res); @@ -7737,7 +7738,7 @@ int f_sched_prog_fork(struct event_filler_arguments *args) /* Parameter 16: flags (type: PT_FLAGS32) */ res = val_to_ring(args, flags, 0, false, 0); CHECK_RES(res); - + /* Parameter 17: uid (type: PT_UID) */ res = val_to_ring(args, euid, 0, false, 0); CHECK_RES(res);