#ifndef _KERNEL_SCHED_HELPER_H
#define _KERNEL_SCHED_HELPER_H

#include <linux/sched.h>
#include <linux/printk.h>
#include <linux/string.h>

static void print_if_matches(const char *msg, struct task_struct* p){
    if (!strcmp(p->comm, "test_prog"))
        printk(msg);
}

#endif /* _KERNEL_SCHED_HELPER_H */
