mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +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);
|
||||
}
|
||||
|
||||
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
|
||||
const char *sysprof_symbol_get_binary_path (SysprofSymbol *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
guint sysprof_symbol_hash (const SysprofSymbol *self);
|
||||
SYSPROF_AVAILABLE_IN_ALL
|
||||
gboolean sysprof_symbol_equal (const SysprofSymbol *a,
|
||||
const SysprofSymbol *b);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user