hyperlight-dev / hyperlight-dev/hyperlight

Allow configuration of guest trace storage

Đang mở
#1,008 1 bình luận 0 reaction 1 người được giao Được @dblnz nhận Xem trên GitHub
good first issue help-wanted lifecycle/confirmed
Ngôn ngữ chính
Rust
Star
4.7k
Fork
208
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
47

Mô tả

## Description
Currently, we have a [fixed capacity](https://github.com/hyperlight-dev/hyperlight/blob/main/src/hyperlight_guest_tracing/src/state.rs#L52) for the `Vec` that stores the guest tracing events.
We want to allow the guest to configure the maximum space allowed to be allocated for the traces.

## Rationale
`Hyperlight` does not know the guest's memory use constraints, hence allowing a guest to configure its preference at runtime, gives flexibility to the users.

## How
One option would be to use a weak symbol in the guest, for which `hyperlight` provides a `default` implementation.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.