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

Remove unused defines from perf_error_detection

parent cd34dc74
Branches
No related tags found
No related merge requests found
#include "perf_error_detection.h" #include "perf_error_detection.h"
#include <linux/smp.h> #include <linux/smp.h>
#define PERF_SAMPLE_PERIOD_SIZE 100000
/* /*
* Our understanding of perf so far. Please correct as needed. * Our understanding of perf so far. Please correct as needed.
* *
...@@ -72,7 +70,6 @@ void overflow_handler( ...@@ -72,7 +70,6 @@ void overflow_handler(
printk(KERN_WARNING "PB TASK %llu RAN TOO LONG\n",pb_rq->plan[pb_rq->c_entry].task_id); printk(KERN_WARNING "PB TASK %llu RAN TOO LONG\n",pb_rq->plan[pb_rq->c_entry].task_id);
} }
struct perf_event* perf_event_create(struct perf_event_attr *hw_event_uptr, int cpu) struct perf_event* perf_event_create(struct perf_event_attr *hw_event_uptr, int cpu)
......
#ifndef __PERF_ERROR_DETECTION_H #ifndef __PERF_ERROR_DETECTION_H
#define __PERF_ERROR_DETECTION_H #define __PERF_ERROR_DETECTION_H
#include <linux/perf_event.h> #include <linux/perf_event.h>
//#include <linux/sched.h>
#include "sched.h" #include "sched.h"
//#include "../../include/linux/signal.h"
//#include <linux/ioctl.h>
//#include "../../include/linux/fs.h"
//#include <include/linux/smp.h>
#endif #endif
int init_perf_event(struct plan_entry, struct perf_event **pevent); int init_perf_event(struct plan_entry, struct perf_event **pevent);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment