mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2026-02-09 22:50:54 +00:00
libsysprof-analyze: add sysprof_symbol_hash() for hash tables
This commit is contained in:
@ -170,3 +170,9 @@ sysprof_symbol_equal (const SysprofSymbol *a,
|
|||||||
{
|
{
|
||||||
return _sysprof_symbol_equal (a, b);
|
return _sysprof_symbol_equal (a, b);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
guint
|
||||||
|
sysprof_symbol_hash (const SysprofSymbol *self)
|
||||||
|
{
|
||||||
|
return self->hash;
|
||||||
|
}
|
||||||
|
|||||||
@ -39,6 +39,8 @@ const char *sysprof_symbol_get_binary_nick (SysprofSymbol *self);
|
|||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
const char *sysprof_symbol_get_binary_path (SysprofSymbol *self);
|
const char *sysprof_symbol_get_binary_path (SysprofSymbol *self);
|
||||||
SYSPROF_AVAILABLE_IN_ALL
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
|
guint sysprof_symbol_hash (const SysprofSymbol *self);
|
||||||
|
SYSPROF_AVAILABLE_IN_ALL
|
||||||
gboolean sysprof_symbol_equal (const SysprofSymbol *a,
|
gboolean sysprof_symbol_equal (const SysprofSymbol *a,
|
||||||
const SysprofSymbol *b);
|
const SysprofSymbol *b);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user