History log of /openbmc/openbmc-tools/bbdbg/ (Results 1 – 4 of 4)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
e310dd9107-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

treewide: lint and format

Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.

Signed-off-by: Pa

treewide: lint and format

Run all the latest linters and formatters from openbmc-build-scripts.
These were all robotically generated except for fixes due to
markdownlint warnings.

Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: If16d2fd802a2d452234d8b56b41e79d030138a6b

show more ...


/openbmc/openbmc-tools/.linter-ignore
/openbmc/openbmc-tools/.shellcheck-ignore
/openbmc/openbmc-tools/OWNERS
/openbmc/openbmc-tools/README.md
/openbmc/openbmc-tools/altitude/altitude
/openbmc/openbmc-tools/autojson/autojson.py
bbdbg
/openbmc/openbmc-tools/bi2cp/README.md
/openbmc/openbmc-tools/bi2cp/bi2cp
/openbmc/openbmc-tools/dbus-pcap/README.md
/openbmc/openbmc-tools/dbus-pcap/dbus-pcap
/openbmc/openbmc-tools/dbus-top/.clang-format
/openbmc/openbmc-tools/dbus-top/.gitignore
/openbmc/openbmc-tools/dbus-top/README.md
/openbmc/openbmc-tools/dbus-top/analyzer.cpp
/openbmc/openbmc-tools/dbus-top/analyzer.hpp
/openbmc/openbmc-tools/dbus-top/bargraph.hpp
/openbmc/openbmc-tools/dbus-top/dbus_capture.cpp
/openbmc/openbmc-tools/dbus-top/dbus_capture.hpp
/openbmc/openbmc-tools/dbus-top/dbus_top_recipe.bb
/openbmc/openbmc-tools/dbus-top/histogram.hpp
/openbmc/openbmc-tools/dbus-top/main.cpp
/openbmc/openbmc-tools/dbus-top/main.hpp
/openbmc/openbmc-tools/dbus-top/menu.cpp
/openbmc/openbmc-tools/dbus-top/menu.hpp
/openbmc/openbmc-tools/dbus-top/meson.build
/openbmc/openbmc-tools/dbus-top/rect.hpp
/openbmc/openbmc-tools/dbus-top/sensorhelper.cpp
/openbmc/openbmc-tools/dbus-top/sensorhelper.hpp
/openbmc/openbmc-tools/dbus-top/subprojects/fmt.wrap
/openbmc/openbmc-tools/dbus-top/subprojects/sdbusplus.wrap
/openbmc/openbmc-tools/dbus-top/views.cpp
/openbmc/openbmc-tools/dbus-top/views.hpp
/openbmc/openbmc-tools/dbus-top/xmlparse.cpp
/openbmc/openbmc-tools/dbus-top/xmlparse.hpp
/openbmc/openbmc-tools/dbus-vis/README.md
/openbmc/openbmc-tools/dbus-vis/dbus_pcap_loader.js
/openbmc/openbmc-tools/dbus-vis/dbus_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/dbus_vis.css
/openbmc/openbmc-tools/dbus-vis/index.html
/openbmc/openbmc-tools/dbus-vis/info_panel.js
/openbmc/openbmc-tools/dbus-vis/initialization.js
/openbmc/openbmc-tools/dbus-vis/ipmi_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/linecount.py
/openbmc/openbmc-tools/dbus-vis/main.js
/openbmc/openbmc-tools/dbus-vis/package.json
/openbmc/openbmc-tools/dbus-vis/timeline_view.js
/openbmc/openbmc-tools/dbusView/dbusView.py
/openbmc/openbmc-tools/dbus_sensor_tester/dbus_sensor_tester.bb
/openbmc/openbmc-tools/dbus_sensor_tester/main.cpp
/openbmc/openbmc-tools/dbus_sensor_tester/meson.build
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/boost.wrap
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/cli11.wrap
/openbmc/openbmc-tools/dbus_sensor_tester/subprojects/sdbusplus.wrap
/openbmc/openbmc-tools/ddconvnotrunc/ddconvnotrunc
/openbmc/openbmc-tools/expectedJsonChecker/README.md
/openbmc/openbmc-tools/format-yaml/format-yaml.py
/openbmc/openbmc-tools/ipkdbg/Makefile
/openbmc/openbmc-tools/ipkdbg/README.md
/openbmc/openbmc-tools/ipkdbg/build-opkg
/openbmc/openbmc-tools/ipkdbg/ipkdbg.in
/openbmc/openbmc-tools/netboot/README.md
/openbmc/openbmc-tools/netboot/netboot
/openbmc/openbmc-tools/openbmc-autobump/openbmc-autobump.py
/openbmc/openbmc-tools/openbmctool/README.md
/openbmc/openbmc-tools/overlay/overlay
/openbmc/openbmc-tools/prepare-emmc-qemu/prepare-emmc-qemu
/openbmc/openbmc-tools/pretty-journal/pretty-journal.py
/openbmc/openbmc-tools/reboot-ping-pong/rpp
/openbmc/openbmc-tools/rootfs_size/rootfs_size.py
/openbmc/openbmc-tools/sensor_yaml_config/README.md
/openbmc/openbmc-tools/sensor_yaml_config/sensor_map.yaml
/openbmc/openbmc-tools/sensor_yaml_config/sensor_yaml_config.py
/openbmc/openbmc-tools/tof-voters/README.md
/openbmc/openbmc-tools/tof-voters/libvoters/entry_point.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/analyze-commits.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/analyze-reviews.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/dump-gerrit.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/report.py
/openbmc/openbmc-tools/tof-voters/libvoters/time.py
/openbmc/openbmc-tools/tracing/README.md
/openbmc/openbmc-tools/tracing/trace
/openbmc/openbmc-tools/witherspoon-debug/README.md
/openbmc/openbmc-tools/witherspoon-debug/debug
c1cd020d20-Jan-2022 Andrew Jeffery <andrew@aj.id.au>

