Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178171274
D62258.1796179639.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D62258.1796179639.diff
View Options
diff --git a/sys/net/netisr.c b/sys/net/netisr.c
--- a/sys/net/netisr.c
+++ b/sys/net/netisr.c
@@ -63,7 +63,6 @@
* netisr.h.
*/
-#include "opt_ddb.h"
#include "opt_device_polling.h"
#include <sys/param.h>
@@ -84,10 +83,6 @@
#include <sys/sysctl.h>
#include <sys/systm.h>
-#ifdef DDB
-#include <ddb/ddb.h>
-#endif
-
#include <net/if.h>
#include <net/if_var.h>
#include <net/if_private.h>
@@ -1550,38 +1545,3 @@
CTLFLAG_RD|CTLTYPE_STRUCT|CTLFLAG_MPSAFE, 0, 0, sysctl_netisr_work,
"S,sysctl_netisr_work",
"Return list of per-workstream, per-protocol work in netisr");
-
-#ifdef DDB
-DB_SHOW_COMMAND(netisr, db_show_netisr)
-{
- struct netisr_workstream *nwsp;
- struct netisr_work *nwp;
- int first, proto;
- u_int cpuid;
-
- db_printf("%3s %6s %5s %5s %5s %8s %8s %8s %8s\n", "CPU", "Proto",
- "Len", "WMark", "Max", "Disp", "HDisp", "Drop", "Queue");
- CPU_FOREACH(cpuid) {
- nwsp = DPCPU_ID_PTR(cpuid, nws);
- if (nwsp->nws_intr_event == NULL)
- continue;
- first = 1;
- for (proto = 0; proto < NETISR_MAXPROT; proto++) {
- if (netisr_proto[proto].np_handler == NULL)
- continue;
- nwp = &nwsp->nws_work[proto];
- if (first) {
- db_printf("%3d ", cpuid);
- first = 0;
- } else
- db_printf("%3s ", "");
- db_printf(
- "%6s %5d %5d %5d %8ju %8ju %8ju %8ju\n",
- netisr_proto[proto].np_name, nwp->nw_len,
- nwp->nw_watermark, nwp->nw_qlimit,
- nwp->nw_dispatched, nwp->nw_hybrid_dispatched,
- nwp->nw_qdrops, nwp->nw_queued);
- }
- }
-}
-#endif
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 2, 2:47 AM (23 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42135915
Default Alt Text
D62258.1796179639.diff (1 KB)
Attached To
Mode
D62258: netisr: remove ddb(4) support
Attached
Detach File
Event Timeline