ipmi_handler: make sequence number to be atomic

IpmiHandler::sequence needs to be thread safe or atomic
otherwise thread sanitizer will complaint about it

Change-Id: Idde90599e85be5a64a328fbd420ecfa1a7f960cf
Signed-off-by: Anh Phan <anhphan@google.com>
2 files changed
tree: 65bdbd956018e21c0241ec2455e40c32f58e1dc0
  1. src/
  2. test/
  3. .clang-format
  4. .gitignore
  5. .lcovrc
  6. LICENSE
  7. meson.build
  8. meson.options
  9. OWNERS
  10. README.md
README.md

ipmi-blob-tool

ipmi-blob-tool is a host-side tool that speaks the BLOB protocol over IPMI.

Dependencies

Test cases require google{test,mock}, valgrind, and lcov.

Building

For a standard release build, you want something like:

./bootstrap.sh
./configure --disable-tests
make
make install

For a test / debug build, a typical configuration is

./bootstrap.sh
./configure --enable-tests --enable-coverage --enable-valgrind
make
make check
make check-valgrind
make check-code-coverage