bbdbg: Add libarchive-native to LD_LIBRARY_PATH

libarchive.so.13 is also required by opkg. This dependency was hidden as
I had the SO installed as a system component in my distro.

Signed-off-by: An

bbdbg: Add libarchive-native to LD_LIBRARY_PATH

libarchive.so.13 is also required by opkg. This dependency was hidden as
I had the SO installed as a system component in my distro.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: Ia21b64796dabe2166fd14db6189681410cb66f44

show more ...

34f77d4713-Jan-2022 Andrew Jeffery <andrew@aj.id.au>

bbdbg: Set source directory location

This allows gdb to resolve source lines by installation of source IPKs.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3e5bab6ff6fb97ec2a74ac67f6f4

bbdbg: Set source directory location

This allows gdb to resolve source lines by installation of source IPKs.

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I3e5bab6ff6fb97ec2a74ac67f6f4ccfb8a6a2cbe

show more ...

661cc8d010-Jan-2022 Andrew Jeffery <andrew@aj.id.au>

bbdbg: Debug a target environment generated by bitbake

bbdbg does the legwork to give you a gdb instance tailored for a target
environment generated from a local bitbake build tree. This saves
the t

bbdbg: Debug a target environment generated by bitbake

bbdbg does the legwork to give you a gdb instance tailored for a target
environment generated from a local bitbake build tree. This saves
the time otherwise spent by building and installing an SDK for the same.

Documentation:

```
3 15:52:42 andrew@mistburn:~/src/openbmc/openbmc-tools/bbdbg (bbdbg) $ ./bbdbg
./bbdbg: 26: 1: parameter not set
NAME
bbdbg - debug applications in a target environment built by bitbake

SYNOPSIS
bbdbg PATH FILE CORE PACKAGES

DESCRIPTION
PATH is the path to the root of a bitbake build directory
FILE is the absolute path to the binary of interest in the target environment
CORE is an optional core file generated by FILE. Pass '-' for no core file
PACKAGES will be used to populate a temporary rootfs for debugging FILE

EXAMPLE
bbdbg ~/src/openbmc/openbmc/build/p10bmc \
/usr/bin/nvmesensor - \
dbus-sensors dbus-sensors-dbg
```

Example use:

