mirror of
				https://github.com/bytecodealliance/wasm-micro-runtime.git
				synced 2025-10-20 16:01:24 +00:00 
			
		
		
		
	 4ef724bbff
			
		
	
	
		4ef724bbff
		
			
		
	
	
	
	
		
			
			- Add new API wasm_runtime_load_ex() in wasm_export.h and wasm_module_new_ex in wasm_c_api.h - Put aot_create_perf_map() into a separated file aot_perf_map.c - In perf.map, function names include user specified module name - Enhance the script to help flamegraph generations
		
			
				
	
	
		
			15 lines
		
	
	
		
			347 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			347 B
		
	
	
	
		
			C
		
	
	
	
	
	
| /*
 | |
|  * Copyright (C) 2019 Intel Corporation. All rights reserved.
 | |
|  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
 | |
|  */
 | |
| 
 | |
| #ifndef _AOT_PERF_MAP_H_
 | |
| #define _AOT_PERF_MAP_H_
 | |
| 
 | |
| #include "aot_runtime.h"
 | |
| 
 | |
| bool
 | |
| aot_create_perf_map(const AOTModule *module, char *error_buf,
 | |
|                     uint32 error_buf_size);
 | |
| 
 | |
| #endif /* _AOT_PERF_MAP_H_ */ |