Skip to content

Commit

Permalink
more changes
Browse files Browse the repository at this point in the history
  • Loading branch information
javierhonduco committed Jul 21, 2024
1 parent 081e3d4 commit 09dd226
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/profile.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ pub fn to_proto(
let mut location_ids = Vec::new();

for frame in kstack {
/// TODO: Add real values, read kernel build ID, etc.
let mapping_id: u64 = pprof.add_mapping(
0x1000000, // TODO
0x1000000,
0xFFFFFFFF,
0xFFFFFFFF,
0x0,
"[kernel]",
"fake_kernel_build_id", // TODO
"[kernel]", // Special value.
"fake_kernel_build_id",
);
println!("{}", frame.name);

let (line, _) = pprof.add_line(&frame.name);
let location =
Expand Down

0 comments on commit 09dd226

Please sign in to comment.