Skip to content

Commit c756dc2

Browse files
authored
fix(pprof) add string 0 "" (#78)
1 parent b7cd1f4 commit c756dc2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/encode/pprof.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ pub fn encode(reports: &Vec<Report>, sample_rate: u32, start_time_nanos: u64, du
102102
default_sample_type: 0,
103103
},
104104
};
105+
b.add_string(&"".to_string());
105106
{
106107
let count = b.add_string(&"count".to_string());
107108
let samples = b.add_string(&"samples".to_string());

0 commit comments

Comments
 (0)