8679e52b96
Following patch adds a userspace util genprof which is able to convert the console printed traces to gmon.out file used by gprof & friends. The log2dress will replace the adresses in logfile with a line numbers. Change-Id: I9f716f3ff2522a24fbc844a1dd5e32ef49b540c5 Signed-off-by: Rudolf Marek <r.marek@assembler.cz> Reviewed-on: http://review.coreboot.org/179 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
12 lines
138 B
Makefile
12 lines
138 B
Makefile
CC=gcc
|
|
CFLAGS=-O2 -Wall
|
|
|
|
all: genprof
|
|
|
|
genprof: genprof.o
|
|
$(CC) $(CFLAGS) -o genprof $^
|
|
|
|
clean:
|
|
rm -f genprof *.o *~
|
|
|
|
distclean: clean
|