For some reason jenkins failed with a link to a page with http error 404.
Not sure of the reason, this code doesn't go in any test/lib, and I ran the
check_format.sh tool before I did my local commit...
From: Shahar Salzman
Sent: Monday, January 28, 2019 4:39 PM
To: Cao, Gang; Storage Performance Development Kit
Subject: Re: gdb macros
Posted the code for review:
I know that there is a ton of additional information which can be shown for these
I currently implemented what was useful to me, I will probably add some more later on when
other needs arise, but this should be a nice starting point.
From: SPDK <spdk-bounces(a)lists.01.org> on behalf of Cao, Gang
Sent: Monday, January 28, 2019 7:16 AM
To: Storage Performance Development Kit
Subject: Re: [SPDK] gdb macros
Thanks Shahar on your sharing of these valuable gdb scripts.
Maybe you can submit into <spdk_root_folder>/scripts folder and have a proper name
From: SPDK [mailto:email@example.com] On Behalf Of Shahar Salzman
Sent: Sunday, January 27, 2019 8:47 PM
To: Storage Performance Development Kit <spdk(a)lists.01.org>
Subject: [SPDK] gdb macros
Been debugging some spdk issues lately (mainly crashes due to my ineptitude).
In order to print out the bdevs, subsystems, io_channels and threads, I wrote a few python
gdb macros that may be useful to others.
Do these macros have a place in the project? If so, where do I put them in, scripts?
P.S. Here is an example:
SPDK object of type struct spdk_thead at 0x7f7f7c008980 ((struct spdk_thead*)
0x7f7f7c008980) name 0x7f7f7c000f70 "reactor_1"
SPDK object of type struct spdk_io_channel at 0x7f7f7c83b730
((struct spdk_io_channel*) 0x7f7f7c83b730)
device 0x7f7f7c008b50 (0x7f7f7c008bb0 "nvmf_tgt")
SPDK object of type struct spdk_io_channel at 0x7f7f7ca532f0
((struct spdk_io_channel*) 0x7f7f7ca532f0)
device 0x7f7f7c008e20 (0x7f7f7c008e80 "rdma_transport")
SPDK object of type struct spdk_nvmf_subsystem at 0x7f7f7c008bd0 ((struct
spdk_nvmf_subsystem*) 0x7f7f7c008bd0) name
"nqn.2014-08.org.nvmexpress.discovery", '\000' <repeats 187 times>
nqn "nqn.2014-08.org.nvmexpress.discovery", '\000' <repeats 187
times> ID 0
SPDK object of type struct io_device at 0x7f7f7c0053e0 ((struct io_device*)
0x7f7f7c0053e0) name 0x7f7f7c008590 "memcpy_engine"
SPDK mailing list
SPDK mailing list