Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
linux
Commits
167e33c3
Commit
167e33c3
authored
Dec 07, 2011
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'perf/urgent' of
git://github.com/acmel/linux
into perf/urgent
parents
86b47c25
6340cfed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
tools/perf/builtin-stat.c
tools/perf/builtin-stat.c
+2
-1
tools/perf/util/header.c
tools/perf/util/header.c
+1
-1
No files found.
tools/perf/builtin-stat.c
View file @
167e33c3
...
@@ -463,7 +463,8 @@ static int run_perf_stat(int argc __used, const char **argv)
...
@@ -463,7 +463,8 @@ static int run_perf_stat(int argc __used, const char **argv)
list_for_each_entry
(
counter
,
&
evsel_list
->
entries
,
node
)
{
list_for_each_entry
(
counter
,
&
evsel_list
->
entries
,
node
)
{
if
(
create_perf_stat_counter
(
counter
,
first
)
<
0
)
{
if
(
create_perf_stat_counter
(
counter
,
first
)
<
0
)
{
if
(
errno
==
EINVAL
||
errno
==
ENOSYS
||
errno
==
ENOENT
)
{
if
(
errno
==
EINVAL
||
errno
==
ENOSYS
||
errno
==
ENOENT
||
errno
==
EOPNOTSUPP
)
{
if
(
verbose
)
if
(
verbose
)
ui__warning
(
"%s event is not supported by the kernel.
\n
"
,
ui__warning
(
"%s event is not supported by the kernel.
\n
"
,
event_name
(
counter
));
event_name
(
counter
));
...
...
tools/perf/util/header.c
View file @
167e33c3
...
@@ -388,7 +388,7 @@ static int write_event_desc(int fd, struct perf_header *h __used,
...
@@ -388,7 +388,7 @@ static int write_event_desc(int fd, struct perf_header *h __used,
/*
/*
* write event string as passed on cmdline
* write event string as passed on cmdline
*/
*/
ret
=
do_write_string
(
fd
,
attr
->
name
);
ret
=
do_write_string
(
fd
,
event_name
(
attr
)
);
if
(
ret
<
0
)
if
(
ret
<
0
)
return
ret
;
return
ret
;
/*
/*
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment