Skip to content

Commit

Permalink
start cleaning things up
Browse files Browse the repository at this point in the history
  • Loading branch information
likewhatevs committed Sep 11, 2024
1 parent 6e253c3 commit bf4eaf4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
3 changes: 0 additions & 3 deletions scheds/rust/scx_layered/src/bpf/main.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ struct layer layers[MAX_LAYERS];
u32 fallback_cpu;
static u32 preempt_cursor;

volatile u32 ___sched_error_line;

#define dbg(fmt, args...) do { if (debug) bpf_printk(fmt, ##args); } while (0)
#define trace(fmt, args...) do { if (debug > 1) bpf_printk(fmt, ##args); } while (0)

Expand All @@ -42,7 +40,6 @@ volatile u32 ___sched_error_line;
#define __COMPAT_scx_bpf_error(fmt, args...) \
do { \
bpf_printk(fmt, ##args); \
___sched_error_line = __LINE__; \
} while (0)

struct user_exit_info uei;
Expand Down
4 changes: 0 additions & 4 deletions scheds/rust/scx_rusty/src/bpf/main.bpf.c
Original file line number Diff line number Diff line change
Expand Up @@ -78,13 +78,9 @@ const volatile u32 debug;
/* base slice duration */
static u64 slice_ns = SCX_SLICE_DFL;


volatile u32 ___sched_error_line;

#define __COMPAT_scx_bpf_error(fmt, args...) \
do { \
bpf_printk(fmt, ##args); \
___sched_error_line = __LINE__; \
} while (0)

struct user_exit_info uei;
Expand Down

0 comments on commit bf4eaf4

Please sign in to comment.