```
3 15:50:40 andrew@mistburn:~/src/openbmc/openbmc-tools/bbdbg (bbdbg) $ ./bbdbg ~/src/openbmc/openbmc/build/p10bmc /usr/bin/nvmesensor obmcdump_3_1641877435/core.nvmesensor.0.db0e4de236a6448e9005e85a0dffb348.1554.1641877432000000 dbus-sensors dbus-sensors-dbg
+ bbdbg_opkg update
+ LD_LIBRARY_PATH=/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/sysroots-components/x86_64/libsolv-native/usr/lib /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg -V0 -f /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf -o /tmp/bbdbg.375 update
+ bbdbg_opkg install dbus-sensors dbus-sensors-dbg
+ LD_LIBRARY_PATH=/home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/sysroots-components/x86_64/libsolv-native/usr/lib /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/sysroots-components/x86_64/opkg-native/usr/bin/opkg -V0 -f /home/andrew/src/openbmc/openbmc/build/p10bmc/tmp/work/p10bmc-openbmc-linux-gnueabi/obmc-phosphor-image/1.0-r0/opkg.conf -o /tmp/bbdbg.375 install dbus-sensors dbus-sensors-dbg
+ [ - = obmcdump_3_1641877435/core.nvmesensor.0.db0e4de236a6448e9005e85a0dffb348.1554.1641877432000000 ]
+ echo obmcdump_3_1641877435/core.nvmesensor.0.db0e4de236a6448e9005e85a0dffb348.1554.1641877432000000
+ gdb-multiarch -q -iex set solib-absolute-prefix /tmp/bbdbg.375 -iex add-auto-load-safe-path /tmp/bbdbg.375 /tmp/bbdbg.375/usr/bin/nvmesensor obmcdump_3_1641877435/core.nvmesensor.0.db0e4de236a6448e9005e85a0dffb348.1554.1641877432000000
Reading symbols from /tmp/bbdbg.375/usr/bin/nvmesensor...
Reading symbols from /tmp/bbdbg.375/usr/bin/.debug/nvmesensor...
[New LWP 1554]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/nvmesensor'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 0x76b88f50 in epoll_wait (epfd=<optimised out>, events=0x7edf1478, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
30 ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or directory.
(gdb) bt
#0 0x76b88f50 in epoll_wait (epfd=<optimised out>, events=0x7edf1478, maxevents=128, timeout=-1) at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
#1 0x0044adf4 in boost::asio::detail::epoll_reactor::run (ops=..., usec=<optimised out>, this=<optimised out>) at /usr/include/boost/asio/detail/impl/epoll_reactor.ipp:501
#2 boost::asio::detail::scheduler::do_run_one (ec=..., this_thread=..., lock=<synthetic pointer>..., this=0x17b1ea8) at /usr/include/boost/asio/detail/impl/scheduler.ipp:470
#3 boost::asio::detail::scheduler::run (ec=..., this=0x17b1ea8) at /usr/include/boost/asio/detail/impl/scheduler.ipp:204
#4 boost::asio::io_context::run (this=0x7edf1234, this=0x7edf1234) at /usr/include/boost/asio/impl/io_context.ipp:63
#5 main () at ../../../../../../workspace/sources/dbus-sensors/src/NVMeSensorMain.cpp:274
(gdb) quit
+ set +x
3 15:51:10 andrew@mistburn:~/src/openbmc/openbmc-tools/bbdbg (bbdbg) $
```

Signed-off-by: Andrew Jeffery <andrew@aj.id.au>
Change-Id: I82f5872742253351c7ac8d25b479ac8194e07afd

show more ...


