Skip to content

Commit 8d26d4b

Browse files
hooliohgleocadiedanielsn
authored
Update blazesym to v0.2.0-rc.3. (#1046)
* Update blazesym to v0.2.0-rc.3. * Fix 3rd party license * Update blazesym header file --------- Co-authored-by: Gregory LEOCADIE <[email protected]> Co-authored-by: Daniel Schwartz-Narbonne <[email protected]>
1 parent 35cf8db commit 8d26d4b

File tree

7 files changed

+455
-246
lines changed

7 files changed

+455
-246
lines changed

Cargo.lock

Lines changed: 11 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

LICENSE-3rdparty.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4555,7 +4555,7 @@ third_party_libraries:
45554555
- license: MPL-2.0+
45564556
text: NOT FOUND
45574557
- package_name: blazesym
4558-
package_version: 0.2.0-rc.2
4558+
package_version: 0.2.0-rc.3
45594559
repository: https://github.com/libbpf/blazesym
45604560
license: BSD-3-Clause
45614561
licenses:
@@ -4591,7 +4591,7 @@ third_party_libraries:
45914591
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45924592
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45934593
- package_name: blazesym-c
4594-
package_version: 0.1.0-rc.2
4594+
package_version: 0.1.1
45954595
repository: https://github.com/libbpf/blazesym
45964596
license: BSD-3-Clause
45974597
licenses:
@@ -15374,9 +15374,9 @@ third_party_libraries:
1537415374
limitations under the License.
1537515375

1537615376
- package_name: itertools
15377-
package_version: 0.10.5
15377+
package_version: 0.11.0
1537815378
repository: https://github.com/rust-itertools/itertools
15379-
license: MIT/Apache-2.0
15379+
license: MIT OR Apache-2.0
1538015380
licenses:
1538115381
- license: MIT
1538215382
text: |

datadog-crashtracker/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ collector_windows = []
2727

2828
[target.'cfg(unix)'.dependencies]
2929
# Should be kept in sync with the libdatadog symbolizer crate (also using blasesym)
30-
blazesym = "=0.2.0-rc.2"
30+
blazesym = "=0.2.0-rc.3"
3131

3232
[dependencies]
3333
anyhow = "1.0"

datadog-crashtracker/src/crash_info/error_data.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ impl ErrorData {
4545

4646
pub fn resolve_names(&mut self, pid: u32) -> anyhow::Result<()> {
4747
let mut errors = 0;
48-
let mut process = blazesym::symbolize::Process::new(pid.into());
48+
let mut process = blazesym::symbolize::source::Process::new(pid.into());
4949
// https://github.com/libbpf/blazesym/issues/518
5050
process.map_files = false;
51-
let src = blazesym::symbolize::Source::Process(process);
51+
let src = blazesym::symbolize::source::Source::Process(process);
5252
let symbolizer = blazesym::symbolize::Symbolizer::new();
5353
self.stack
5454
.resolve_names(&src, &symbolizer)

datadog-crashtracker/src/crash_info/stacktrace.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
use blazesym::{
66
helper::ElfResolver,
77
normalize::Normalizer,
8-
symbolize::{Input, Source, Symbolized, Symbolizer, TranslateFileOffset},
8+
symbolize::{source::Source, Input, Symbolized, Symbolizer, TranslateFileOffset},
99
Pid,
1010
};
1111
use schemars::JsonSchema;

examples/ffi/symbolizer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ void symbolize_and_print_abs(blaze_symbolizer* symbolizer, uintptr_t addr) {
2424
.pid = static_cast<uint32_t>(getpid()),
2525
.debug_syms = false,
2626
.perf_map = false,
27-
.map_files = false,
27+
.no_map_files = true,
2828
.reserved = {},
2929
};
3030
const blaze_syms* syms = blaze_symbolize_process_abs_addrs(

0 commit comments

Comments
 (0)