diff options
author | Navdeep Parhar <np@FreeBSD.org> | 2017-08-03 14:43:30 +0000 |
---|---|---|
committer | Navdeep Parhar <np@FreeBSD.org> | 2017-08-03 14:43:30 +0000 |
commit | f856f099cb17ccf9c1213bd269f0ee0ecd36cd4b (patch) | |
tree | ed79c93869f14487bc0a380b7f7c9acb09b52533 /sys/modules | |
parent | 079f5b9b7b286353e4dc169dd25073f442c5e2d4 (diff) | |
download | src-f856f099cb17ccf9c1213bd269f0ee0ecd36cd4b.tar.gz src-f856f099cb17ccf9c1213bd269f0ee0ecd36cd4b.zip |
cxgbe(4): Initial import of the "collect" component of Chelsio unified
debug (cudbg) code, hooked up to the main driver via an ioctl.
The ioctl can be used to collect the chip's internal state in a
compressed dump file. These dumps can be decoded with the "view"
component of cudbg.
Obtained from: Chelsio Communications
MFC after: 2 months
Sponsored by: Chelsio Communications
Notes
Notes:
svn path=/head/; revision=322014
Diffstat (limited to 'sys/modules')
-rw-r--r-- | sys/modules/cxgbe/if_cxgbe/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/modules/cxgbe/if_cxgbe/Makefile b/sys/modules/cxgbe/if_cxgbe/Makefile index 61f9e00be055..cc2f31b690bb 100644 --- a/sys/modules/cxgbe/if_cxgbe/Makefile +++ b/sys/modules/cxgbe/if_cxgbe/Makefile @@ -3,7 +3,7 @@ # CXGBE= ${SRCTOP}/sys/dev/cxgbe -.PATH: ${CXGBE} ${CXGBE}/common +.PATH: ${CXGBE} ${CXGBE}/common ${CXGBE}/cudbg KMOD= if_cxgbe SRCS= bus_if.h @@ -24,6 +24,12 @@ SRCS+= t4_netmap.c SRCS+= t4_sched.c SRCS+= t4_sge.c SRCS+= t4_tracer.c +SRCS+= cudbg_common.c +SRCS+= cudbg_flash_utils.c +SRCS+= cudbg_lib.c +SRCS+= cudbg_wtp.c +SRCS+= fastlz_api.c +SRCS+= fastlz.c # Provide the timestamp of a packet in its header mbuf. #CFLAGS+= -DT4_PKT_TIMESTAMP |