diff --git a/utils/call_stacks_analysis/make_extra.py b/utils/call_stacks_analysis/make_extra.py index 1177e69450a..874875774a5 100755 --- a/utils/call_stacks_analysis/make_extra.py +++ b/utils/call_stacks_analysis/make_extra.py @@ -21,13 +21,10 @@ def dict_extend(dict_, key, values): def inlines(calls: Calls) -> Calls: # common - calls['core_init'] = ['util_init', 'core_log_init', 'out_init'] - calls['core_fini'] = ['out_fini'] calls['common_init'] = ['core_init', 'util_mmap_init'] calls['common_fini'] = ['util_mmap_fini', 'core_fini'] calls['Last_errormsg_key_alloc'] = ['_Last_errormsg_key_alloc'] calls['_Last_errormsg_key_alloc'] = ['os_once', 'os_tls_key_create'] - calls['core_log_va'] = ['core_log_default_function'] # libpmem calls['flush_empty'] = ['flush_empty_nolog'] @@ -41,6 +38,10 @@ def inlines(calls: Calls) -> Calls: return calls +def function_pointers(calls: Calls) -> Calls: + calls['core_log_va'] = ['core_log_default_function'] + return calls + def pmem_function_pointers(calls: Calls) -> Calls: calls['pmem_drain'] = ['fence_empty', 'memory_barrier'] @@ -424,6 +425,7 @@ def get_callees(calls): def main(): extra_calls = inlines({}) + extra_calls = function_pointers(extra_calls) extra_calls = pmem_function_pointers(extra_calls) extra_calls = pmemobj_function_pointers(extra_calls) with open("extra_calls.json", "w") as outfile: