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
216dcaf2
Commit
216dcaf2
authored
Sep 13, 2015
by
Ingo Molnar
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'perf/urgent' into perf/core, to pick up fixes before applying new changes
Signed-off-by:
Ingo Molnar
<
mingo@kernel.org
>
parents
d2bb1d42
ebfb4988
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
arch/x86/kernel/cpu/perf_event_intel.c
arch/x86/kernel/cpu/perf_event_intel.c
+4
-1
arch/x86/kernel/cpu/perf_event_intel_bts.c
arch/x86/kernel/cpu/perf_event_intel_bts.c
+1
-0
No files found.
arch/x86/kernel/cpu/perf_event_intel.c
View file @
216dcaf2
...
@@ -2316,9 +2316,12 @@ static struct event_constraint *
...
@@ -2316,9 +2316,12 @@ static struct event_constraint *
intel_get_event_constraints
(
struct
cpu_hw_events
*
cpuc
,
int
idx
,
intel_get_event_constraints
(
struct
cpu_hw_events
*
cpuc
,
int
idx
,
struct
perf_event
*
event
)
struct
perf_event
*
event
)
{
{
struct
event_constraint
*
c1
=
cpuc
->
event_constraint
[
idx
]
;
struct
event_constraint
*
c1
=
NULL
;
struct
event_constraint
*
c2
;
struct
event_constraint
*
c2
;
if
(
idx
>=
0
)
/* fake does < 0 */
c1
=
cpuc
->
event_constraint
[
idx
];
/*
/*
* first time only
* first time only
* - static constraint: no change across incremental scheduling calls
* - static constraint: no change across incremental scheduling calls
...
...
arch/x86/kernel/cpu/perf_event_intel_bts.c
View file @
216dcaf2
...
@@ -222,6 +222,7 @@ static void __bts_event_start(struct perf_event *event)
...
@@ -222,6 +222,7 @@ static void __bts_event_start(struct perf_event *event)
if
(
!
buf
||
bts_buffer_is_full
(
buf
,
bts
))
if
(
!
buf
||
bts_buffer_is_full
(
buf
,
bts
))
return
;
return
;
event
->
hw
.
itrace_started
=
1
;
event
->
hw
.
state
=
0
;
event
->
hw
.
state
=
0
;
if
(
!
buf
->
snapshot
)
if
(
!
buf
->
snapshot
)
...
...
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