View | Details | Raw Unified | Return to ticket 8656 | Differences between
and this patch

Collapse All | Expand All

(-)a/src/plugins/jobacct_gather/cgroup/jobacct_gather_cgroup.c (+2 lines)
Lines 147-152 static void _prec_extra(jag_prec_t *prec, uint32_t taskid) Link Here
147
		prec->ssec = stime;
147
		prec->ssec = stime;
148
	}
148
	}
149
149
150
	info("%s: calling xcgroup_get_param for pid %d",
151
	      __func__, prec->pid);
150
	xcgroup_get_param(task_memory_cg, "memory.stat",
152
	xcgroup_get_param(task_memory_cg, "memory.stat",
151
			  &memory_stat, &memory_stat_size);
153
			  &memory_stat, &memory_stat_size);
152
	if (memory_stat == NULL) {
154
	if (memory_stat == NULL) {
(-)a/src/slurmd/common/xcgroup.c (+2 lines)
Lines 648-653 int xcgroup_get_param(xcgroup_t* cg, char* param, char **content, size_t *csize) Link Here
648
		if (fstatus != XCGROUP_SUCCESS)
648
		if (fstatus != XCGROUP_SUCCESS)
649
			debug2("%s: unable to get parameter '%s' for '%s'",
649
			debug2("%s: unable to get parameter '%s' for '%s'",
650
				__func__, param, cpath);
650
				__func__, param, cpath);
651
		info("%s: file_path=%s size=%zu content=%s",
652
		      __func__, cpath, *csize, *content);
651
	}
653
	}
652
	return fstatus;
654
	return fstatus;
653
}
655
}

Return to ticket 8656