36 lines
1.3 KiB
Diff
36 lines
1.3 KiB
Diff
From c1c61ed3b437469c6509ac73a02b6f7790ba77d3 Mon Sep 17 00:00:00 2001
|
|
From: xuyongliang_01 <xuyongliang_yewu@cmss.chinamobile.com>
|
|
Date: Wed, 30 Oct 2024 09:48:57 +0000
|
|
Subject: [PATCH 16/20] update include/pmu.h.
|
|
|
|
Signed-off-by: xuyongliang_01 <xuyongliang_yewu@cmss.chinamobile.com>
|
|
---
|
|
include/pmu.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/include/pmu.h b/include/pmu.h
|
|
index 1e51802..d0b7e43 100644
|
|
--- a/include/pmu.h
|
|
+++ b/include/pmu.h
|
|
@@ -96,7 +96,7 @@ struct PmuAttr {
|
|
|
|
// event group id
|
|
// if not use event group function, this field will be nullptr.
|
|
- // if use event group function. please confrim the event group id with eveList is one by one.
|
|
+ // if use event group function. please confirm the event group id with eveList is one by one.
|
|
// the same group id is the a event group.
|
|
// Note: if the group id value is -1, it indicates that the event is not grouped.
|
|
struct EvtAttr *evtAttr;
|
|
@@ -266,7 +266,7 @@ void PmuStop(int pd);
|
|
* If <pmuData> is NULL and the error code is not 0, an error occurs in the collection process and data cannot be read.
|
|
* @param pd task id
|
|
* @param pmuData pmu data which is a pointer to an array
|
|
- * @return lenght of pmu data
|
|
+ * @return length of pmu data
|
|
*/
|
|
int PmuRead(int pd, struct PmuData** pmuData);
|
|
|
|
--
|
|
2.43.0
|
|
|