31 lines
1.3 KiB
Diff
31 lines
1.3 KiB
Diff
From 8d93617bed18193386102587841a0eab2da207d5 Mon Sep 17 00:00:00 2001
|
|
From: =?UTF-8?q?=E8=8F=A0=E8=90=9D=E6=9C=89=E7=82=B9=E9=85=B8?=
|
|
<yanxiaoqiang_yewu@cmss.chinamobile.com>
|
|
Date: Sat, 12 Oct 2024 08:45:14 +0000
|
|
Subject: [PATCH 07/20] update python/modules/_libkperf/Pmu.py.
|
|
MIME-Version: 1.0
|
|
Content-Type: text/plain; charset=UTF-8
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
Signed-off-by: 菠萝有点酸 <yanxiaoqiang_yewu@cmss.chinamobile.com>
|
|
---
|
|
python/modules/_libkperf/Pmu.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/python/modules/_libkperf/Pmu.py b/python/modules/_libkperf/Pmu.py
|
|
index 9c111bf..c743d7d 100644
|
|
--- a/python/modules/_libkperf/Pmu.py
|
|
+++ b/python/modules/_libkperf/Pmu.py
|
|
@@ -639,7 +639,7 @@ class CtypesPmuData(ctypes.Structure):
|
|
const char *comm; // process command
|
|
uint64_t period; // number of Samples
|
|
uint64_t count; // event count. Only available for Counting.
|
|
- double countPercent; // event count percent. when count = 0, countPercent = -1; Only avaliable for Counting.
|
|
+ double countPercent; // event count percent. when count = 0, countPercent = -1; Only available for Counting.
|
|
struct PmuDataExt *ext; // extension. Only available for Spe.
|
|
};
|
|
"""
|
|
--
|
|
2.43.0
|
|
|