msm: bus_arb: Disable debug logging.
* This debug logging consumes 10% of all the CPU cycles in the drivers communicating with the DSP. * Disable the logging for the time being until we add a config. Bug: 71867957 Change-Id: I97d418fee3d4576b077ed284ed5ae4447da5a789
This commit is contained in:
parent
fc87a3047e
commit
96060693a5
1 changed files with 7 additions and 2 deletions
|
@ -18,6 +18,8 @@
|
|||
#define NUM_LNODES 3
|
||||
#define MAX_STR_CL 50
|
||||
|
||||
#define DEBUG_REC_TRANSACTION 0
|
||||
|
||||
struct bus_search_type {
|
||||
struct list_head link;
|
||||
struct list_head node_list;
|
||||
|
@ -1241,7 +1243,8 @@ static int update_bw_adhoc(struct msm_bus_client_handle *cl, u64 ab, u64 ib)
|
|||
if (!strcmp(test_cl, cl->name))
|
||||
log_transaction = true;
|
||||
|
||||
msm_bus_dbg_rec_transaction(cl, ab, ib);
|
||||
if (DEBUG_REC_TRANSACTION)
|
||||
msm_bus_dbg_rec_transaction(cl, ab, ib);
|
||||
|
||||
if ((cl->cur_act_ib == ib) && (cl->cur_act_ab == ab)) {
|
||||
MSM_BUS_DBG("%s:no change in request", cl->name);
|
||||
|
@ -1302,7 +1305,9 @@ static int update_bw_context(struct msm_bus_client_handle *cl, u64 act_ab,
|
|||
|
||||
if (!slp_ab && !slp_ib)
|
||||
cl->active_only = true;
|
||||
msm_bus_dbg_rec_transaction(cl, cl->cur_act_ab, cl->cur_dual_ib);
|
||||
if (DEBUG_REC_TRANSACTION)
|
||||
msm_bus_dbg_rec_transaction(cl, cl->cur_act_ab,
|
||||
cl->cur_dual_ib);
|
||||
ret = update_path(cl->mas_dev, cl->slv, act_ib, act_ab, slp_ib,
|
||||
slp_ab, cl->cur_act_ab, cl->cur_act_ab,
|
||||
cl->first_hop, cl->active_only);
|
||||
|
|
Loading…
Reference in a new issue