Skip to content

Commit df04a91

Browse files
committed
Update blazesym to v0.2.0-rc.3.
1 parent a4c43a4 commit df04a91

File tree

5 files changed

+20
-29
lines changed

5 files changed

+20
-29
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: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -40,19 +40,7 @@ third_party_libraries:
4040
license: 0BSD OR MIT OR Apache-2.0
4141
licenses:
4242
- license: 0BSD
43-
text: |
44-
Copyright (C) Jonas Schievink <[email protected]>
45-
46-
Permission to use, copy, modify, and/or distribute this software for
47-
any purpose with or without fee is hereby granted.
48-
49-
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
50-
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
51-
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
52-
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
53-
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN
54-
AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT
55-
OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
43+
text: NOT FOUND
5644
- license: MIT
5745
text: |
5846
Permission is hereby granted, free of charge, to any
@@ -4555,7 +4543,7 @@ third_party_libraries:
45554543
- license: MPL-2.0+
45564544
text: NOT FOUND
45574545
- package_name: blazesym
4558-
package_version: 0.2.0-rc.2
4546+
package_version: 0.2.0-rc.3
45594547
repository: https://github.com/libbpf/blazesym
45604548
license: BSD-3-Clause
45614549
licenses:
@@ -4591,7 +4579,7 @@ third_party_libraries:
45914579
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
45924580
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
45934581
- package_name: blazesym-c
4594-
package_version: 0.1.0-rc.2
4582+
package_version: 0.1.1
45954583
repository: https://github.com/libbpf/blazesym
45964584
license: BSD-3-Clause
45974585
licenses:
@@ -15402,9 +15390,9 @@ third_party_libraries:
1540215390
limitations under the License.
1540315391

1540415392
- package_name: itertools
15405-
package_version: 0.10.5
15393+
package_version: 0.11.0
1540615394
repository: https://github.com/rust-itertools/itertools
15407-
license: MIT/Apache-2.0
15395+
license: MIT OR Apache-2.0
1540815396
licenses:
1540915397
- license: MIT
1541015398
text: |

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"

crashtracker/src/crash_info/error_data.rs

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

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

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;

0 commit comments

Comments
 (0)