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
818273ae
Commit
818273ae
authored
Oct 16, 2008
by
Robert Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oprofile: fixing whitespaces in arch/x86/oprofile/*
Signed-off-by:
Robert Richter
<
robert.richter@amd.com
>
parent
59512900
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
15 deletions
+14
-15
arch/x86/oprofile/backtrace.c
arch/x86/oprofile/backtrace.c
+1
-2
arch/x86/oprofile/op_counter.h
arch/x86/oprofile/op_counter.h
+9
-9
arch/x86/oprofile/op_model_amd.c
arch/x86/oprofile/op_model_amd.c
+2
-2
arch/x86/oprofile/op_x86_model.h
arch/x86/oprofile/op_x86_model.h
+2
-2
No files found.
arch/x86/oprofile/backtrace.c
View file @
818273ae
...
@@ -52,8 +52,7 @@ struct frame_head {
...
@@ -52,8 +52,7 @@ struct frame_head {
unsigned
long
ret
;
unsigned
long
ret
;
}
__attribute__
((
packed
));
}
__attribute__
((
packed
));
static
struct
frame_head
*
static
struct
frame_head
*
dump_user_backtrace
(
struct
frame_head
*
head
)
dump_user_backtrace
(
struct
frame_head
*
head
)
{
{
struct
frame_head
bufhead
[
2
];
struct
frame_head
bufhead
[
2
];
...
...
arch/x86/oprofile/op_counter.h
View file @
818273ae
...
@@ -6,22 +6,22 @@
...
@@ -6,22 +6,22 @@
*
*
* @author John Levon
* @author John Levon
*/
*/
#ifndef OP_COUNTER_H
#ifndef OP_COUNTER_H
#define OP_COUNTER_H
#define OP_COUNTER_H
#define OP_MAX_COUNTER 8
#define OP_MAX_COUNTER 8
/* Per-perfctr configuration as set via
/* Per-perfctr configuration as set via
* oprofilefs.
* oprofilefs.
*/
*/
struct
op_counter_config
{
struct
op_counter_config
{
unsigned
long
count
;
unsigned
long
count
;
unsigned
long
enabled
;
unsigned
long
enabled
;
unsigned
long
event
;
unsigned
long
event
;
unsigned
long
kernel
;
unsigned
long
kernel
;
unsigned
long
user
;
unsigned
long
user
;
unsigned
long
unit_mask
;
unsigned
long
unit_mask
;
};
};
extern
struct
op_counter_config
counter_config
[];
extern
struct
op_counter_config
counter_config
[];
...
...
arch/x86/oprofile/op_model_amd.c
View file @
818273ae
...
@@ -468,9 +468,9 @@ static void clear_ibs_nmi(void)
...
@@ -468,9 +468,9 @@ static void clear_ibs_nmi(void)
on_each_cpu
(
apic_clear_ibs_nmi_per_cpu
,
NULL
,
1
);
on_each_cpu
(
apic_clear_ibs_nmi_per_cpu
,
NULL
,
1
);
}
}
static
int
(
*
create_arch_files
)(
struct
super_block
*
sb
,
struct
dentry
*
root
);
static
int
(
*
create_arch_files
)(
struct
super_block
*
sb
,
struct
dentry
*
root
);
static
int
setup_ibs_files
(
struct
super_block
*
sb
,
struct
dentry
*
root
)
static
int
setup_ibs_files
(
struct
super_block
*
sb
,
struct
dentry
*
root
)
{
{
char
buf
[
12
];
char
buf
[
12
];
struct
dentry
*
dir
;
struct
dentry
*
dir
;
...
...
arch/x86/oprofile/op_x86_model.h
View file @
818273ae
...
@@ -22,8 +22,8 @@ struct op_msr {
...
@@ -22,8 +22,8 @@ struct op_msr {
};
};
struct
op_msrs
{
struct
op_msrs
{
struct
op_msr
*
counters
;
struct
op_msr
*
counters
;
struct
op_msr
*
controls
;
struct
op_msr
*
controls
;
};
};
struct
pt_regs
;
struct
pt_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