projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9ca0791
)
x86, pebs: correct qualifier passed to ds_write_config() from ds_request_pebs()
author
Markus Metzger
<
[email protected]
>
Thu, 5 Mar 2009 07:57:21 +0000
(08:57 +0100)
committer
Ingo Molnar
<
[email protected]
>
Fri, 6 Mar 2009 15:13:15 +0000
(16:13 +0100)
ds_write_config() can write the BTS as well as the PEBS part of
the DS config. ds_request_pebs() passes the wrong qualifier, which
results in the wrong configuration to be written.
Reported-by: Stephane Eranian <
[email protected]
>
Signed-off-by: Markus Metzger <
[email protected]
>
LKML-Reference: <
20090305085721
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
arch/x86/kernel/ds.c
patch
|
blob
|
history
diff --git
a/arch/x86/kernel/ds.c
b/arch/x86/kernel/ds.c
index de7cdbda1c364395df1ee06ec9bc0c2c6da98cbe..87b67e3a765ac212c2c954de3566ec487fdac8da 100644
(file)
--- a/
arch/x86/kernel/ds.c
+++ b/
arch/x86/kernel/ds.c
@@
-729,7
+729,7
@@
struct pebs_tracer *ds_request_pebs(struct task_struct *task,
spin_unlock_irqrestore(&ds_lock, irq);
- ds_write_config(tracer->ds.context, &tracer->trace.ds, ds_
bt
s);
+ ds_write_config(tracer->ds.context, &tracer->trace.ds, ds_
peb
s);
ds_resume_pebs(tracer);
return tracer;