if (entering(tcp)) {
tprintf("%d", (int) tcp->u_arg[0]);
} else if (!syserror(tcp)) {
- tcp->auxstr = xlookup(schedulers, tcp->u_rval);
+ tcp->auxstr = xlookup(schedulers, (unsigned long) tcp->u_rval);
if (tcp->auxstr != NULL)
return RVAL_STR;
}
}
static void
-print_sched_attr(struct tcb *tcp, const long addr, unsigned int size)
+print_sched_attr(struct tcb *const tcp, const kernel_ureg_t addr,
+ unsigned int size)
{
struct {
uint32_t size;
tprintf("{size=%u, sched_policy=", attr.size);
printxval(schedulers, attr.sched_policy, "SCHED_???");
tprints(", sched_flags=");
- printflags(sched_flags, attr.sched_flags, "SCHED_FLAG_???");
+ printflags64(sched_flags, attr.sched_flags, "SCHED_FLAG_???");
tprintf(", sched_nice=%d", attr.sched_nice);
tprintf(", sched_priority=%u", attr.sched_priority);
tprintf(", sched_runtime=%" PRIu64, attr.sched_runtime);