Skip to content

Commit

Permalink
callgraph: Rename calltree to callgraph
Browse files Browse the repository at this point in the history
Signed-off-by: Wu Zhangjin <[email protected]>
  • Loading branch information
lzufalcon committed Mar 20, 2015
1 parent 78717d5 commit e365410
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
7 changes: 3 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ clean:
@make clean -C rootfs
@rm -f images/Image images/kernel.map tmp_make core boot/bootsect boot/setup
@rm -f init/*.o images/kernel.sym boot/*.o typescript* info bochsout.txt
@make clean -C calltree
@make clean -C callgraph
@for i in mm fs kernel lib boot; do make clean -C $$i; done
info:
@make clean
Expand Down Expand Up @@ -207,9 +207,8 @@ endif
bochs-clean:
@make clean -C tools/bochs/bochs-2.3.7

cg: callgraph
callgraph:
@tools/calltree.sh $(f) $(d)
cg:
@tools/callgraph $(f) $(d)

help:
@echo "<<<<This is the basic help info of linux-0.11>>>"
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions tools/calltree.sh → tools/callgraph
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash
#
# calltree.sh -- Generate a calltree of a specified function in specified file/directory
# callgraph -- Generate a callgraph of a specified function in specified file/directory
#
# -- Based on cflow and tree2dotx
#
Expand All @@ -17,7 +17,7 @@ fi
tree2dotx=${TOP_DIR}/tree2dotx

# Output directory
OUT_DIR=calltree
OUT_DIR=callgraph
PIC_TYPE=svg
if [ "x$OS" == "xDarwin" ]; then
BROWSER=/Applications/Safari.app/Contents/MacOS/Safari
Expand Down

0 comments on commit e365410

Please sign in to comment.