* linux-next: manual merge of the ftrace tree with the net-next tree
@ 2015-04-13 7:52 Stephen Rothwell
2015-04-13 7:54 ` Grumbach, Emmanuel
2015-04-15 1:23 ` Stephen Rothwell
0 siblings, 2 replies; 8+ messages in thread
From: Stephen Rothwell @ 2015-04-13 7:52 UTC (permalink / raw)
To: Steven Rostedt, David Miller, netdev
Cc: linux-next, linux-kernel, Emmanuel Grumbach
[-- Attachment #1: Type: text/plain, Size: 3101 bytes --]
Hi Steven,
Today's linux-next merge of the ftrace tree got a conflict in
drivers/net/wireless/iwlwifi/iwl-devtrace.h between commit 7e1223b50089
("iwlwifi: mvm: new Alive / error table API") from the net-next tree
and commit c5ef935d01a2 ("iwlwifi: Move each system tracepoints to
their own header") from the ftrace tree.
I fixed it up (see patch below, since this code was moved to a new file)
and can carry the fix as necessary (no action is required).
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Mon, 13 Apr 2015 17:21:30 +1000
Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++--------
1 file changed, 10 insertions(+), 8 deletions(-)
diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
index 6cb66a988271..223b8752f924 100644
--- a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
+++ b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
@@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low,
u32 data1, u32 data2, u32 line, u32 blink1,
u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time,
- u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver,
+ u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver,
u32 brd_ver),
TP_ARGS(dev, desc, tsf_low, data1, data2, line,
blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2,
- gp3, ucode_ver, hw_ver, brd_ver),
+ gp3, major, minor, hw_ver, brd_ver),
TP_STRUCT__entry(
DEV_ENTRY
__field(u32, desc)
@@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
__field(u32, gp1)
__field(u32, gp2)
__field(u32, gp3)
- __field(u32, ucode_ver)
+ __field(u32, major)
+ __field(u32, minor)
__field(u32, hw_ver)
__field(u32, brd_ver)
),
@@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
__entry->gp1 = gp1;
__entry->gp2 = gp2;
__entry->gp3 = gp3;
- __entry->ucode_ver = ucode_ver;
+ __entry->major = major;
+ __entry->minor = minor;
__entry->hw_ver = hw_ver;
__entry->brd_ver = brd_ver;
),
TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, "
"blink 0x%05X 0x%05X ilink 0x%05X 0x%05X "
- "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X "
- "hw 0x%08X brd 0x%08X",
+ "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X "
+ "minor 0x%08X hw 0x%08X brd 0x%08X",
__get_str(dev), __entry->desc, __entry->tsf_low,
__entry->data1,
__entry->data2, __entry->line, __entry->blink1,
__entry->blink2, __entry->ilink1, __entry->ilink2,
__entry->bcon_time, __entry->gp1, __entry->gp2,
- __entry->gp3, __entry->ucode_ver, __entry->hw_ver,
- __entry->brd_ver)
+ __entry->gp3, __entry->major, __entry->minor,
+ __entry->hw_ver, __entry->brd_ver)
);
TRACE_EVENT(iwlwifi_dev_ucode_event,
--
2.1.4
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply related [flat|nested] 8+ messages in thread
* RE: linux-next: manual merge of the ftrace tree with the net-next tree
2015-04-13 7:52 linux-next: manual merge of the ftrace tree with the net-next tree Stephen Rothwell
@ 2015-04-13 7:54 ` Grumbach, Emmanuel
2015-04-15 1:23 ` Stephen Rothwell
1 sibling, 0 replies; 8+ messages in thread
From: Grumbach, Emmanuel @ 2015-04-13 7:54 UTC (permalink / raw)
To: Stephen Rothwell, Steven Rostedt, David Miller,
netdev@vger.kernel.org
Cc: linux-next@vger.kernel.org, linux-kernel@vger.kernel.org
>
> Hi Steven,
>
> Today's linux-next merge of the ftrace tree got a conflict in
> drivers/net/wireless/iwlwifi/iwl-devtrace.h between commit 7e1223b50089
> ("iwlwifi: mvm: new Alive / error table API") from the net-next tree and
> commit c5ef935d01a2 ("iwlwifi: Move each system tracepoints to their own
> header") from the ftrace tree.
>
> I fixed it up (see patch below, since this code was moved to a new file) and
> can carry the fix as necessary (no action is required).
Yes - So I was discussing that with Steven and you fixed it properly. Thank your for that.
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 13 Apr 2015 17:21:30 +1000
> Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> index 6cb66a988271..223b8752f924 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> @@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low,
> u32 data1, u32 data2, u32 line, u32 blink1,
> u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time,
> - u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver,
> + u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32
> hw_ver,
> u32 brd_ver),
> TP_ARGS(dev, desc, tsf_low, data1, data2, line,
> blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2,
> - gp3, ucode_ver, hw_ver, brd_ver),
> + gp3, major, minor, hw_ver, brd_ver),
> TP_STRUCT__entry(
> DEV_ENTRY
> __field(u32, desc)
> @@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> __field(u32, gp1)
> __field(u32, gp2)
> __field(u32, gp3)
> - __field(u32, ucode_ver)
> + __field(u32, major)
> + __field(u32, minor)
> __field(u32, hw_ver)
> __field(u32, brd_ver)
> ),
> @@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> __entry->gp1 = gp1;
> __entry->gp2 = gp2;
> __entry->gp3 = gp3;
> - __entry->ucode_ver = ucode_ver;
> + __entry->major = major;
> + __entry->minor = minor;
> __entry->hw_ver = hw_ver;
> __entry->brd_ver = brd_ver;
> ),
> TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, "
> "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X "
> - "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X
> "
> - "hw 0x%08X brd 0x%08X",
> + "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X
> "
> + "minor 0x%08X hw 0x%08X brd 0x%08X",
> __get_str(dev), __entry->desc, __entry->tsf_low,
> __entry->data1,
> __entry->data2, __entry->line, __entry->blink1,
> __entry->blink2, __entry->ilink1, __entry->ilink2,
> __entry->bcon_time, __entry->gp1, __entry->gp2,
> - __entry->gp3, __entry->ucode_ver, __entry->hw_ver,
> - __entry->brd_ver)
> + __entry->gp3, __entry->major, __entry->minor,
> + __entry->hw_ver, __entry->brd_ver)
> );
>
> TRACE_EVENT(iwlwifi_dev_ucode_event,
> --
> 2.1.4
>
> --
> Cheers,
> Stephen Rothwell sfr@canb.auug.org.au
^ permalink raw reply [flat|nested] 8+ messages in thread
* linux-next: manual merge of the ftrace tree with the net-next tree
@ 2015-04-14 5:16 Stephen Rothwell
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2015-04-14 5:16 UTC (permalink / raw)
To: Steven Rostedt, David Miller, netdev
Cc: linux-next, linux-kernel, Felix Fietkau
[-- Attachment #1: Type: text/plain, Size: 2363 bytes --]
Hi Steven,
Today's linux-next merge of the ftrace tree got a conflict in
net/mac80211/trace.h between commit ba8c3d6f16a1 ("mac80211: add an
intermediate software queue implementation") from the net-next tree and
commit 1bc1e4d048d3 ("mac80211: Move message tracepoints to their own
header") from the ftrace tree.
I fixed it up (see below) and can carry the fix as necessary (no action
is required).
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
diff --cc net/mac80211/trace.h
index 790bd45081c4,755a5388dbca..000000000000
--- a/net/mac80211/trace.h
+++ b/net/mac80211/trace.h
@@@ -2312,75 -2312,6 +2312,37 @@@ TRACE_EVENT(drv_tdls_recv_channel_switc
)
);
+TRACE_EVENT(drv_wake_tx_queue,
+ TP_PROTO(struct ieee80211_local *local,
+ struct ieee80211_sub_if_data *sdata,
+ struct txq_info *txq),
+
+ TP_ARGS(local, sdata, txq),
+
+ TP_STRUCT__entry(
+ LOCAL_ENTRY
+ VIF_ENTRY
+ STA_ENTRY
+ __field(u8, ac)
+ __field(u8, tid)
+ ),
+
+ TP_fast_assign(
+ struct ieee80211_sta *sta = txq->txq.sta;
+
+ LOCAL_ASSIGN;
+ VIF_ASSIGN;
+ STA_ASSIGN;
+ __entry->ac = txq->txq.ac;
+ __entry->tid = txq->txq.tid;
+ ),
+
+ TP_printk(
+ LOCAL_PR_FMT VIF_PR_FMT STA_PR_FMT " ac:%d tid:%d",
+ LOCAL_PR_ARG, VIF_PR_ARG, STA_PR_ARG, __entry->ac, __entry->tid
+ )
+);
+
- #ifdef CONFIG_MAC80211_MESSAGE_TRACING
- #undef TRACE_SYSTEM
- #define TRACE_SYSTEM mac80211_msg
-
- #define MAX_MSG_LEN 100
-
- DECLARE_EVENT_CLASS(mac80211_msg_event,
- TP_PROTO(struct va_format *vaf),
-
- TP_ARGS(vaf),
-
- TP_STRUCT__entry(
- __dynamic_array(char, msg, MAX_MSG_LEN)
- ),
-
- TP_fast_assign(
- WARN_ON_ONCE(vsnprintf(__get_dynamic_array(msg),
- MAX_MSG_LEN, vaf->fmt,
- *vaf->va) >= MAX_MSG_LEN);
- ),
-
- TP_printk("%s", __get_str(msg))
- );
-
- DEFINE_EVENT(mac80211_msg_event, mac80211_info,
- TP_PROTO(struct va_format *vaf),
- TP_ARGS(vaf)
- );
- DEFINE_EVENT(mac80211_msg_event, mac80211_dbg,
- TP_PROTO(struct va_format *vaf),
- TP_ARGS(vaf)
- );
- DEFINE_EVENT(mac80211_msg_event, mac80211_err,
- TP_PROTO(struct va_format *vaf),
- TP_ARGS(vaf)
- );
- #endif
-
#endif /* !__MAC80211_DRIVER_TRACE || TRACE_HEADER_MULTI_READ */
#undef TRACE_INCLUDE_PATH
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the ftrace tree with the net-next tree
2015-04-13 7:52 linux-next: manual merge of the ftrace tree with the net-next tree Stephen Rothwell
2015-04-13 7:54 ` Grumbach, Emmanuel
@ 2015-04-15 1:23 ` Stephen Rothwell
2015-04-15 2:39 ` David Miller
2015-04-15 3:06 ` Steven Rostedt
1 sibling, 2 replies; 8+ messages in thread
From: Stephen Rothwell @ 2015-04-15 1:23 UTC (permalink / raw)
To: Steven Rostedt, David Miller, netdev
Cc: linux-next, linux-kernel, Emmanuel Grumbach
[-- Attachment #1: Type: text/plain, Size: 3403 bytes --]
Hi all,
On Mon, 13 Apr 2015 17:52:24 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
>
> Today's linux-next merge of the ftrace tree got a conflict in
> drivers/net/wireless/iwlwifi/iwl-devtrace.h between commit 7e1223b50089
> ("iwlwifi: mvm: new Alive / error table API") from the net-next tree
> and commit c5ef935d01a2 ("iwlwifi: Move each system tracepoints to
> their own header") from the ftrace tree.
>
> I fixed it up (see patch below, since this code was moved to a new file)
> and can carry the fix as necessary (no action is required).
>
> From: Stephen Rothwell <sfr@canb.auug.org.au>
> Date: Mon, 13 Apr 2015 17:21:30 +1000
> Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
>
> Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> ---
> drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h | 18 ++++++++++--------
> 1 file changed, 10 insertions(+), 8 deletions(-)
>
> diff --git a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> index 6cb66a988271..223b8752f924 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> +++ b/drivers/net/wireless/iwlwifi/iwl-devtrace-iwlwifi.h
> @@ -116,11 +116,11 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> TP_PROTO(const struct device *dev, u32 desc, u32 tsf_low,
> u32 data1, u32 data2, u32 line, u32 blink1,
> u32 blink2, u32 ilink1, u32 ilink2, u32 bcon_time,
> - u32 gp1, u32 gp2, u32 gp3, u32 ucode_ver, u32 hw_ver,
> + u32 gp1, u32 gp2, u32 gp3, u32 major, u32 minor, u32 hw_ver,
> u32 brd_ver),
> TP_ARGS(dev, desc, tsf_low, data1, data2, line,
> blink1, blink2, ilink1, ilink2, bcon_time, gp1, gp2,
> - gp3, ucode_ver, hw_ver, brd_ver),
> + gp3, major, minor, hw_ver, brd_ver),
> TP_STRUCT__entry(
> DEV_ENTRY
> __field(u32, desc)
> @@ -136,7 +136,8 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> __field(u32, gp1)
> __field(u32, gp2)
> __field(u32, gp3)
> - __field(u32, ucode_ver)
> + __field(u32, major)
> + __field(u32, minor)
> __field(u32, hw_ver)
> __field(u32, brd_ver)
> ),
> @@ -155,21 +156,22 @@ TRACE_EVENT(iwlwifi_dev_ucode_error,
> __entry->gp1 = gp1;
> __entry->gp2 = gp2;
> __entry->gp3 = gp3;
> - __entry->ucode_ver = ucode_ver;
> + __entry->major = major;
> + __entry->minor = minor;
> __entry->hw_ver = hw_ver;
> __entry->brd_ver = brd_ver;
> ),
> TP_printk("[%s] #%02d %010u data 0x%08X 0x%08X line %u, "
> "blink 0x%05X 0x%05X ilink 0x%05X 0x%05X "
> - "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X uCode 0x%08X "
> - "hw 0x%08X brd 0x%08X",
> + "bcon_tm %010u gp 0x%08X 0x%08X 0x%08X major 0x%08X "
> + "minor 0x%08X hw 0x%08X brd 0x%08X",
> __get_str(dev), __entry->desc, __entry->tsf_low,
> __entry->data1,
> __entry->data2, __entry->line, __entry->blink1,
> __entry->blink2, __entry->ilink1, __entry->ilink2,
> __entry->bcon_time, __entry->gp1, __entry->gp2,
> - __entry->gp3, __entry->ucode_ver, __entry->hw_ver,
> - __entry->brd_ver)
> + __entry->gp3, __entry->major, __entry->minor,
> + __entry->hw_ver, __entry->brd_ver)
> );
>
> TRACE_EVENT(iwlwifi_dev_ucode_event,
This patch is now needed when the net-next tree is merged with Linus'
tree ...
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the ftrace tree with the net-next tree
2015-04-15 1:23 ` Stephen Rothwell
@ 2015-04-15 2:39 ` David Miller
2015-04-15 3:06 ` Steven Rostedt
1 sibling, 0 replies; 8+ messages in thread
From: David Miller @ 2015-04-15 2:39 UTC (permalink / raw)
To: sfr; +Cc: rostedt, netdev, linux-next, linux-kernel, emmanuel.grumbach
From: Stephen Rothwell <sfr@canb.auug.org.au>
Date: Wed, 15 Apr 2015 11:23:23 +1000
> This patch is now needed when the net-next tree is merged with Linus'
> tree ...
Yeah I noticed this while working on test merges into Linus's tree,
thanks.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the ftrace tree with the net-next tree
2015-04-15 1:23 ` Stephen Rothwell
2015-04-15 2:39 ` David Miller
@ 2015-04-15 3:06 ` Steven Rostedt
2015-04-15 3:24 ` David Miller
1 sibling, 1 reply; 8+ messages in thread
From: Steven Rostedt @ 2015-04-15 3:06 UTC (permalink / raw)
To: Stephen Rothwell
Cc: David Miller, netdev, linux-next, linux-kernel, Emmanuel Grumbach
On Wed, 15 Apr 2015 11:23:23 +1000
Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> Hi all,
>
> On Mon, 13 Apr 2015 17:52:24 +1000 Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> >
> > Today's linux-next merge of the ftrace tree got a conflict in
> > drivers/net/wireless/iwlwifi/iwl-devtrace.h between commit 7e1223b50089
> > ("iwlwifi: mvm: new Alive / error table API") from the net-next tree
> > and commit c5ef935d01a2 ("iwlwifi: Move each system tracepoints to
> > their own header") from the ftrace tree.
> >
> > I fixed it up (see patch below, since this code was moved to a new file)
> > and can carry the fix as necessary (no action is required).
> >
> > From: Stephen Rothwell <sfr@canb.auug.org.au>
> > Date: Mon, 13 Apr 2015 17:21:30 +1000
> > Subject: [PATCH] iwlwifi: mvm: fix up for tracing split
> >
> > Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
> This patch is now needed when the net-next tree is merged with Linus'
> tree ...
I also noted this coming conflict in my pull request. So Linus should
be very well aware of it.
https://lkml.org/lkml/2015/4/13/652
"Also there's a conflict with commit 7e1223b50089 ("iwlwifi: mvm: new
Alive / error table API") that Stephen found and he resolved it with
cd98c1ef4ec1a4d08e920060b70e47a5a4e69377."
That is, if that commit sha1 still exists.
-- Steve
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: linux-next: manual merge of the ftrace tree with the net-next tree
2015-04-15 3:06 ` Steven Rostedt
@ 2015-04-15 3:24 ` David Miller
0 siblings, 0 replies; 8+ messages in thread
From: David Miller @ 2015-04-15 3:24 UTC (permalink / raw)
To: rostedt; +Cc: sfr, netdev, linux-next, linux-kernel, emmanuel.grumbach
From: Steven Rostedt <rostedt@goodmis.org>
Date: Tue, 14 Apr 2015 23:06:29 -0400
> I also noted this coming conflict in my pull request. So Linus should
> be very well aware of it.
>
> https://lkml.org/lkml/2015/4/13/652
>
> "Also there's a conflict with commit 7e1223b50089 ("iwlwifi: mvm: new
> Alive / error table API") that Stephen found and he resolved it with
> cd98c1ef4ec1a4d08e920060b70e47a5a4e69377."
>
> That is, if that commit sha1 still exists.
I'll be sure to explain this to Linus.
^ permalink raw reply [flat|nested] 8+ messages in thread
* linux-next: manual merge of the ftrace tree with the net-next tree
@ 2025-05-16 6:23 Stephen Rothwell
0 siblings, 0 replies; 8+ messages in thread
From: Stephen Rothwell @ 2025-05-16 6:23 UTC (permalink / raw)
To: Steven Rostedt, Masami Hiramatsu, David Miller, Jakub Kicinski,
Paolo Abeni
Cc: Networking, Breno Leitao, Linux Kernel Mailing List,
Linux Next Mailing List
[-- Attachment #1: Type: text/plain, Size: 1964 bytes --]
Hi all,
Today's linux-next merge of the ftrace tree got a conflict in:
include/trace/events/tcp.h
between commit:
0f08335ade71 ("trace: tcp: Add tracepoint for tcp_sendmsg_locked()")
from the net-next tree and commit:
ac01fa73f530 ("tracepoint: Have tracepoints created with DECLARE_TRACE() have _tp suffix")
from the ftrace tree.
I fixed it up (see below) and can carry the fix as necessary. This
is now fixed as far as linux-next is concerned, but any non trivial
conflicts should be mentioned to your upstream maintainer when your tree
is submitted for merging. You may also want to consider cooperating
with the maintainer of the conflicting tree to minimise any particularly
complex conflicts.
--
Cheers,
Stephen Rothwell
diff --cc include/trace/events/tcp.h
index 006c2116c8f6,4f9fa1b5b89b..000000000000
--- a/include/trace/events/tcp.h
+++ b/include/trace/events/tcp.h
@@@ -332,31 -259,7 +332,31 @@@ TRACE_EVENT(tcp_retransmit_synack
__entry->saddr_v6, __entry->daddr_v6)
);
+TRACE_EVENT(tcp_sendmsg_locked,
+ TP_PROTO(const struct sock *sk, const struct msghdr *msg,
+ const struct sk_buff *skb, int size_goal),
+
+ TP_ARGS(sk, msg, skb, size_goal),
+
+ TP_STRUCT__entry(
+ __field(const void *, skb_addr)
+ __field(int, skb_len)
+ __field(int, msg_left)
+ __field(int, size_goal)
+ ),
+
+ TP_fast_assign(
+ __entry->skb_addr = skb;
+ __entry->skb_len = skb ? skb->len : 0;
+ __entry->msg_left = msg_data_left(msg);
+ __entry->size_goal = size_goal;
+ ),
+
+ TP_printk("skb_addr %p skb_len %d msg_left %d size_goal %d",
+ __entry->skb_addr, __entry->skb_len, __entry->msg_left,
+ __entry->size_goal));
+
- DECLARE_TRACE(tcp_cwnd_reduction_tp,
+ DECLARE_TRACE(tcp_cwnd_reduction,
TP_PROTO(const struct sock *sk, int newly_acked_sacked,
int newly_lost, int flag),
TP_ARGS(sk, newly_acked_sacked, newly_lost, flag)
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2025-05-16 6:23 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-13 7:52 linux-next: manual merge of the ftrace tree with the net-next tree Stephen Rothwell
2015-04-13 7:54 ` Grumbach, Emmanuel
2015-04-15 1:23 ` Stephen Rothwell
2015-04-15 2:39 ` David Miller
2015-04-15 3:06 ` Steven Rostedt
2015-04-15 3:24 ` David Miller
-- strict thread matches above, loose matches on Subject: below --
2015-04-14 5:16 Stephen Rothwell
2025-05-16 6:23 Stephen Rothwell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).