We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b7e2acf commit ffb919eCopy full SHA for ffb919e
src/encode/pprof.rs
@@ -91,11 +91,11 @@ pub fn encode(reports: Vec<Report>) -> Vec<EncodedReport> {
91
},
92
};
93
{
94
- let cpu = b.add_string(&"cpu".to_string());
+ let count = b.add_string(&"count".to_string());
95
let samples = b.add_string(&"samples".to_string());
96
b.profile.sample_type.push(ValueType {
97
r#type: samples,
98
- unit: cpu,
+ unit: count,
99
});
100
}
101
for report in &reports {
0 commit comments