*_string() enumerator to string functions: remove common prefix
authorPhilippe Proulx <eeppeliteloop@gmail.com>
Wed, 24 Jul 2019 21:57:01 +0000 (17:57 -0400)
committerPhilippe Proulx <eeppeliteloop@gmail.com>
Fri, 26 Jul 2019 23:19:09 +0000 (19:19 -0400)
commit8a4328893c7222e490da887e1caec4e61fe3d56e
tree05f132e916bddd4ef41071d939c3ef43d5e8e013
parente7ceb9df3c98e0b0d394f38c8c63fd236a2a0e06
*_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.038026 seconds and 4 git commands to generate.