hyperlight-dev / hyperlight-dev/hyperlight

Allow configuration of guest trace storage

Abierto
#1,008 1 comentario 0 reacciones 1 asignado Reclamado por @dblnz Ver en GitHub
good first issue help-wanted lifecycle/confirmed
Lenguaje dominante
Rust
Estrellas
4.7k
Forks
208
Merge medio
1 d 7 h
PR fusionados (30 d)
47

Descripción

## 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.

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.