diff options
| -rw-r--r-- | Makefile | 8 | ||||
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | internal/flamegraph/flamegraph.go | 2 |
3 files changed, 9 insertions, 3 deletions
@@ -35,5 +35,9 @@ world: clean generate all .PHONY: flames flames: - perl ~/git/FlameGraph/flamegraph.pl ior-by-count-flamegraph.collapsed --hash > ior-by-count-flamegraph.svg - perl ~/git/FlameGraph/flamegraph.pl ior-by-duration-flamegraph.collapsed --hash > ior-by-duration-flamegraph.svg + perl ~/git/FlameGraph/flamegraph.pl ior-by-count-flamegraph.collapsed \ + --title "I/O Syscall Count" --nametype Path --hash \ + > ior-by-count-flamegraph.svg + perl ~/git/FlameGraph/flamegraph.pl ior-by-duration-flamegraph.collapsed \ + --title "I/O Syscall Durations" --nametype Path --hash --countname Nanoseconds \ + > ior-by-duration-flamegraph.svg @@ -39,3 +39,5 @@ rm -Rf ~/rpmbuild make sudo cp -v ./libelf/libelf.a /usr/lib64/ ``` + + diff --git a/internal/flamegraph/flamegraph.go b/internal/flamegraph/flamegraph.go index 3a41a89..1bfd82e 100644 --- a/internal/flamegraph/flamegraph.go +++ b/internal/flamegraph/flamegraph.go @@ -15,7 +15,7 @@ type counter struct { duration uint64 } -// Rename to Flamegraph +// TODO: Profile for CPU usage type Flamegraph struct { // Collapsed flamegraph stats collector collapsed map[string]map[types.TraceId]counter |
