Skip to content

Commit

Permalink
firewire: core: remove flag and width from u64 formats of tracepoints…
Browse files Browse the repository at this point in the history
… events

The pointer to fw_packet structure is passed to ring buffer of tracepoints
framework as the value of u64 type. '0x%016llx' is used for the print
format of value, while the flag and width are useless in the case.

This commit removes them.

Link: https://lore.kernel.org/r/20240506082154.396077-2-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
  • Loading branch information
Takashi Sakamoto committed May 6, 2024
1 parent 87144bb commit 5a5dc48
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/trace/events/firewire.h
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ TRACE_EVENT(async_phy_outbound_initiate,
__entry->second_quadlet = second_quadlet
),
TP_printk(
"packet=0x%016llx generation=%u first_quadlet=0x%08x second_quadlet=0x%08x",
"packet=0x%llx generation=%u first_quadlet=0x%08x second_quadlet=0x%08x",
__entry->packet,
__entry->generation,
__entry->first_quadlet,
Expand All @@ -245,7 +245,7 @@ TRACE_EVENT(async_phy_outbound_complete,
__entry->timestamp = timestamp;
),
TP_printk(
"packet=0x%016llx generation=%u status=%u timestamp=0x%04x",
"packet=0x%llx generation=%u status=%u timestamp=0x%04x",
__entry->packet,
__entry->generation,
__entry->status,
Expand Down Expand Up @@ -273,7 +273,7 @@ TRACE_EVENT(async_phy_inbound,
__entry->second_quadlet = second_quadlet
),
TP_printk(
"packet=0x%016llx generation=%u status=%u timestamp=0x%04x first_quadlet=0x%08x second_quadlet=0x%08x",
"packet=0x%llx generation=%u status=%u timestamp=0x%04x first_quadlet=0x%08x second_quadlet=0x%08x",
__entry->packet,
__entry->generation,
__entry->status,
Expand Down

0 comments on commit 5a5dc48

Please sign in to comment.