History log of /openbmc/openbmc-tools/dbus-pcap/ (Results 1 – 9 of 9)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
96ebc4e717-Dec-2023 Andrew Jeffery <andrew@codeconstruct.com.au>

dbus-pcap: Track method call error responses

DBus uses a different type value in the fixed header for error responses
vs method call returns, despite the fact that the response is returning
an error

dbus-pcap: Track method call error responses

DBus uses a different type value in the fixed header for error responses
vs method call returns, despite the fact that the response is returning
an error. Avoid confusion by tracking the error case as well.

Change-Id: Icaa1492db5ded0f95801fdefcd0fecc72627fbfe
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...

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 ...

a3db66b304-Dec-2022 Patrick Williams <patrick@stwcx.xyz>

python: fix flake8 warnings and format with black

Most of the flake8 warnings in this repository were fairly trivial,
so fixed them. The "openbmctool" is 7000+ lines of pretty heavily
warned code,

python: fix flake8 warnings and format with black

Most of the flake8 warnings in this repository were fairly trivial,
so fixed them. The "openbmctool" is 7000+ lines of pretty heavily
warned code, so just disabling that one. Format everything with
black.

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

show more ...


/openbmc/openbmc-tools/.linter-ignore
/openbmc/openbmc-tools/OWNERS
/openbmc/openbmc-tools/adcapp/src/adcapp.c
/openbmc/openbmc-tools/adcapp/src/adcifc.c
/openbmc/openbmc-tools/altitude/altitude
/openbmc/openbmc-tools/autojson/autojson.py
/openbmc/openbmc-tools/bbdbg/bbdbg
/openbmc/openbmc-tools/bi2cp/bi2cp
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/.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/info_panel.js
/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/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/ipkdbg/Makefile
/openbmc/openbmc-tools/ipkdbg/README.md
/openbmc/openbmc-tools/ipkdbg/build-opkg
/openbmc/openbmc-tools/ipkdbg/ipkdbg.in
/openbmc/openbmc-tools/netboot/netboot
/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/sensor_yaml_config.py
/openbmc/openbmc-tools/tof-voters/.gitignore
/openbmc/openbmc-tools/tof-voters/README.md
/openbmc/openbmc-tools/tof-voters/libvoters/__init__.py
/openbmc/openbmc-tools/tof-voters/libvoters/acceptable.py
/openbmc/openbmc-tools/tof-voters/libvoters/entry_point.py
/openbmc/openbmc-tools/tof-voters/libvoters/subcmd/__init__.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/tof-voters/voters
08ce0a5b09-Sep-2021 Andrew Jeffery <andrew@aj.id.au>

dbus-pcap: Adjust offset by the length of the alignment

As we have a a bytes() rather than an iterator we can measure the length
of the achieved alignment size rather than assuming the requested
ali

dbus-pcap: Adjust offset by the length of the alignment

As we have a a bytes() rather than an iterator we can measure the length
of the achieved alignment size rather than assuming the requested
alignment size.

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

show more ...

a03cdf2d09-Sep-2021 Andrew Jeffery <andrew@aj.id.au>

dbus-pcap: Use MalformedPacketError instead of assert

This allows us to continue in the face of bad packets while still
reporting them.

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

dbus-pcap: Use MalformedPacketError instead of assert

This allows us to continue in the face of bad packets while still
reporting them.

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

show more ...

855a2af409-Sep-2021 Andrew Jeffery <andrew@aj.id.au>

dbus-pcap: Print error information to stderr

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

b25389e502-Aug-2021 Sui Chen <suichen@google.com>

dbus-pcap: Handle UNIX_FD and Array of UINT32

1) This message captured on a desktop system caused an error in
AlignedStream.align, so lines 169 and 170 are added to fix the error:

(CookedMessage(he

dbus-pcap: Handle UNIX_FD and Array of UINT32

1) This message captured on a desktop system caused an error in
AlignedStream.align, so lines 169 and 170 are added to fix the error:

(CookedMessage(header=CookedHeader()]), body=['org.freedesktop.
NetworkManager.IP6Config', [['Addresses', [[[x, x, ..., x], x, ... ],
['AddressData', [[['address', 'some ipv6 addr'], ['prefix', x]], ...],
['Routes', [[[x, x, x, x, x, x, x], x, ...],
['RouteData', [[['dest', 'some ipv6 addr'], ['prefix', x], ['metric',
x]], ['next-hop', 'some ipv6 address'], ['metric', x]], ]]]]]]]])

2) This message captured on a desktop system contains a UNIX_FD, line
128 is added to make the parse process pass:

(CookedMessage(header=CookedHeader(fixed=FixedHeader(endian=108,
type=2, flags=1, version=1, length=8, cookie=3541), fields=
[Field(type=<MessageFieldType.REPLY_SERIAL: 5>, data=40),
Field(type=<MessageFieldType.DESTINATION: 6>, data=':1.67459'),
Field(type=<MessageFieldType.SIGNATURE: 8>, data='hb'),
Field(type=<MessageFieldType.UNIX_FDS: 9>, data=1),
Field(type=<MessageFieldType.SENDER: 7>, data=':1.1')]), body=[0, 0])

Change-Id: I02ba32b026ebf5346937aa8b264338dd91d91b98
Signed-off-by: Sui Chen <suichen6@gmail.com>

show more ...

54e0c9ae10-Sep-2020 Sui Chen <suichen@google.com>

dbus-pcap: Parse headers of large messages

When encountering a large message that got truncated, instead of
raising a MalformedPacketError and completely ignoring the message,
parse as much as possi

dbus-pcap: Parse headers of large messages

When encountering a large message that got truncated, instead of
raising a MalformedPacketError and completely ignoring the message,
parse as much as possible (in this case, its header) so that it can
still be used for certain purposes, such as to match method calls and
method returns.

Tested: compared against WireShark outputs (WireShark is able to handle
truncated messages) and manually inspecting parsed results.

One example message:
CookedMessage(header=CookedHeader(fixed=FixedHeader(endian=108, type=2,
flags=1, version=1, length=125272, cookie=3543),
fields=[Field(type=<MessageFieldType.REPLY_SERIAL: 5>, data=2),
Field(type=<MessageFieldType.DESTINATION: 6>, data=':1.1145'),
Field(type=<MessageFieldType.SIGNATURE: 8>, data='a{oa{sa{sv}}}'),
Field(type=<MessageFieldType.SENDER: 7>, data=':1.628')]), body=[])

Signed-off-by: Sui Chen <suichen@google.com>
Change-Id: Ie415735aef2b1c0bf6f27c509684964ccd87d1d9

show more ...

cf3c1e6716-Sep-2020 Andrew Jeffery <andrew@aj.id.au>

Move script directories up to the root

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


/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
/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
README.md
dbus-pcap
requirements.txt
/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/feistjj/dbusView.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/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/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