From 8679e52b9632254c247db31020d09e877071366e Mon Sep 17 00:00:00 2001 From: Rudolf Marek Date: Fri, 2 Sep 2011 23:34:15 +0200 Subject: Add support utils for tracing 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 Reviewed-on: http://review.coreboot.org/179 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer --- util/genprof/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 util/genprof/Makefile (limited to 'util/genprof/Makefile') diff --git a/util/genprof/Makefile b/util/genprof/Makefile new file mode 100644 index 0000000000..2ec77c918a --- /dev/null +++ b/util/genprof/Makefile @@ -0,0 +1,12 @@ +CC=gcc +CFLAGS=-O2 -Wall + +all: genprof + +genprof: genprof.o + $(CC) $(CFLAGS) -o genprof $^ + +clean: + rm -f genprof *.o *~ + +distclean: clean -- cgit v1.2.3