Sfoglia il codice sorgente

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 9 anni fa
parent
commit
4da44d6adb
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1
    1
      internal/driver/driver.go

+ 1
- 1
internal/driver/driver.go Vedi File

@@ -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":