diff options
| author | Padma, Santhosh Kumar <skpadma@qti.qualcomm.com> | 2015-01-21 12:01:19 +0530 |
|---|---|---|
| committer | Akash Patel <c_akashp@qca.qualcomm.com> | 2015-02-02 16:33:30 -0800 |
| commit | f7d84429fd3ccc8a7d3376775cbb40c8248a7cac (patch) | |
| tree | f1cd75a2a21e45a57c015fcdab197b0ed47d5210 | |
| parent | 98387fb81cc5cbe29be43344fb3324103534d104 (diff) | |
qcacld: Info logs to indicate time stamps
Kernel uses jiffies, txq->trans_start and dev->trans_start to decide
timeout. Add time stamps for them which will be helpful in knowing
the reason for timeout.
Change-Id: I284a4916a9eacc17d04bb42b7ae81ed281e33a9d
CRs-Fixed: 785300
| -rw-r--r-- | CORE/HDD/src/wlan_hdd_tx_rx.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/CORE/HDD/src/wlan_hdd_tx_rx.c b/CORE/HDD/src/wlan_hdd_tx_rx.c index 0adb2d34e5d8..fd142dc0e710 100644 --- a/CORE/HDD/src/wlan_hdd_tx_rx.c +++ b/CORE/HDD/src/wlan_hdd_tx_rx.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2012-2014 The Linux Foundation. All rights reserved. + * Copyright (c) 2012-2015 The Linux Foundation. All rights reserved. * * Previously licensed under the ISC license by Qualcomm Atheros, Inc. * @@ -1020,8 +1020,8 @@ void hdd_tx_timeout(struct net_device *dev) struct netdev_queue *txq; int i = 0; - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_ERROR, - "%s: Transmission timeout occurred", __func__); + hddLog(LOGE, FL("Transmission timeout occurred jiffies %lu trans_start %lu"), + jiffies, dev->trans_start); //Getting here implies we disabled the TX queues for too long. Queues are //disabled either because of disassociation or low resource scenarios. In //case of disassociation it is ok to ignore this. But if associated, we have @@ -1044,8 +1044,8 @@ void hdd_tx_timeout(struct net_device *dev) for (i = 0; i < 8; i++) { txq = netdev_get_tx_queue(dev, i); - VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_INFO, - "Queue%d status: %d", i, netif_tx_queue_stopped(txq)); + hddLog(LOG1, FL("Queue%d status: %d txq->trans_start %lu"), + i, netif_tx_queue_stopped(txq), txq->trans_start); } VOS_TRACE( VOS_MODULE_ID_HDD_DATA, VOS_TRACE_LEVEL_INFO, |
