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
8d15df84
Commit
8d15df84
authored
Dec 24, 2008
by
Robert Richter
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
oprofile: remove unused components in struct oprofile_cpu_buffer
Signed-off-by:
Robert Richter
<
robert.richter@amd.com
>
parent
dbe6e283
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
drivers/oprofile/cpu_buffer.c
drivers/oprofile/cpu_buffer.c
+0
-2
drivers/oprofile/cpu_buffer.h
drivers/oprofile/cpu_buffer.h
+0
-2
No files found.
drivers/oprofile/cpu_buffer.c
View file @
8d15df84
...
...
@@ -97,8 +97,6 @@ int alloc_cpu_buffers(void)
b
->
last_is_kernel
=
-
1
;
b
->
tracing
=
0
;
b
->
buffer_size
=
buffer_size
;
b
->
tail_pos
=
0
;
b
->
head_pos
=
0
;
b
->
sample_received
=
0
;
b
->
sample_lost_overflow
=
0
;
b
->
backtrace_aborted
=
0
;
...
...
drivers/oprofile/cpu_buffer.h
View file @
8d15df84
...
...
@@ -40,8 +40,6 @@ struct op_entry {
};
struct
oprofile_cpu_buffer
{
volatile
unsigned
long
head_pos
;
volatile
unsigned
long
tail_pos
;
unsigned
long
buffer_size
;
struct
task_struct
*
last_task
;
int
last_is_kernel
;
...
...
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