Skip to content

Commit

Permalink
Merge branch 'main' into vianney/inplace-trace-normalization
Browse files Browse the repository at this point in the history
  • Loading branch information
VianneyRuhlmann authored Jul 5, 2024
2 parents 4ecddd0 + 3142b2d commit 899ff91
Show file tree
Hide file tree
Showing 6 changed files with 1,185 additions and 746 deletions.
26 changes: 20 additions & 6 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

103 changes: 97 additions & 6 deletions LICENSE-3rdparty.yml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion crashtracker/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ crate-type = ["lib"]

[target.'cfg(unix)'.dependencies]
# Should be kept in sync with the libdatadog symbolizer crate (also using blasesym)
blazesym = {git = "https://github.com/libbpf/blazesym.git", rev = "v0.2.0-alpha.11"}
blazesym = { git = "https://github.com/libbpf/blazesym.git", rev = "v0.2.0-rc.0" }

[dependencies]
anyhow = "1.0"
Expand Down
6 changes: 3 additions & 3 deletions crashtracker/src/stacktrace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ mod unix {
Pid,
};

impl From<&UserMeta> for NormalizedAddressMeta {
fn from(value: &UserMeta) -> Self {
impl<'src> From<&UserMeta<'src>> for NormalizedAddressMeta {
fn from(value: &UserMeta<'src>) -> Self {
match value {
UserMeta::Apk(a) => Self::Apk(a.path.clone()),
UserMeta::Elf(e) => Self::Elf {
path: e.path.clone(),
build_id: e.build_id.clone(),
build_id: e.build_id.as_ref().map(|cow| cow.clone().into_owned()),
},
UserMeta::Unknown(_) => Self::Unknown,
_ => Self::Unexpected(format!("{value:?}")),
Expand Down
2 changes: 1 addition & 1 deletion symbolizer-ffi/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ crate-type = ["lib"]

[target.'cfg(not(target_os = "windows"))'.dependencies]
# Should be kept in sync with the libdatadog crashtracker crate (also using blasesym)
blazesym-c = { git = "https://github.com/libbpf/blazesym.git", rev = "v0.2.0-alpha.11" }
blazesym-c = { git = "https://github.com/libbpf/blazesym.git", rev = "v0.2.0-rc.0" }
Loading

0 comments on commit 899ff91

Please sign in to comment.