Commit Graph

9 Commits

Author SHA1 Message Date
716b913347 libsysprof: check for enough symbols to dereference 2019-05-29 15:13:01 -07:00
7f92889076 libsysprof: be NULL safe 2019-05-29 15:13:01 -07:00
649dcf3aac libsysprof: add trailing empty kernel node
This can be used so that we always know a symbol will be after the returned
symbol (so we can look for peer address).
2019-05-29 15:13:01 -07:00
874fb01c25 libsysprof: use embedded kallsyms when possible
This uses the kallysms that has been embedded in the capture file when
that is possible (such as when proc-source appends it).
2019-05-29 15:13:01 -07:00
e3cfdddf46 libsysprof: handle failure case better 2019-05-29 15:13:00 -07:00
70ace7f160 libsysprof: fix kernel symbols init 2019-05-29 15:13:00 -07:00
e282aa78c9 libsysprof: use helpers for proc access 2019-05-29 15:13:00 -07:00
0bb1eadf91 libsysprof: get kallsyms from helper 2019-05-29 15:13:00 -07:00
53c718b708 build: rename all symbols to use sysprof_ as prefix
As we gain in usage, we need to be more careful about using a prefix
that will not collide with other symbols. So version 3 of our ABI will
change to using Sysprof/SYSPROF/sysprof as the various prefixes.

The soname/api version bump will happen later on this branch so that
things are easier to test up until then.
2019-05-29 15:12:59 -07:00