Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linux-davinci
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
linux
linux-davinci
Commits
9efeae9a
Commit
9efeae9a
authored
Dec 09, 2005
by
Ralf Baechle
Committed by
Jan 10, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MIPS: Oprofile: Print error message if the CPU happen to have no counters.
Signed-off-by:
Ralf Baechle
<
ralf@ongar.mips.com
>
parent
ba339c03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
arch/mips/oprofile/op_model_mipsxx.c
arch/mips/oprofile/op_model_mipsxx.c
+3
-1
No files found.
arch/mips/oprofile/op_model_mipsxx.c
View file @
9efeae9a
...
...
@@ -180,8 +180,10 @@ static int __init mipsxx_init(void)
int
counters
;
counters
=
n_counters
();
if
(
counters
==
0
)
if
(
counters
==
0
)
{
printk
(
KERN_ERR
"Oprofile: CPU has no performance counters
\n
"
);
return
-
ENODEV
;
}
reset_counters
(
counters
);
...
...
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