Common: refactor silent_debug() and make it common
1. Provide common macro of silent_debug and silent_debug_caps,
which had been repeatedly defined in each plugin.
2. Refactor the two macros to get "object" as an argument
so that it wouldn't use implicit argument exceot for "DBG".
The same macros are not touched in /ext directory
because they are not supposed to include "tensor_common.h",
which is an internal header.
@todo There are a few subplugins in /ext (not tensor-filter)
that uses "tensor_common.h". They should be refactored not to
use internal headers so that we can separate them to
independent repo anytime. Although we don't have such plans,
we need to keep them as appropriate examples for users.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
12 files changed: