From: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
To: netdev@vger.kernel.org
Cc: linux-pci@vger.kernel.org, linuxppc-dev@lists.ozlabs.org,
linux-mips@vger.kernel.org, linux-trace-kernel@vger.kernel.org,
sparclinux@vger.kernel.org,
Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>,
Leon Romanovsky <leon@kernel.org>
Subject: [PATCH net-next 6/7] sunvnet: Remove event tracing file
Date: Fri, 6 Jan 2023 14:00:19 -0800 [thread overview]
Message-ID: <20230106220020.1820147-7-anirudh.venkataramanan@intel.com> (raw)
In-Reply-To: <20230106220020.1820147-1-anirudh.venkataramanan@intel.com>
An earlier patch removed the Sun LDOM vswitch and sunvnet drivers, and
as a result, nothing includes sunvnet.h anymore. Remove it.
Note:
checkpatch complains "WARNING: added, moved or deleted file(s), does
MAINTAINERS need updating?". The file being removed doesn't have its
own entry in the MAINTAINERS file, so there's nothing to remove.
Cc: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Anirudh Venkataramanan <anirudh.venkataramanan@intel.com>
---
include/trace/events/sunvnet.h | 140 ---------------------------------
1 file changed, 140 deletions(-)
delete mode 100644 include/trace/events/sunvnet.h
diff --git a/include/trace/events/sunvnet.h b/include/trace/events/sunvnet.h
deleted file mode 100644
index 8d444f1..00000000
--- a/include/trace/events/sunvnet.h
+++ /dev/null
@@ -1,140 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#undef TRACE_SYSTEM
-#define TRACE_SYSTEM sunvnet
-
-#if !defined(_TRACE_SUNVNET_H) || defined(TRACE_HEADER_MULTI_READ)
-#define _TRACE_SUNVNET_H
-
-#include <linux/tracepoint.h>
-
-TRACE_EVENT(vnet_rx_one,
-
- TP_PROTO(int lsid, int rsid, int index, int needs_ack),
-
- TP_ARGS(lsid, rsid, index, needs_ack),
-
- TP_STRUCT__entry(
- __field(int, lsid)
- __field(int, rsid)
- __field(int, index)
- __field(int, needs_ack)
- ),
-
- TP_fast_assign(
- __entry->lsid = lsid;
- __entry->rsid = rsid;
- __entry->index = index;
- __entry->needs_ack = needs_ack;
- ),
-
- TP_printk("(%x:%x) walk_rx_one index %d; needs_ack %d",
- __entry->lsid, __entry->rsid,
- __entry->index, __entry->needs_ack)
-);
-
-DECLARE_EVENT_CLASS(vnet_tx_stopped_ack_template,
-
- TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
-
- TP_ARGS(lsid, rsid, ack_end, npkts),
-
- TP_STRUCT__entry(
- __field(int, lsid)
- __field(int, rsid)
- __field(int, ack_end)
- __field(int, npkts)
- ),
-
- TP_fast_assign(
- __entry->lsid = lsid;
- __entry->rsid = rsid;
- __entry->ack_end = ack_end;
- __entry->npkts = npkts;
- ),
-
- TP_printk("(%x:%x) stopped ack for %d; npkts %d",
- __entry->lsid, __entry->rsid,
- __entry->ack_end, __entry->npkts)
-);
-DEFINE_EVENT(vnet_tx_stopped_ack_template, vnet_tx_send_stopped_ack,
- TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
- TP_ARGS(lsid, rsid, ack_end, npkts));
-DEFINE_EVENT(vnet_tx_stopped_ack_template, vnet_tx_defer_stopped_ack,
- TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
- TP_ARGS(lsid, rsid, ack_end, npkts));
-DEFINE_EVENT(vnet_tx_stopped_ack_template, vnet_tx_pending_stopped_ack,
- TP_PROTO(int lsid, int rsid, int ack_end, int npkts),
- TP_ARGS(lsid, rsid, ack_end, npkts));
-
-TRACE_EVENT(vnet_rx_stopped_ack,
-
- TP_PROTO(int lsid, int rsid, int end),
-
- TP_ARGS(lsid, rsid, end),
-
- TP_STRUCT__entry(
- __field(int, lsid)
- __field(int, rsid)
- __field(int, end)
- ),
-
- TP_fast_assign(
- __entry->lsid = lsid;
- __entry->rsid = rsid;
- __entry->end = end;
- ),
-
- TP_printk("(%x:%x) stopped ack for index %d",
- __entry->lsid, __entry->rsid, __entry->end)
-);
-
-TRACE_EVENT(vnet_tx_trigger,
-
- TP_PROTO(int lsid, int rsid, int start, int err),
-
- TP_ARGS(lsid, rsid, start, err),
-
- TP_STRUCT__entry(
- __field(int, lsid)
- __field(int, rsid)
- __field(int, start)
- __field(int, err)
- ),
-
- TP_fast_assign(
- __entry->lsid = lsid;
- __entry->rsid = rsid;
- __entry->start = start;
- __entry->err = err;
- ),
-
- TP_printk("(%x:%x) Tx trigger for %d sent with err %d %s",
- __entry->lsid, __entry->rsid, __entry->start,
- __entry->err, __entry->err > 0 ? "(ok)" : " ")
-);
-
-TRACE_EVENT(vnet_skip_tx_trigger,
-
- TP_PROTO(int lsid, int rsid, int last),
-
- TP_ARGS(lsid, rsid, last),
-
- TP_STRUCT__entry(
- __field(int, lsid)
- __field(int, rsid)
- __field(int, last)
- ),
-
- TP_fast_assign(
- __entry->lsid = lsid;
- __entry->rsid = rsid;
- __entry->last = last;
- ),
-
- TP_printk("(%x:%x) Skip Tx trigger. Last trigger sent was %d",
- __entry->lsid, __entry->rsid, __entry->last)
-);
-#endif /* _TRACE_SOCK_H */
-
-/* This part must be outside protection */
-#include <trace/define_trace.h>
--
2.37.2
next prev parent reply other threads:[~2023-01-06 21:59 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-01-06 22:00 [PATCH net-next 0/7] Remove three Sun net drivers Anirudh Venkataramanan
2023-01-06 22:00 ` [PATCH net-next 1/7] ethernet: Remove the Sun Cassini driver Anirudh Venkataramanan
2023-01-07 12:25 ` Anatoly Pugachev
2023-01-07 19:16 ` Anirudh Venkataramanan
2023-01-06 22:00 ` [PATCH net-next 2/7] PCI: Remove PCI IDs used by " Anirudh Venkataramanan
2023-01-10 15:26 ` Bjorn Helgaas
2023-01-10 16:51 ` Anirudh Venkataramanan
2023-01-06 22:00 ` [PATCH net-next 3/7] powerpc: configs: Remove reference to CONFIG_CASSINI Anirudh Venkataramanan
2023-01-06 22:00 ` [PATCH net-next 4/7] mips: " Anirudh Venkataramanan
2023-01-06 22:00 ` [PATCH net-next 5/7] ethernet: Remove the Sun LDOM vswitch and sunvnet drivers Anirudh Venkataramanan
2023-01-06 22:00 ` Anirudh Venkataramanan [this message]
2023-01-06 22:00 ` [PATCH net-next 7/7] sparc: configs: Remove references to CONFIG_SUNVNET and CONFIG_LDMVSW Anirudh Venkataramanan
2023-01-07 12:14 ` Anatoly Pugachev
2023-01-06 22:44 ` [PATCH net-next 0/7] Remove three Sun net drivers Karl Volz
2023-01-06 23:10 ` Anirudh Venkataramanan
2023-01-06 23:25 ` Karl Volz
2023-01-07 1:36 ` John Paul Adrian Glaubitz
2023-01-07 2:04 ` Anirudh Venkataramanan
2023-01-07 2:15 ` Jakub Kicinski
2023-01-07 2:24 ` John Paul Adrian Glaubitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230106220020.1820147-7-anirudh.venkataramanan@intel.com \
--to=anirudh.venkataramanan@intel.com \
--cc=leon@kernel.org \
--cc=linux-mips@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-trace-kernel@vger.kernel.org \
--cc=linuxppc-dev@lists.ozlabs.org \
--cc=netdev@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).