Parcourir la source

Generate kcachegrind reports under line granularity

Callgrind reports are generated with line granularity since kcachegrind
can take advantage of the information. However, kcachegrind reports were
not being generated with that granularity, creating an unnecessary difference.
Raul Silvera il y a 9 ans
Parent
révision
4da44d6adb
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      internal/driver/driver.go

+ 1
- 1
internal/driver/driver.go Voir le fichier

@@ -135,7 +135,7 @@ func applyCommandOverrides(cmd []string, v variables) variables {
135 135
 		v.set("addressnoinlines", "t")
136 136
 	case "peek":
137 137
 		trim, focus, hide = false, false, false
138
-	case "callgrind", "list":
138
+	case "kcachegrind", "callgrind", "list":
139 139
 		v.set("nodecount", "0")
140 140
 		v.set("lines", "t")
141 141
 	case "text", "top", "topproto":