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
1e4cb7c8
Commit
1e4cb7c8
authored
Oct 26, 2002
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Make kernel profiling work again (patch by Peter Chubb).
parent
de1a5fa0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
arch/ia64/kernel/time.c
arch/ia64/kernel/time.c
+4
-8
No files found.
arch/ia64/kernel/time.c
View file @
1e4cb7c8
/*
* linux/arch/ia64/kernel/time.c
*
* Copyright (C) 1998-200
1
Hewlett-Packard Co
*
Copyright (C) 1998-2000
Stephane Eranian <eranian@hpl.hp.com>
*
Copyright (C) 1999-2001
David Mosberger <davidm@hpl.hp.com>
* Copyright (C) 1998-200
2
Hewlett-Packard Co
*
Stephane Eranian <eranian@hpl.hp.com>
*
David Mosberger <davidm@hpl.hp.com>
* Copyright (C) 1999 Don Dugger <don.dugger@intel.com>
* Copyright (C) 1999-2000 VA Linux Systems
* Copyright (C) 1999-2000 Walt Drummond <drummond@valinux.com>
...
...
@@ -12,6 +12,7 @@
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/profile.h>
#include <linux/sched.h>
#include <linux/time.h>
#include <linux/interrupt.h>
...
...
@@ -35,7 +36,6 @@ unsigned long last_cli_ip;
#endif
#if 0
static
void
do_profile
(
unsigned
long
ip
)
{
...
...
@@ -59,7 +59,6 @@ do_profile (unsigned long ip)
atomic_inc
((
atomic_t
*
)
&
prof_buffer
[
ip
]);
}
#endif
/*
* Return the number of micro-seconds that elapsed since the last update to jiffy. The
...
...
@@ -168,11 +167,8 @@ timer_interrupt(int irq, void *dev_id, struct pt_regs *regs)
* four so that we can use a prof_shift of 2 to get instruction-level
* instead of just bundle-level accuracy.
*/
#if 0
XXX fix me!
if
(
!
user_mode
(
regs
))
do_profile
(
regs
->
cr_iip
+
4
*
ia64_psr
(
regs
)
->
ri
);
#endif
#ifdef CONFIG_SMP
smp_do_timer
(
regs
);
...
...
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