Change-Id: Icef625156eb2036672f2798f4f0d65d943e3ab6f
Signed-off-by: Dongwoo Lee <dwoo08.lee@samsung.com>
if (!ctx)
return -EINVAL;
- include_gpu_mem = is_resource_attr_interested(res, PROCESS_GROUP_ATTR_MEM_GPU);
+ include_gpu_mem = is_resource_attr_interested(res, PROCESS_ATTR_MEM_GPU);
total_memory = ctx->total_memory;
memset(ctx, 0, sizeof(*ctx));
if (!ctx)
return -EINVAL;
- include_gpu_mem = is_resource_attr_interested(res, PROCESS_GROUP_ATTR_MEM_GPU);
+ include_gpu_mem = is_resource_attr_interested(res, PROCESS_ATTR_MEM_GPU);
if (taskstat_support) {
memcpy(&ctx->prev, &ctx->curr, sizeof(struct taskstats));