Commit Graph

3 Commits

Author SHA1 Message Date
e9516fb202 stackstash: ignore dangling-pointer warning in do_callback
As previously asserted, this just squashes the annoying warnings coming
from GCC.
2022-04-01 17:08:42 -07:00
8ed6af618b stackstash: add assertions before silencing warnings
GCC warns about dangling pointers here, which is completely fine given
how this code works.
2022-04-01 17:04:27 -07:00
8b88bfe693 libsysprof: add versioning macros
This also moves stackstash.[ch] into a location that can be
embedded by both the libsysprof and libsysprof-ui code. We
pass native pointers to the structure as a gpointer in the
public API to allow for this. The performance of that code is
incredibly sensitive to the interactivity of Sysprof.
2019-05-29 15:12:59 -07:00