Skip to content
Snippets Groups Projects
Commit 3e9404aa authored by Tobias Bouschen's avatar Tobias Bouschen
Browse files

Remove commented out import and fix comments

parent 4c9ae050
No related branches found
No related tags found
No related merge requests found
...@@ -65,8 +65,7 @@ void init_pb_rq(struct pb_rq *pb_rq) ...@@ -65,8 +65,7 @@ void init_pb_rq(struct pb_rq *pb_rq)
EXPORT_SYMBOL(init_pb_rq); EXPORT_SYMBOL(init_pb_rq);
// task enters the runnable state // task enters the runnable state
static void static void enqueue_task_pb(struct rq *rq, struct task_struct *p, int flags)
enqueue_task_pb(struct rq *rq, struct task_struct *p, int flags)
{ {
// NOP // NOP
} }
......
#include "perf_error_detection.h" #include "perf_error_detection.h"
//#include "sched.h"
/* /*
* Our understanding of perf so far. Please correct as needed. * Our understanding of perf so far. Please correct as needed.
...@@ -31,7 +30,7 @@ int init_perf_event(struct plan_entry *plan_entry, struct perf_event **pevent){ ...@@ -31,7 +30,7 @@ int init_perf_event(struct plan_entry *plan_entry, struct perf_event **pevent){
/* Not needed on 3.2? */ /* Not needed on 3.2? */
pe.wakeup_events = 1; pe.wakeup_events = 1;
// cpu = -1 -> cpu indepented (assumed to be regulated by plan) // cpu = -1 -> cpu independent (assumed to be regulated by plan)
*pevent = perf_event_create(&pe, smp_processor_id()); *pevent = perf_event_create(&pe, smp_processor_id());
if (IS_ERR(pevent)) { if (IS_ERR(pevent)) {
...@@ -82,5 +81,5 @@ struct perf_event* perf_event_create(struct perf_event_attr *hw_event_uptr, int ...@@ -82,5 +81,5 @@ struct perf_event* perf_event_create(struct perf_event_attr *hw_event_uptr, int
cpu, cpu,
NULL, /* per CPU */ NULL, /* per CPU */
&overflow_handler, &overflow_handler,
NULL /* What's meant by context? oprofile uses NULL */); NULL /* What's meant by context? 'oprofile' uses NULL */);
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment