diff options
author | Chris Kay <chris.kay@arm.com> | 2019-12-04 15:05:28 +0000 |
---|---|---|
committer | jimqui01 <54316584+jimqui01@users.noreply.github.com> | 2020-03-24 17:52:55 +0000 |
commit | 819690283526d1d768dcea49b47bdb51c1de6e55 (patch) | |
tree | a5898c26831a3b81518682e81b72d5cd2611d356 /module/system_power | |
parent | 26a32af3ecb7d92c05e2114423b25f4c203ed193 (diff) |
fwk: Filter log messages by level
This commit introduces the ability to filter logs based on their
criticality. Log messages that do not exceed the configured criticality
are removed at preprocessing time.
This, in turn, allows us to remove logging calls that do not meet the
criticality requirement, reducing the size of the executable image and
increasing the performance of release images.
Change-Id: I56e14175b67a3e4e68fd03b8e457a802192898d1
Signed-off-by: Chris Kay <chris.kay@arm.com>
Diffstat (limited to 'module/system_power')
-rw-r--r-- | module/system_power/src/mod_system_power.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/module/system_power/src/mod_system_power.c b/module/system_power/src/mod_system_power.c index 72e5c0aa..8e25c64c 100644 --- a/module/system_power/src/mod_system_power.c +++ b/module/system_power/src/mod_system_power.c @@ -14,6 +14,7 @@ #include <fwk_assert.h> #include <fwk_id.h> #include <fwk_interrupt.h> +#include <fwk_log.h> #include <fwk_mm.h> #include <fwk_module.h> #include <fwk_module_idx.h> |