*_string() enumerator to string functions: remove common prefix
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 21:57:01 +0000 (17:57 -0400)
committerJérémie Galarneau <jeremie.galarneau@efficios.com>
Wed, 7 Aug 2019 18:05:20 +0000 (14:05 -0400)
commite05f84643f7b36c941544c9c76f464c922a7b1e1
treead9118fd84e368e6d7f4c8172161f9b65a3b0883
parent056995e5cc042aa5056f50d9916bcad958f7117f
*_string() enumerator to string functions: remove common prefix

Those functions are used for logging and error cause messages. Removing
this prefix makes the output less noisy. The logging statement typically
indicates what field is logged anyway, for example:

    Destroying event message: addr=0x4f6c580, type=EVENT
    Destroying port: addr=0x4f30c20, type=INPUT
    Destroying structure field class object: addr=0x4eb2e30, type=STRUCTURE
    Finalizing error cause: addr=0x4daa6f0, actor-type=UNKNOWN

Signed-off-by: Philippe Proulx <eeppeliteloop@gmail.com>
Change-Id: Ieb0bda9287bafbd06e2aa0f077d5d631213e5803
Reviewed-on: https://review.lttng.org/c/babeltrace/+/1780
Tested-by: jenkins <jenkins@lttng.org>
15 files changed:
src/common/common.h
src/lib/error.h
src/lib/graph/component-class.h
src/lib/graph/graph.h
src/lib/graph/message/iterator.h
src/lib/graph/message/message.h
src/lib/graph/message/stream.h
src/lib/graph/port.h
src/lib/plugin/plugin.h
src/lib/trace-ir/field-path.h
src/plugins/ctf/common/bfcr/bfcr.c
src/plugins/ctf/common/bfcr/bfcr.h
src/plugins/ctf/common/metadata/ctf-meta.h
src/plugins/ctf/common/msg-iter/msg-iter.c
src/plugins/ctf/common/msg-iter/msg-iter.h
This page took 0.041401 seconds and 4 git commands to generate.