diff options
| -rw-r--r-- | Makefile | 30 | ||||
| -rw-r--r-- | internal/flags/flags.go | 2 |
2 files changed, 1 insertions, 31 deletions
@@ -44,36 +44,6 @@ mrproper: clean .PHONY: world world: clean generate test all -.PHONY: flames -flames: - perl ~/git/FlameGraph/flamegraph.pl ior-by-path-count-flamegraph.collapsed \ - --title "I/O Syscall Count" --nametype Path --hash --inverted \ - > ior-by-path-count-flamegraph.svg; \ - perl ~/git/FlameGraph/flamegraph.pl ior-by-path-duration-flamegraph.collapsed \ - --title "I/O Syscall Durations" --nametype Path --hash --countname Nanoseconds --inverted \ - > ior-by-path-duration-flamegraph.svg; \ - perl ~/git/FlameGraph/flamegraph.pl ior-by-syscall-count-flamegraph.collapsed \ - --title "I/O Syscall Count" --nametype Path --hash \ - > ior-by-syscall-count-flamegraph.svg; \ - perl ~/git/FlameGraph/flamegraph.pl ior-by-syscall-duration-flamegraph.collapsed \ - --title "I/O Syscall Durations" --nametype Path --hash --countname Nanoseconds \ - > ior-by-syscall-duration-flamegraph.svg; \ - -.PHONY: inferno -inferno: - inferno-flamegraph < ior-by-path-count-flamegraph.collapsed \ - --title "I/O Syscall Count" --nametype Path --hash --inverted \ - > ior-by-path-count-flamegraph.svg; \ - inferno-flamegraph < ior-by-path-duration-flamegraph.collapsed \ - --title "I/O Syscall Durations" --nametype Path --hash --countname Nanoseconds --inverted \ - > ior-by-path-duration-flamegraph.svg; \ - inferno-flamegraph < ior-by-syscall-count-flamegraph.collapsed \ - --title "I/O Syscall Count" --nametype Path --hash \ - > ior-by-syscall-count-flamegraph.svg; \ - inferno-flamegraph < ior-by-syscall-duration-flamegraph.collapsed \ - --title "I/O Syscall Durations" --nametype Path --hash --countname Nanoseconds \ - > ior-by-syscall-duration-flamegraph.svg; \ - .PHONY: prof prof: $(GO) tool pprof -pdf ./ior ior.cpuprofile > cpuprofile.pdf && evince cpuprofile.pdf & diff --git a/internal/flags/flags.go b/internal/flags/flags.go index 36911d8..bcdb7b8 100644 --- a/internal/flags/flags.go +++ b/internal/flags/flags.go @@ -91,7 +91,7 @@ func parse() { // https://github.com/brendangregg/FlameGraph flag.StringVar(&singleton.FlamegraphTool, "flamegraphTool", - os.Getenv("HOME")+"/git/FlameGraph/flamegraph.pl", "Path to the flamegraph tool") + os.Getenv("HOME")+"/git/FlameGraph/flamegraph.pl", "Path to the flamegraph tool (e.g. flamegraph.pl or inferno-flamegraph)") flag.Parse() singleton.TracepointsToAttach = extractTracepointFlags(*tracepointsToAttach) |