/openbmc/openbmc-tools/LICENSE
/openbmc/openbmc-tools/MAINTAINERS
/openbmc/openbmc-tools/README.md
/openbmc/openbmc-tools/adcapp/LICENSE
/openbmc/openbmc-tools/adcapp/Makefile.am
/openbmc/openbmc-tools/adcapp/README
/openbmc/openbmc-tools/adcapp/configure.ac
/openbmc/openbmc-tools/adcapp/src/EINTR_wrappers.c
/openbmc/openbmc-tools/adcapp/src/EINTR_wrappers.h
/openbmc/openbmc-tools/adcapp/src/Makefile.am
/openbmc/openbmc-tools/adcapp/src/adc.h
/openbmc/openbmc-tools/adcapp/src/adcapp.c
/openbmc/openbmc-tools/adcapp/src/adcifc.c
/openbmc/openbmc-tools/adcapp/src/adcifc.h
/openbmc/openbmc-tools/altitude/altitude
/openbmc/openbmc-tools/autojson/autojson.py
bbdbg
/openbmc/openbmc-tools/bi2cp/README.md
/openbmc/openbmc-tools/bi2cp/bi2cp
/openbmc/openbmc-tools/bi2cp/requirements.txt
/openbmc/openbmc-tools/cla-signers/README.md
/openbmc/openbmc-tools/cla-signers/update-cla.sh
/openbmc/openbmc-tools/dbus-pcap/README.md
/openbmc/openbmc-tools/dbus-pcap/dbus-pcap
/openbmc/openbmc-tools/dbus-pcap/requirements.txt
/openbmc/openbmc-tools/dbus-vis/.clang-format
/openbmc/openbmc-tools/dbus-vis/.gitignore
/openbmc/openbmc-tools/dbus-vis/README.md
/openbmc/openbmc-tools/dbus-vis/boost_handler_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/dbus_pcap_loader.js
/openbmc/openbmc-tools/dbus-vis/dbus_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/dbus_vis.css
/openbmc/openbmc-tools/dbus-vis/index.html
/openbmc/openbmc-tools/dbus-vis/initialization.js
/openbmc/openbmc-tools/dbus-vis/ipmi_capture.js
/openbmc/openbmc-tools/dbus-vis/ipmi_parse.js
/openbmc/openbmc-tools/dbus-vis/ipmi_timeline_vis.js
/openbmc/openbmc-tools/dbus-vis/linecount.py
/openbmc/openbmc-tools/dbus-vis/main.js
/openbmc/openbmc-tools/dbus-vis/package.json
/openbmc/openbmc-tools/dbus-vis/renderer.js
/openbmc/openbmc-tools/dbus-vis/scrnshot.png
/openbmc/openbmc-tools/dbus-vis/timeline_view.js
/openbmc/openbmc-tools/dbusView/dbusView.py
/openbmc/openbmc-tools/ddconvnotrunc/ddconvnotrunc
/openbmc/openbmc-tools/expectedJsonChecker/LICENSE
/openbmc/openbmc-tools/expectedJsonChecker/README.md
/openbmc/openbmc-tools/expectedJsonChecker/expectedJsonChecker.py
/openbmc/openbmc-tools/format-yaml/LICENSE
/openbmc/openbmc-tools/format-yaml/format-yaml.py
/openbmc/openbmc-tools/maintainers/README.md
/openbmc/openbmc-tools/maintainers/obmc-gerrit
/openbmc/openbmc-tools/maintainers/obmc/__init__.py
/openbmc/openbmc-tools/maintainers/obmc/maintainers.py
/openbmc/openbmc-tools/maintainers/obmc/reviewlist.py
/openbmc/openbmc-tools/maintainers/requirements.txt
/openbmc/openbmc-tools/maintainers/setup.py
/openbmc/openbmc-tools/maintainers/split_maintainers.py
/openbmc/openbmc-tools/netboot/README.md
/openbmc/openbmc-tools/netboot/netboot
/openbmc/openbmc-tools/openbmc-autobump/openbmc-autobump.py
/openbmc/openbmc-tools/openbmc-events/LICENSE
/openbmc/openbmc-tools/openbmc-events/README.md
/openbmc/openbmc-tools/openbmc-events/openbmc-events
/openbmc/openbmc-tools/openbmc-events/openbmc-sensors
/openbmc/openbmc-tools/openbmc-events/openbmc-sfw
/openbmc/openbmc-tools/openbmctool/README.md
/openbmc/openbmc-tools/openbmctool/build-scripts/Makefile
/openbmc/openbmc-tools/openbmctool/build-scripts/control
/openbmc/openbmc-tools/openbmctool/build-scripts/openbmctool-rhel7.spec
/openbmc/openbmc-tools/openbmctool/build-scripts/openbmctool-rhel8.spec
/openbmc/openbmc-tools/openbmctool/openbmctool.py
/openbmc/openbmc-tools/openbmctool/policyTable.json
/openbmc/openbmc-tools/overlay/overlay
/openbmc/openbmc-tools/pldm/pdrdump.sh
/openbmc/openbmc-tools/prepare-emmc-qemu/prepare-emmc-qemu
/openbmc/openbmc-tools/pretty-journal/pretty-journal.py
/openbmc/openbmc-tools/pwmtachtool/LICENSE
/openbmc/openbmc-tools/pwmtachtool/Makefile.am
/openbmc/openbmc-tools/pwmtachtool/README
/openbmc/openbmc-tools/pwmtachtool/configure.ac
/openbmc/openbmc-tools/pwmtachtool/src/EINTR_wrappers.c
/openbmc/openbmc-tools/pwmtachtool/src/EINTR_wrappers.h
/openbmc/openbmc-tools/pwmtachtool/src/Makefile.am
/openbmc/openbmc-tools/pwmtachtool/src/libpwmtach.h
/openbmc/openbmc-tools/pwmtachtool/src/pwmtach.c
/openbmc/openbmc-tools/pwmtachtool/src/pwmtach_ioctl.h
/openbmc/openbmc-tools/pwmtachtool/src/pwmtachtool.c
/openbmc/openbmc-tools/reboot-ping-pong/requirements.txt
/openbmc/openbmc-tools/reboot-ping-pong/rpp
/openbmc/openbmc-tools/reboot/petitboot.exp
/openbmc/openbmc-tools/reboot/reboot.sh
/openbmc/openbmc-tools/rootfs_size/results.txt
/openbmc/openbmc-tools/rootfs_size/rootfs_size.py
/openbmc/openbmc-tools/sensor_yaml_config/LICENSE
/openbmc/openbmc-tools/sensor_yaml_config/README.md
/openbmc/openbmc-tools/sensor_yaml_config/sensor_map.yaml
/openbmc/openbmc-tools/sensor_yaml_config/sensor_yaml_config.py
/openbmc/openbmc-tools/tracing/README.md
/openbmc/openbmc-tools/tracing/trace
/openbmc/openbmc-tools/upload_and_update/LICENSE
/openbmc/openbmc-tools/upload_and_update/README.md
/openbmc/openbmc-tools/upload_and_update/upload_and_update.py
/openbmc/openbmc-tools/witherspoon-debug/README.md
/openbmc/openbmc-tools/witherspoon-debug/debug
/openbmc/openbmc-tools/witherspoon-debug/libncurses.so.5.9
/openbmc/openbmc-tools/witherspoon-debug/libncursesw.so.5.9