lkml.org 
[lkml]   [2022]   [Jun]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 5.15 024/135] ata: libata: add qc->flags in ata_qc_complete_template tracepoint
    Date
    From: Edward Wu <edwardwu@realtek.com>

    commit 540a92bfe6dab7310b9df2e488ba247d784d0163 upstream.

    Add flags value to check the result of ata completion

    Fixes: 255c03d15a29 ("libata: Add tracepoints")
    Cc: stable@vger.kernel.org
    Signed-off-by: Edward Wu <edwardwu@realtek.com>
    Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
    Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    ---
    include/trace/events/libata.h | 1 +
    1 file changed, 1 insertion(+)

    --- a/include/trace/events/libata.h
    +++ b/include/trace/events/libata.h
    @@ -249,6 +249,7 @@ DECLARE_EVENT_CLASS(ata_qc_complete_temp
    __entry->hob_feature = qc->result_tf.hob_feature;
    __entry->nsect = qc->result_tf.nsect;
    __entry->hob_nsect = qc->result_tf.hob_nsect;
    + __entry->flags = qc->flags;
    ),

    TP_printk("ata_port=%u ata_dev=%u tag=%d flags=%s status=%s " \

    \
     
     \ /
      Last update: 2022-06-27 13:38    [W:3.279 / U:0.004 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site