Skip to content

Commit

Permalink
update sample
Browse files Browse the repository at this point in the history
  • Loading branch information
mabdinur committed Feb 26, 2025
1 parent 7545491 commit 44b3fcd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ddtrace/internal/datadog/profiling/dd_wrapper/src/sample.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,11 @@ Datadog::Sample::push_frame_impl(std::string_view name, std::string_view filenam
.mapping = null_mapping, // No support for mappings in Python
.function = {
.name = to_slice(name),
.name_id = { 0 },
.system_name = {}, // No support for system_name in Python
.system_name_id = { 0 },
.filename = to_slice(filename),
.filename_id = { 0 },
.start_line = 0, // We don't know the start_line for the function
},
.address = address,
Expand Down

0 comments on commit 44b3fcd

Please sign in to comment.