Home | History | Annotate | Download | only in gtrace
      1 include ../common_head.mk
      2 
      3 P4ROOT=/work/android
      4 QEMU=$(P4ROOT)/device/tools/qemu/arm-softmmu/qemu-system-arm
      5 QTOOLS=$(P4ROOT)/device/tools/qtools
      6 
      7 all: test.elf test.bin test.dis
      8 
      9 trace: test.elf test.bin
     10 	$(QEMU) -QEMU -kernel test.bin -trace foo
     11 	$(QTOOLS)/post_trace foo
     12 	$(QTOOLS)/read_trace foo test.elf > t1
     13 
     14 gtrace: trace
     15 	$(QTOOLS)/q2g -r $(P4ROOT)/device/out/linux-arm-release/symbols foo test.elf foo.gtrace
     16 	gtracepost64 foo.gtrace > t2
     17 
     18 include ../common_tail.mk
     19