Coder Social home page Coder Social logo

Bug in Aya log about aya HOT 8 CLOSED

qjerome avatar qjerome commented on June 8, 2024
Bug in Aya log

from aya.

Comments (8)

tamird avatar tamird commented on June 8, 2024

Can you reproduce this with a test in this repo? I understand if bpf-linker needs to be built from the feature/fix-di branch.

from aya.

qjerome avatar qjerome commented on June 8, 2024

It is mandatory to have a bpf-linker feature/fix-di build and to be built with debug-info = 2. I am not familiar with the Aya integration tests, and I don't know whether those conditions can be met in the current implementation.
If it is possible, please let me know how to do it.

from aya.

tamird avatar tamird commented on June 8, 2024

debug-info = 2 is easy to do - just put it in the appropriate manifest or .cargo/config.toml. Having a custom bpf-linker is not easy to do, but just leave that part out. The tests use whatever bpf-linker is installed on the machine, if you have a repro that requires me to install bpf-linker from the DI branch, that is good enough.

from aya.

qjerome avatar qjerome commented on June 8, 2024

Have you managed to reproduce the issue ?
I actually shipped a compiled version of bpf-linker (nothing else than latest build of feature/fix-di build commit=60ce107a15333946ba0116297af30c9fd27ae6f4 ) with the project to be in the exact same conditions I was when the bug occurred.

from aya.

tamird avatar tamird commented on June 8, 2024

Sorry, did you write a test that I missed?

from aya.

qjerome avatar qjerome commented on June 8, 2024

I guess I miss-understood your last post. I thought you meant the repro project as it is was fine !
Should I write the test in: https://github.com/aya-rs/aya/tree/main/test/integration-ebpf/src ?

from aya.

tamird avatar tamird commented on June 8, 2024

Yes. You can adapt https://github.com/aya-rs/aya/blob/main/test/integration-ebpf/src/log.rs if you like.

from aya.

qjerome avatar qjerome commented on June 8, 2024

Test implemented in #810

from aya.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.