#include <linux/sched.h>
#include <asm/ptrace.h>
-volatile int x=7;
+volatile int x = 7;
struct proc_dir_entry *pentry = NULL;
for(i=0; i<2; i++) {
MARK(subsys_mark1, "%d", 1);
- x=i;
- barrier();
}
- MARK(subsys_mark2, "%d %s", 2, "blah2");
+ MARK(subsys_mark2, "%d %s %s", 2, "blah2", "blahx");
+ MARK(subsys_mark3, "%d %s %s", x, "blah3", "blah5");
MARK(subsys_mark3, "%d %s %s", x, "blah3", "blah5");
test(NULL);
test(NULL);
int init_module(void)
{
- unsigned int i;
-
pentry = create_proc_entry("testmark", 0444, NULL);
if (pentry)
pentry->proc_fops = &my_operations;