[lttng-dev] [PATCH lttng-tools 00/10] Fix: tracefile rotation rm-after-destroy race

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Wed May 18 18:04:09 UTC 2016


Mathieu Desnoyers (10):
  Fix: bad file descriptors on close after rotation error
  Fix: UST should not generate packet at destroy after stop
  Fix: kernel tracing: flush after stop
  Fix: ust-consumer: flush empty packets on snapshot channel
  Fix: bogus mask on error.h PRINT types
  Fix: error.h: add missing parenthesis around macro parameter
  Fix: WARN() should print as WARN level, not ERR
  Add environment variable to allow abort on error
  test: kernel tracing destroy flush behavior with tracefile rotation
  test: UST tracing destroy flush behavior with tracefile rotation

 configure.ac                                       |   1 +
 doc/man/common-cmd-footer.txt                      |   3 +
 doc/man/lttng-relayd.8.txt                         |   3 +
 doc/man/lttng-sessiond.8.txt                       |   2 +
 src/bin/lttng-sessiond/cmd.c                       |  20 +--
 src/bin/lttng-sessiond/consumer.c                  |  32 +++++
 src/bin/lttng-sessiond/consumer.h                  |   1 +
 src/bin/lttng-sessiond/ust-app.c                   | 140 +++++++++++++++++++
 src/common/consumer/consumer.h                     |  11 ++
 src/common/error.c                                 |  28 ++++
 src/common/error.h                                 |  33 +++--
 src/common/sessiond-comm/sessiond-comm.h           |   3 +
 src/common/ust-consumer/ust-consumer.c             |  75 +++++++++-
 src/common/utils.c                                 |   1 +
 tests/fast_regression                              |   1 +
 tests/regression/kernel/Makefile.am                |   3 +-
 .../regression/kernel/test_rotation_destroy_flush  | 153 +++++++++++++++++++++
 tests/regression/ust/Makefile.am                   |   3 +-
 .../ust/rotation-destroy-flush/Makefile.am         |  16 +++
 .../test_rotation_destroy_flush                    | 150 ++++++++++++++++++++
 tests/root_regression                              |   1 +
 21 files changed, 651 insertions(+), 29 deletions(-)
 create mode 100755 tests/regression/kernel/test_rotation_destroy_flush
 create mode 100644 tests/regression/ust/rotation-destroy-flush/Makefile.am
 create mode 100755 tests/regression/ust/rotation-destroy-flush/test_rotation_destroy_flush

-- 
2.1.4



More information about the lttng-dev mailing list