qcacmn: Track tasklet execution and total time (sched+exec)

Add support to track tasklet execution and total time in different
buckets for debugging purposes

Change-Id: Ide459c385b2a44c0f16d05b37879c8b462782d72
CRs-Fixed: 2589199
Šī revīzija ir iekļauta:
Surya Prakash Raajen
2020-01-02 20:02:52 +05:30
revīziju iesūtīja nshrivas
vecāks 0181445b71
revīzija b976076b3b
12 mainīti faili ar 312 papildinājumiem un 22 dzēšanām

Parādīt failu

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2013-2019 The Linux Foundation. All rights reserved.
* Copyright (c) 2013-2020 The Linux Foundation. All rights reserved.
*
* Permission to use, copy, modify, and/or distribute this software for
* any purpose with or without fee is hereby granted, provided that the
@@ -134,6 +134,16 @@ void htc_dump(HTC_HANDLE HTCHandle, uint8_t CmdId, bool start)
hif_dump(target->hif_dev, CmdId, start);
}
void htc_ce_tasklet_debug_dump(HTC_HANDLE htc_handle)
{
HTC_TARGET *target = GET_HTC_TARGET_FROM_HANDLE(htc_handle);
if (!target->hif_dev)
return;
hif_display_stats(target->hif_dev);
}
/* cleanup the HTC instance */
static void htc_cleanup(HTC_TARGET *target)
{