bugfix: On some situation, the name set to klog_func_name_add is not a static, so strdup it