Skip to content
Snippets Groups Projects
Commit 20c76ea2 authored by FKHals's avatar FKHals
Browse files

Fix kernel counter creation error detection

parent 8fa3475d
No related branches found
No related tags found
No related merge requests found
......@@ -38,7 +38,7 @@ int init_perf_event(
NULL);
local_irq_restore(irq_flags);
if (IS_ERR(pevent)) {
if (IS_ERR(*pevent)) {
printk(KERN_WARNING "PB ERROR INITIALISING PERF EVENT\n");
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment