blktrace: Report pid with note messages
authorJan Kara <jack@suse.cz>
Wed, 13 May 2020 16:02:23 +0000 (18:02 +0200)
committerJens Axboe <axboe@kernel.dk>
Sat, 16 May 2020 20:29:39 +0000 (14:29 -0600)
commit870c153cf0e6df1b8b5226af41b19945e8e0d143
treede3133875aaf9e9c2caea0ee06de59aae0c17425
parent2771cefeac499d68ca2fca3861ba9e46d15bd4ae
blktrace: Report pid with note messages

Currently informational messages within block trace do not have PID
information of the process reporting the message included. With BFQ it
is sometimes useful to have the information and there's no good reason
to omit the information from the trace. So just fill in pid information
when generating note message.

Signed-off-by: Jan Kara <jack@suse.cz>
Reviewed-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Acked-by: Paolo Valente <paolo.valente@linaro.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
kernel/trace/blktrace.c