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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user