qcacmn: Add DP event history in non debug mode

Enable DP event history for perf mode.

Change-Id: I1b8863928f956aa39488ea357d56e182613aad8d
CRs-Fixed: 2846844
This commit is contained in:
Ananya Gupta
2021-01-07 17:21:10 +05:30
committed by snandini
parent ae7d88fa80
commit a3152f3104
5 changed files with 54 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright (c) 2014-2020 The Linux Foundation. All rights reserved.
* Copyright (c) 2014-2021 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
@@ -249,6 +249,16 @@ static inline bool qdf_system_time_after_eq(qdf_time_t a, qdf_time_t b)
return __qdf_system_time_after_eq(a, b);
}
/**
* qdf_sched_clock() - use light weight timer to get timestamp for logging
*
* Return: timestamp in ns
*/
static inline uint64_t qdf_sched_clock(void)
{
return __qdf_sched_clock();
}
/**
* enum qdf_timestamp_unit - what unit the qdf timestamp is in
* @KERNEL_LOG: boottime time in uS (micro seconds)