add progs for lec2
This commit is contained in:
@@ -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
|
||||
Executable
BIN
Binary file not shown.
@@ -0,0 +1,5 @@
|
||||
#include <stdio.h>
|
||||
void main(void)
|
||||
{
|
||||
printf("hello world\n");
|
||||
}
|
||||
Reference in New Issue
Block a user