summaryrefslogtreecommitdiff
path: root/include/trace/events/dlm.h
diff options
context:
space:
mode:
authorAlexander Aring <aahringo@redhat.com>2022-11-18 01:11:44 +0300
committerDavid Teigland <teigland@redhat.com>2022-11-21 18:45:49 +0300
commit81889255c2e6ed1eef448375b5d6330a2f1453de (patch)
tree87fe2080a6d42e428b40d0510c8f688a057dc1fd /include/trace/events/dlm.h
parent554d849616769339b9dce833a4830251fc4b91ba (diff)
downloadlinux-81889255c2e6ed1eef448375b5d6330a2f1453de.tar.xz
fs: dlm: rename seq to h_seq for msg tracing
This patch renames seq to h_seq as it is named in the dlm header structure. Signed-off-by: Alexander Aring <aahringo@redhat.com> Signed-off-by: David Teigland <teigland@redhat.com>
Diffstat (limited to 'include/trace/events/dlm.h')
-rw-r--r--include/trace/events/dlm.h44
1 files changed, 22 insertions, 22 deletions
diff --git a/include/trace/events/dlm.h b/include/trace/events/dlm.h
index 4ec47828d55e..212f30aec7cf 100644
--- a/include/trace/events/dlm.h
+++ b/include/trace/events/dlm.h
@@ -342,12 +342,12 @@ TRACE_EVENT(dlm_unlock_end,
DECLARE_EVENT_CLASS(dlm_rcom_template,
- TP_PROTO(uint32_t seq, const struct dlm_rcom *rc),
+ TP_PROTO(uint32_t h_seq, const struct dlm_rcom *rc),
- TP_ARGS(seq, rc),
+ TP_ARGS(h_seq, rc),
TP_STRUCT__entry(
- __field(uint32_t, seq)
+ __field(uint32_t, h_seq)
__field(uint32_t, h_version)
__field(uint32_t, h_lockspace)
__field(uint32_t, h_nodeid)
@@ -363,7 +363,7 @@ DECLARE_EVENT_CLASS(dlm_rcom_template,
),
TP_fast_assign(
- __entry->seq = seq;
+ __entry->h_seq = h_seq;
__entry->h_version = le32_to_cpu(rc->rc_header.h_version);
__entry->h_lockspace = le32_to_cpu(rc->rc_header.u.h_lockspace);
__entry->h_nodeid = le32_to_cpu(rc->rc_header.h_nodeid);
@@ -378,10 +378,10 @@ DECLARE_EVENT_CLASS(dlm_rcom_template,
__get_dynamic_array_len(rc_buf));
),
- TP_printk("seq=%u, h_version=%s h_lockspace=%u h_nodeid=%u "
+ TP_printk("h_seq=%u h_version=%s h_lockspace=%u h_nodeid=%u "
"h_length=%u h_cmd=%s rc_type=%s rc_result=%d "
"rc_id=%llu rc_seq=%llu rc_seq_reply=%llu "
- "rc_buf=0x%s", __entry->seq,
+ "rc_buf=0x%s", __entry->h_seq,
show_message_version(__entry->h_version),
__entry->h_lockspace, __entry->h_nodeid, __entry->h_length,
show_header_cmd(__entry->h_cmd),
@@ -394,22 +394,22 @@ DECLARE_EVENT_CLASS(dlm_rcom_template,
);
DEFINE_EVENT(dlm_rcom_template, dlm_send_rcom,
- TP_PROTO(uint32_t seq, const struct dlm_rcom *rc),
- TP_ARGS(seq, rc));
+ TP_PROTO(uint32_t h_seq, const struct dlm_rcom *rc),
+ TP_ARGS(h_seq, rc));
DEFINE_EVENT(dlm_rcom_template, dlm_recv_rcom,
- TP_PROTO(uint32_t seq, const struct dlm_rcom *rc),
- TP_ARGS(seq, rc));
+ TP_PROTO(uint32_t h_seq, const struct dlm_rcom *rc),
+ TP_ARGS(h_seq, rc));
TRACE_EVENT(dlm_send_message,
- TP_PROTO(uint32_t seq, const struct dlm_message *ms,
+ TP_PROTO(uint32_t h_seq, const struct dlm_message *ms,
const void *name, int namelen),
- TP_ARGS(seq, ms, name, namelen),
+ TP_ARGS(h_seq, ms, name, namelen),
TP_STRUCT__entry(
- __field(uint32_t, seq)
+ __field(uint32_t, h_seq)
__field(uint32_t, h_version)
__field(uint32_t, h_lockspace)
__field(uint32_t, h_nodeid)
@@ -439,7 +439,7 @@ TRACE_EVENT(dlm_send_message,
),
TP_fast_assign(
- __entry->seq = seq;
+ __entry->h_seq = h_seq;
__entry->h_version = le32_to_cpu(ms->m_header.h_version);
__entry->h_lockspace = le32_to_cpu(ms->m_header.u.h_lockspace);
__entry->h_nodeid = le32_to_cpu(ms->m_header.h_nodeid);
@@ -469,14 +469,14 @@ TRACE_EVENT(dlm_send_message,
__get_dynamic_array_len(res_name));
),
- TP_printk("seq=%u h_version=%s h_lockspace=%u h_nodeid=%u "
+ TP_printk("h_seq=%u h_version=%s h_lockspace=%u h_nodeid=%u "
"h_length=%u h_cmd=%s m_type=%s m_nodeid=%u "
"m_pid=%u m_lkid=%u m_remid=%u m_parent_lkid=%u "
"m_parent_remid=%u m_exflags=%s m_sbflags=%s m_flags=%s "
"m_lvbseq=%u m_hash=%u m_status=%d m_grmode=%s "
"m_rqmode=%s m_bastmode=%s m_asts=%d m_result=%d "
"m_extra=0x%s res_name=0x%s",
- __entry->seq, show_message_version(__entry->h_version),
+ __entry->h_seq, show_message_version(__entry->h_version),
__entry->h_lockspace, __entry->h_nodeid, __entry->h_length,
show_header_cmd(__entry->h_cmd),
show_message_type(__entry->m_type),
@@ -499,12 +499,12 @@ TRACE_EVENT(dlm_send_message,
TRACE_EVENT(dlm_recv_message,
- TP_PROTO(uint32_t seq, const struct dlm_message *ms),
+ TP_PROTO(uint32_t h_seq, const struct dlm_message *ms),
- TP_ARGS(seq, ms),
+ TP_ARGS(h_seq, ms),
TP_STRUCT__entry(
- __field(uint32_t, seq)
+ __field(uint32_t, h_seq)
__field(uint32_t, h_version)
__field(uint32_t, h_lockspace)
__field(uint32_t, h_nodeid)
@@ -533,7 +533,7 @@ TRACE_EVENT(dlm_recv_message,
),
TP_fast_assign(
- __entry->seq = seq;
+ __entry->h_seq = h_seq;
__entry->h_version = le32_to_cpu(ms->m_header.h_version);
__entry->h_lockspace = le32_to_cpu(ms->m_header.u.h_lockspace);
__entry->h_nodeid = le32_to_cpu(ms->m_header.h_nodeid);
@@ -561,14 +561,14 @@ TRACE_EVENT(dlm_recv_message,
__get_dynamic_array_len(m_extra));
),
- TP_printk("seq=%u h_version=%s h_lockspace=%u h_nodeid=%u "
+ TP_printk("h_seq=%u h_version=%s h_lockspace=%u h_nodeid=%u "
"h_length=%u h_cmd=%s m_type=%s m_nodeid=%u "
"m_pid=%u m_lkid=%u m_remid=%u m_parent_lkid=%u "
"m_parent_remid=%u m_exflags=%s m_sbflags=%s m_flags=%s "
"m_lvbseq=%u m_hash=%u m_status=%d m_grmode=%s "
"m_rqmode=%s m_bastmode=%s m_asts=%d m_result=%d "
"m_extra=0x%s",
- __entry->seq, show_message_version(__entry->h_version),
+ __entry->h_seq, show_message_version(__entry->h_version),
__entry->h_lockspace, __entry->h_nodeid, __entry->h_length,
show_header_cmd(__entry->h_cmd),
show_message_type(__entry->m_type),