Skip to content

Commit ffb919e

Browse files
committed
samples count
1 parent b7e2acf commit ffb919e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/encode/pprof.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,11 +91,11 @@ pub fn encode(reports: Vec<Report>) -> Vec<EncodedReport> {
9191
},
9292
};
9393
{
94-
let cpu = b.add_string(&"cpu".to_string());
94+
let count = b.add_string(&"count".to_string());
9595
let samples = b.add_string(&"samples".to_string());
9696
b.profile.sample_type.push(ValueType {
9797
r#type: samples,
98-
unit: cpu,
98+
unit: count,
9999
});
100100
}
101101
for report in &reports {

0 commit comments

Comments
 (0)