Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
raspberrypi-kernel
提交
30fdd373
R
raspberrypi-kernel
项目概览
openeuler
/
raspberrypi-kernel
通知
13
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
R
raspberrypi-kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
30fdd373
编写于
4月 15, 2015
作者:
V
Vineet Gupta
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
ARC: perf: Rename DT binding to not confuse with power mgmt
Signed-off-by:
N
Vineet Gupta
<
vgupta@synopsys.com
>
上级
22f6b899
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
23 addition
and
27 deletion
+23
-27
Documentation/devicetree/bindings/arc/pct.txt
Documentation/devicetree/bindings/arc/pct.txt
+20
-0
Documentation/devicetree/bindings/arc/pmu.txt
Documentation/devicetree/bindings/arc/pmu.txt
+0
-24
arch/arc/boot/dts/angel4.dts
arch/arc/boot/dts/angel4.dts
+1
-1
arch/arc/kernel/perf_event.c
arch/arc/kernel/perf_event.c
+2
-2
未找到文件。
Documentation/devicetree/bindings/arc/pct.txt
0 → 100644
浏览文件 @
30fdd373
* ARC Performance Counters
The ARC700 can be configured with a pipeline performance monitor for counting
CPU and cache events like cache misses and hits. Like conventional PCT there
are 100+ hardware conditions dynamically mapped to upto 32 counters
Note that:
* The ARC 700 PCT does not support interrupts; although HW events may be
counted, the HW events themselves cannot serve as a trigger for a sample.
Required properties:
- compatible : should contain
"snps,arc700-pct"
Example:
pmu {
compatible = "snps,arc700-pct";
};
Documentation/devicetree/bindings/arc/pmu.txt
已删除
100644 → 0
浏览文件 @
22f6b899
* ARC Performance Monitor Unit
The ARC 700 can be configured with a pipeline performance monitor for counting
CPU and cache events like cache misses and hits.
Note that:
* ARC 700 refers to a family of ARC processor cores;
- There is only one type of PMU available for the whole family;
- The PMU may support different sets of events; supported events are probed
at boot time, as required by the reference manual.
* The ARC 700 PMU does not support interrupts; although HW events may be
counted, the HW events themselves cannot serve as a trigger for a sample.
Required properties:
- compatible : should contain
"snps,arc700-pmu"
Example:
pmu {
compatible = "snps,arc700-pmu";
};
arch/arc/boot/dts/angel4.dts
浏览文件 @
30fdd373
...
...
@@ -64,7 +64,7 @@
};
arcpmu0: pmu {
compatible = "snps,arc700-p
mu
";
compatible = "snps,arc700-p
ct
";
};
};
};
arch/arc/kernel/perf_event.c
浏览文件 @
30fdd373
...
...
@@ -346,7 +346,7 @@ static int arc_pmu_device_probe(struct platform_device *pdev)
#ifdef CONFIG_OF
static
const
struct
of_device_id
arc_pmu_match
[]
=
{
{
.
compatible
=
"snps,arc700-p
mu
"
},
{
.
compatible
=
"snps,arc700-p
ct
"
},
{},
};
MODULE_DEVICE_TABLE
(
of
,
arc_pmu_match
);
...
...
@@ -354,7 +354,7 @@ MODULE_DEVICE_TABLE(of, arc_pmu_match);
static
struct
platform_driver
arc_pmu_driver
=
{
.
driver
=
{
.
name
=
"arc700-p
mu
"
,
.
name
=
"arc700-p
ct
"
,
.
of_match_table
=
of_match_ptr
(
arc_pmu_match
),
},
.
probe
=
arc_pmu_device_probe
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录