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
e8c1a04b
Commit
e8c1a04b
authored
May 05, 2003
by
David Mosberger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ia64: Manual merge of Steve's spelling fixes.
parent
5ed26a4f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
arch/ia64/kernel/perfmon.c
arch/ia64/kernel/perfmon.c
+6
-6
No files found.
arch/ia64/kernel/perfmon.c
View file @
e8c1a04b
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
* This file implements the perfmon subsystem which is used
* This file implements the perfmon subsystem which is used
* to program the IA-64 Performance Monitoring Unit (PMU).
* to program the IA-64 Performance Monitoring Unit (PMU).
*
*
* Originaly Written by Ganesh Venkitachalam, IBM Corp.
* Original
l
y Written by Ganesh Venkitachalam, IBM Corp.
* Copyright (C) 1999 Ganesh Venkitachalam <venkitac@us.ibm.com>
* Copyright (C) 1999 Ganesh Venkitachalam <venkitac@us.ibm.com>
*
*
* Modifications by Stephane Eranian, Hewlett-Packard Co.
* Modifications by Stephane Eranian, Hewlett-Packard Co.
...
@@ -649,7 +649,7 @@ pfm_vm_close(struct vm_area_struct *vma)
...
@@ -649,7 +649,7 @@ pfm_vm_close(struct vm_area_struct *vma)
/*
/*
* This function is called from pfm_destroy_context() and also from pfm_inherit()
* This function is called from pfm_destroy_context() and also from pfm_inherit()
* to explicit
e
ly remove the sampling buffer mapping from the user level address space.
* to explicitly remove the sampling buffer mapping from the user level address space.
*/
*/
static
int
static
int
pfm_remove_smpl_mapping
(
struct
task_struct
*
task
)
pfm_remove_smpl_mapping
(
struct
task_struct
*
task
)
...
@@ -1670,7 +1670,7 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
...
@@ -1670,7 +1670,7 @@ pfm_read_pmds(struct task_struct *task, pfm_context_t *ctx, void *arg, int count
if
(
!
PMD_IS_IMPL
(
cnum
))
goto
abort_mission
;
if
(
!
PMD_IS_IMPL
(
cnum
))
goto
abort_mission
;
/*
/*
* we can only read the register that we use. That includes
* we can only read the register that we use. That includes
* the one we explicit
e
ly initialize AND the one we want included
* the one we explicitly initialize AND the one we want included
* in the sampling buffer (smpl_regs).
* in the sampling buffer (smpl_regs).
*
*
* Having this restriction allows optimization in the ctxsw routine
* Having this restriction allows optimization in the ctxsw routine
...
@@ -1882,7 +1882,7 @@ pfm_restart(struct task_struct *task, pfm_context_t *ctx, void *arg, int count,
...
@@ -1882,7 +1882,7 @@ pfm_restart(struct task_struct *task, pfm_context_t *ctx, void *arg, int count,
* if blocking, then post the semaphore.
* if blocking, then post the semaphore.
* if non-blocking, then we ensure that the task will go into
* if non-blocking, then we ensure that the task will go into
* pfm_overflow_must_block() before returning to user mode.
* pfm_overflow_must_block() before returning to user mode.
* We cannot explicit
e
ly reset another task, it MUST always
* We cannot explicitly reset another task, it MUST always
* be done by the task itself. This works for system wide because
* be done by the task itself. This works for system wide because
* the tool that is controlling the session is doing "self-monitoring".
* the tool that is controlling the session is doing "self-monitoring".
*
*
...
@@ -2914,7 +2914,7 @@ pfm_record_sample(struct task_struct *task, pfm_context_t *ctx, unsigned long ov
...
@@ -2914,7 +2914,7 @@ pfm_record_sample(struct task_struct *task, pfm_context_t *ctx, unsigned long ov
/*
/*
* main overflow processing routine.
* main overflow processing routine.
* it can be called from the interrupt path or explicit
e
ly during the context switch code
* it can be called from the interrupt path or explicitly during the context switch code
* Arguments:
* Arguments:
* mode: 0=coming from PMU interrupt, 1=coming from ctxsw
* mode: 0=coming from PMU interrupt, 1=coming from ctxsw
*
*
...
@@ -3833,7 +3833,7 @@ pfm_inherit(struct task_struct *task, struct pt_regs *regs)
...
@@ -3833,7 +3833,7 @@ pfm_inherit(struct task_struct *task, struct pt_regs *regs)
/*
/*
* if there was a virtual mapping for the sampling buffer
* if there was a virtual mapping for the sampling buffer
* the mapping is NOT inherited across fork() (see VM_DONTCOPY),
* the mapping is NOT inherited across fork() (see VM_DONTCOPY),
* so we don't have to explicit
e
ly remove it here.
* so we don't have to explicitly remove it here.
*
*
*
*
* Part of the clearing of fields is also done in
* Part of the clearing of fields is also done in
...
...
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