Revision tags: v24.05, v24.09-pre, v24.05-rc1, LTS, v24.01, v24.05-pre, v24.01-rc1, v23.09, v24.01-pre, v23.09-rc1 |
|
#
9943e42a |
| 26-Jul-2023 |
Konrad Sztyber <konrad.sztyber@intel.com> |
scripts/gdb_macros: fix SyntaxWarning
Since v3.8, Python will complain when "is" or "is not" is used to compare some literals (for more details, see [1]). Using regular equality checks gets rid of
scripts/gdb_macros: fix SyntaxWarning
Since v3.8, Python will complain when "is" or "is not" is used to compare some literals (for more details, see [1]). Using regular equality checks gets rid of the following warning:
SyntaxWarning: "is not" with a literal. Did you mean "!="?
[1] https://docs.python.org/3.8/whatsnew/3.8.html#changes-in-python-behavior
Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I631bd79fd7e644b493dbfb0c28c40ce7178e1e4e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19172 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <jim.harris@gmail.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v23.05, v23.09-pre, v23.01.1, v23.01, v23.05-pre, v23.01-rc1 |
|
#
adc2ca50 |
| 16-Dec-2022 |
Mike Gerdts <mgerdts@nvidia.com> |
scripts: gdb needs a pretty printer for spinlocks
In debug builds, SPDK spinlocks will have stack traces that track where they were allocated, last locked, and last unlocked. This adds gdb pretty pr
scripts: gdb needs a pretty printer for spinlocks
In debug builds, SPDK spinlocks will have stack traces that track where they were allocated, last locked, and last unlocked. This adds gdb pretty printers to make that information easily visible. See the updates in doc/gdb_macros.md for details.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: I4f903c588d9384c4005eec01348fa5c2d3cab5db Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16000 Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
#
69bec87a |
| 16-Dec-2022 |
Mike Gerdts <mgerdts@nvidia.com> |
scripts: gdb macros should allow missing symbols
When gdb_macros.py is used with unit tests some of the globals it expects are not present. This commit handles the relevant exceptions so a missing s
scripts: gdb macros should allow missing symbols
When gdb_macros.py is used with unit tests some of the globals it expects are not present. This commit handles the relevant exceptions so a missing symbol does not prevent the use of macros that are initialized later.
Signed-off-by: Mike Gerdts <mgerdts@nvidia.com> Change-Id: Ic81f0dfa705839c9a03fb76e934684716b710390 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15999 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v22.01.2 |
|
#
a6dbe372 |
| 01-Nov-2022 |
paul luse <paul.e.luse@intel.com> |
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date defa
update Intel copyright notices
per Intel policy to include file commit date using git cmd below. The policy does not apply to non-Intel (C) notices.
git log --follow -C90% --format=%ad --date default <file> | tail -1
and then pull just the 4 digit year from the result.
Intel copyrights were not added to files where Intel either had no contribution ot the contribution lacked substance (ie license header updates, formatting changes, etc). Contribution date used "--follow -C95%" to get the most accurate date.
Note that several files in this patch didn't end the license/(c) block with a blank comment line so these were added as the vast majority of files do have this last blank line. Simply there for consistency.
Signed-off-by: paul luse <paul.e.luse@intel.com> Change-Id: Id5b7ce4f658fe87132f14139ead58d6e285c04d4 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15192 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Community-CI: Mellanox Build Bot
show more ...
|
#
311d014d |
| 08-Nov-2022 |
Kozlowski Mateusz <mateusz.kozlowski@intel.com> |
scripts: Update spdk_print_io_devices and spdk_print_threads gdb macros
The structs io_device and spdk_io_channel were moved from using tailq list to rb tree, moving the parsing in gdb functions to
scripts: Update spdk_print_io_devices and spdk_print_threads gdb macros
The structs io_device and spdk_io_channel were moved from using tailq list to rb tree, moving the parsing in gdb functions to use those too.
Fixes issue #2763
Signed-off-by: Kozlowski Mateusz <mateusz.kozlowski@intel.com> Change-Id: I8fa5a69b5004e3d86fdfa201c2ba47e06fa47cfa Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15330 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Michael Haeuptle <michaelhaeuptle@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com>
show more ...
|
#
1bab7cbc |
| 08-Oct-2022 |
Luo Yifan <luoyifan_yewu@cmss.chinamobile.com> |
scripts: Fix a clerical error in gdb_macros.py
The add operation is meaningless here. New ns should be added to the returned string, so replace + with +=.
Signed-off-by: Luo Yifan <luoyifan_yewu@cm
scripts: Fix a clerical error in gdb_macros.py
The add operation is meaningless here. New ns should be added to the returned string, so replace + with +=.
Signed-off-by: Luo Yifan <luoyifan_yewu@cmss.chinamobile.com> Change-Id: I7f0eaaec48d544e21892320dfc1451ebd2e7174e Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/14899 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
show more ...
|
Revision tags: v22.09, v23.01-pre, v22.09-rc1, v22.05, v22.09-pre, v22.05-rc1, v22.01.1, v22.01, v22.01-rc1, v21.10, v21.10-rc1, v21.07, v21.07-rc1, v21.04, v21.04-rc1, v21.01.1, v21.01, v21.01-rc1, v20.10, v20.10-rc1, v20.07, v20.07-rc1, v20.04.1, v20.01.2, v20.04, v20.04-rc1, v20.01.1, v20.01, v20.01-rc1, v19.10.1, v19.10, v19.10-rc1, v19.07.1, v19.07, v19.04.1, v19.04, v18.10.2, v19.01.1 |
|
#
77a55a2f |
| 13-Feb-2019 |
shahar salzman <shahar.salzman@kaminario.com> |
scripts: Use range instead of xrange
Change-Id: I15c1877fea6ae0bccdcd8b319941d7a30180fe8c Signed-off-by: shahar salzman <shahar.salzman@kaminario.com> Reviewed-on: https://review.gerrithub.io/c/4444
scripts: Use range instead of xrange
Change-Id: I15c1877fea6ae0bccdcd8b319941d7a30180fe8c Signed-off-by: shahar salzman <shahar.salzman@kaminario.com> Reviewed-on: https://review.gerrithub.io/c/444424 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com>
show more ...
|
#
e7121a26 |
| 13-Feb-2019 |
Ben Walker <benjamin.walker@intel.com> |
scripts: Fix missing line break in gdb_macros.py
pycodestyle correctly detects that there isn't two line breaks after the end of the class here. The test pool pep8 does not catch this. We need to mo
scripts: Fix missing line break in gdb_macros.py
pycodestyle correctly detects that there isn't two line breaks after the end of the class here. The test pool pep8 does not catch this. We need to move the test pool to the newer pycodestyle tool.
Change-Id: I5fa8b66f8c3d76e41140e79fdcd264d7b38f86c7 Signed-off-by: Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/444445 Reviewed-by: Seth Howell <seth.howell5141@gmail.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
show more ...
|
Revision tags: v19.01 |
|
#
f4d6841b |
| 28-Jan-2019 |
shahar salzman <shahar.salzman@kaminario.com> |
scripts: add gdb macros to print various spdk lists
Change-Id: I3194703c84ffbe658d99ab3ebec13abf7f796833 Signed-off-by: shahar salzman <shahar.salzman@kaminario.com> Reviewed-on: https://review.gerr
scripts: add gdb macros to print various spdk lists
Change-Id: I3194703c84ffbe658d99ab3ebec13abf7f796833 Signed-off-by: shahar salzman <shahar.salzman@kaminario.com> Reviewed-on: https://review.gerrithub.io/c/442325 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com>
show more ...
|