add progs for lec2
This commit is contained in:
8
related_info/lec2/Makefile
Normal file
8
related_info/lec2/Makefile
Normal file
@@ -0,0 +1,8 @@
|
||||
all: hello.c
|
||||
echo "compile and watch the syscalls from hello"
|
||||
gcc -o hello hello.c
|
||||
strace -c ./hello
|
||||
echo "watch the interrupts in linux"
|
||||
more /proc/interrupts
|
||||
clean:
|
||||
rm ./hello
|
||||
Reference in New Issue
Block a user