Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
Kernel
提交
ce90c12d
K
Kernel
项目概览
openeuler
/
Kernel
接近 2 年 前同步成功
通知
8
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
K
Kernel
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
ce90c12d
编写于
8月 23, 2016
作者:
A
Arnaldo Carvalho de Melo
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'perf/urgent' into perf/core, to pick up fixes before merging new changes
Signed-off-by:
N
Arnaldo Carvalho de Melo
<
acme@redhat.com
>
上级
b6a32f02
de737f33
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
10 addition
and
6 deletion
+10
-6
tools/include/linux/string.h
tools/include/linux/string.h
+5
-1
tools/perf/util/evsel.c
tools/perf/util/evsel.c
+3
-3
tools/perf/util/unwind-libdw.c
tools/perf/util/unwind-libdw.c
+1
-1
tools/perf/util/unwind-libunwind-local.c
tools/perf/util/unwind-libunwind-local.c
+1
-1
未找到文件。
tools/include/linux/string.h
浏览文件 @
ce90c12d
...
...
@@ -8,7 +8,11 @@ void *memdup(const void *src, size_t len);
int
strtobool
(
const
char
*
s
,
bool
*
res
);
#ifdef __GLIBC__
/*
* glibc based builds needs the extern while uClibc doesn't.
* However uClibc headers also define __GLIBC__ hence the hack below
*/
#if defined(__GLIBC__) && !defined(__UCLIBC__)
extern
size_t
strlcpy
(
char
*
dest
,
const
char
*
src
,
size_t
size
);
#endif
...
...
tools/perf/util/evsel.c
浏览文件 @
ce90c12d
...
...
@@ -507,17 +507,17 @@ static int __perf_evsel__hw_cache_name(u64 config, char *bf, size_t size)
u8
op
,
result
,
type
=
(
config
>>
0
)
&
0xff
;
const
char
*
err
=
"unknown-ext-hardware-cache-type"
;
if
(
type
>
PERF_COUNT_HW_CACHE_MAX
)
if
(
type
>
=
PERF_COUNT_HW_CACHE_MAX
)
goto
out_err
;
op
=
(
config
>>
8
)
&
0xff
;
err
=
"unknown-ext-hardware-cache-op"
;
if
(
op
>
PERF_COUNT_HW_CACHE_OP_MAX
)
if
(
op
>
=
PERF_COUNT_HW_CACHE_OP_MAX
)
goto
out_err
;
result
=
(
config
>>
16
)
&
0xff
;
err
=
"unknown-ext-hardware-cache-result"
;
if
(
result
>
PERF_COUNT_HW_CACHE_RESULT_MAX
)
if
(
result
>
=
PERF_COUNT_HW_CACHE_RESULT_MAX
)
goto
out_err
;
err
=
"invalid-cache"
;
...
...
tools/perf/util/unwind-libdw.c
浏览文件 @
ce90c12d
...
...
@@ -66,7 +66,7 @@ static int entry(u64 ip, struct unwind_info *ui)
if
(
__report_module
(
&
al
,
ip
,
ui
))
return
-
1
;
e
->
ip
=
ip
;
e
->
ip
=
al
.
addr
;
e
->
map
=
al
.
map
;
e
->
sym
=
al
.
sym
;
...
...
tools/perf/util/unwind-libunwind-local.c
浏览文件 @
ce90c12d
...
...
@@ -542,7 +542,7 @@ static int entry(u64 ip, struct thread *thread,
thread__find_addr_location
(
thread
,
PERF_RECORD_MISC_USER
,
MAP__FUNCTION
,
ip
,
&
al
);
e
.
ip
=
ip
;
e
.
ip
=
al
.
addr
;
e
.
map
=
al
.
map
;
e
.
sym
=
al
.
sym
;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录