Skip to content

Conversation

@tahsinrahman
Copy link

No description provided.

elf/module.go Outdated
Name string
insns *C.struct_bpf_insn
fd int
efd int
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is efd used anywhere?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no, removed it.
Also added closeRawTracepointPrograms method

../../iovisor/gobpf/elf/module.go: In function
‘bpf_attach_raw_tracepoint’:
../../iovisor/gobpf/elf/module.go:97:29: warning: implicit declaration
of function ‘ptr_to_u64’; did you mean ‘strtoull’?
[-Wimplicit-function-declaration]
  attr.raw_tracepoint.name = ptr_to_u64(tp_name);
                             ^~~~~~~~~~
                             strtoull
@tahsinrahman
Copy link
Author

hi @alban, can I get a code review of this!

@el8
Copy link

el8 commented May 26, 2021

Any reasons for not supporting raw tracepoints with elf and merging this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants