瀏覽代碼

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 年之前
父節點
當前提交
4da44d6adb
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. 1
    1
      internal/driver/driver.go

+ 1
- 1
internal/driver/driver.go 查看文件

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