The kernel now provides PID information for TN_MESSAGE events. Print it.
Old kernels fill 0 there so the behavior is unaffected for them.
Signed-off-by: Jan Kara <jack@suse.cz>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
MAJOR(bit->device), MINOR(bit->device),
bit->cpu, "0", (int)SECONDS(bit->time),
(unsigned long)NANO_SECONDS(bit->time),
- 0, cgidstr, "m", "N", msg);
+ bit->pid, cgidstr, "m", "N", msg);
}
break;