diff options
Diffstat (limited to 'benchmarks/cmd/profile_example.go')
| -rw-r--r-- | benchmarks/cmd/profile_example.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/benchmarks/cmd/profile_example.go b/benchmarks/cmd/profile_example.go index f996565..01d4a66 100644 --- a/benchmarks/cmd/profile_example.go +++ b/benchmarks/cmd/profile_example.go @@ -219,9 +219,9 @@ func analyzeProfiles() { fmt.Printf("\nAnalyzing %s CPU profile:\n", tool) - // Run profile.sh - cmd := exec.Command("../profiling/profile.sh", - "-top", "5", + // Run dtail-tools profile analyze + cmd := exec.Command("../dtail-tools", + "profile", "-mode", "analyze", latestProfile) output, err := cmd.CombinedOutput() |
