lkml.org 
[lkml]   [2022]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.19 0195/1157] io_uring: fix io_uring_cqe_overflow trace format
    Date
    From: Dylan Yudaken <dylany@fb.com>

    [ Upstream commit 9b26e811e934eebda59362c9a03d082852552574 ]

    Make the trace format consistent with io_uring_complete for cflags

    Signed-off-by: Dylan Yudaken <dylany@fb.com>
    Link: https://lore.kernel.org/r/20220630091231.1456789-12-dylany@fb.com
    Signed-off-by: Jens Axboe <axboe@kernel.dk>
    Signed-off-by: Sasha Levin <sashal@kernel.org>
    ---
    include/trace/events/io_uring.h | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/include/trace/events/io_uring.h b/include/trace/events/io_uring.h
    index aa2f951b07cd..6a12eef3ffb7 100644
    --- a/include/trace/events/io_uring.h
    +++ b/include/trace/events/io_uring.h
    @@ -622,7 +622,7 @@ TRACE_EVENT(io_uring_cqe_overflow,
    __entry->ocqe = ocqe;
    ),

    - TP_printk("ring %p, user_data 0x%llx, res %d, flags %x, "
    + TP_printk("ring %p, user_data 0x%llx, res %d, cflags 0x%x, "
    "overflow_cqe %p",
    __entry->ctx, __entry->user_data, __entry->res,
    __entry->cflags, __entry->ocqe)
    --
    2.35.1


    \
     
     \ /
      Last update: 2022-08-16 00:44    [W:3.350 / U:0.572 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site