Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Struct accessors and other fun things #31

Merged
merged 28 commits into from
Jan 20, 2022
Merged

Struct accessors and other fun things #31

merged 28 commits into from
Jan 20, 2022

Conversation

jpsamaroo
Copy link
Owner

@jpsamaroo jpsamaroo commented Jul 28, 2021

This adds all sorts of great stuff, most of which was necessary to port Brendan Gregg's offwaketime script (shipped in bcc) to Julia.

TODO:

  • Add offwaketime to examples/
  • Test struct accessors
  • Test new Hostmap ctor
  • Test RT.get_current_task() and RT.probe_read_kernel
  • Test RT.memcpy!
  • Test probe object merging
  • FixSkip builds.sr.ht VMLinuxBindings build failure
  • Implement object groups for automatic map merging

@jpsamaroo
Copy link
Owner Author

Waiting on JuliaRegistries/General#41725 for VMLinuxBindings.jl

@codecov-commenter
Copy link

codecov-commenter commented Aug 2, 2021

Codecov Report

Merging #31 (9e3c7a0) into master (0043652) will not change coverage.
The diff coverage is 0.00%.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #31    +/-   ##
=======================================
  Coverage    0.00%   0.00%            
=======================================
  Files          18      20     +2     
  Lines         766    1009   +243     
=======================================
- Misses        766    1009   +243     
Impacted Files Coverage Δ
src/BPFnative.jl 0.00% <ø> (ø)
src/common.jl 0.00% <0.00%> (ø)
src/compiler.jl 0.00% <0.00%> (ø)
src/extra.jl 0.00% <0.00%> (ø)
src/host/kallsyms.jl 0.00% <0.00%> (ø)
src/host/maps.jl 0.00% <0.00%> (ø)
src/libbpf.jl 0.00% <0.00%> (ø)
src/probes.jl 0.00% <0.00%> (ø)
src/runtime/buffers.jl 0.00% <0.00%> (ø)
src/runtime/helpers.jl 0.00% <0.00%> (ø)
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0043652...9e3c7a0. Read the comment docs.

@jpsamaroo jpsamaroo marked this pull request as ready for review August 3, 2021 15:07
@jpsamaroo jpsamaroo force-pushed the jps/struct-access branch 3 times, most recently from bb04e24 to 015a954 Compare December 27, 2021 22:52
@jpsamaroo jpsamaroo merged commit f39eb63 into master Jan 20, 2022
@jpsamaroo jpsamaroo deleted the jps/struct-access branch January 20, 2022 14:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants