Firefly Open Source Community

   Login   |   Register   |
New_Topic
Print Previous Topic Next Topic

Enable logging in Android HAL module

27

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
27

Enable logging in Android HAL module

Posted at 1/2/2018 21:34:20      View:3757 | Replies:1        Print      Only Author   [Copy Link] 1#
Dear all,

How can I enable logging (using ALOGx calls within Android framework) inside the HAL module for hwcomposer.cpp ? This file is located: ./hardware/rockchip/hwcomposer/hwcomposer.cpp
For some reason the logging calls never end up in the logcat output. For another module, such as the lights HAL module (./hardware/rockchip/liblights), the logging calls do show up in logcat !!

I have tried the following:
  1. #define LOG_NDEBUG 0
Copy the code
defining at top of the respective file, but this does not change anything.

Anyone any idea how to enable logging in this HWComposer HAL module?

Thanks in advance,
Kind regards, Mark

Reply

Use props Report

120

Credits

0

Prestige

0

Contribution

registered members

Rank: 2

Credits
120
Posted at yesterday 15:35        Only Author  2#
This article has really touched me, thank you for sharing! Ready to crush the Valid exam C1000-189 sample online exam! Hope it goes great!
Reply

Use props Report

You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list