diff options
author | Kausik Sinnaswamy <kausik@broadcom.com> | 2012-04-02 15:04:26 +0530 |
---|---|---|
committer | Matthew Xie <mattx@google.com> | 2012-07-14 11:19:14 -0700 |
commit | 84a000f59a48dac41d04da6bf9569258bc0e2cfc (patch) | |
tree | 7552daf852870cf54ce7d6d9e1ad8f1ca83231c5 /include/bt_trace.h | |
parent | c01f69a35563261eca49bd2083afd7064790940d (diff) | |
download | external_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.zip external_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.tar.gz external_bluetooth_bluedroid-84a000f59a48dac41d04da6bf9569258bc0e2cfc.tar.bz2 |
Consolidated patchset for
1) Run-time configuration: configure stack and vendor at run-time using bt_stack.conf and bt_vendor.conf in /etc/bluetooth/
2) Build-time configuration: Auto-generate buildcfg.h header file from the target config bdroid_$(TARGET_DEVICE).txt file
Change-Id: Ieebb71081b7de404eab37f9ff4596d3dc94547a7
Diffstat (limited to 'include/bt_trace.h')
-rw-r--r-- | include/bt_trace.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/include/bt_trace.h b/include/bt_trace.h index a5372d0..6ad87c8 100644 --- a/include/bt_trace.h +++ b/include/bt_trace.h @@ -157,21 +157,15 @@ typedef struct { typedef UINT8 (tBTTRC_SET_TRACE_LEVEL)( UINT8 ); -/* potentially to save flash, you could compile this out. however some functions may need adjustments! */ -#ifndef USE_TEXT_ID -#define USE_TEXT_ID TRUE -#endif - typedef struct { const tBTTRC_LAYER_ID layer_id_start; const tBTTRC_LAYER_ID layer_id_end; - const tBTTRC_SET_TRACE_LEVEL *p_f; -#if (USE_TEXT_ID==TRUE) + tBTTRC_SET_TRACE_LEVEL *p_f; const char *trc_name; -#endif + UINT8 trace_level; } tBTTRC_FUNC_MAP; -extern const tBTTRC_FUNC_MAP bttrc_set_level_map[]; +extern tBTTRC_FUNC_MAP bttrc_set_level_map[]; extern const UINT16 bttrc_map_size; extern BT_API tBTTRC_LEVEL * BTA_SysSetTraceLevel( tBTTRC_LEVEL * p_levels ); // btla-specific -- |