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.
This commit is contained in:
Christian Hergert
2019-05-08 10:55:29 -07:00
parent 821fc286b8
commit 8b88bfe693
56 changed files with 305 additions and 177 deletions

View File

@ -1,6 +1,6 @@
/* demangle.h
*
* Copyright 2016 Christian Hergert <chergert@redhat.com>
* Copyright 2016-2019 Christian Hergert <chergert@redhat.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@ -16,8 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef DEMANGLE_H
#define DEMANGLE_H
#pragma once
#include <glib.h>
@ -26,5 +25,3 @@ G_BEGIN_DECLS
gchar *sysprof_cplus_demangle (const gchar *name);
G_END_DECLS
#endif /* DEMANGLE_H */