diff options
author | Vitaliy Cherepanov <v.cherepanov@samsung.com> | 2015-07-15 15:40:12 +0300 |
---|---|---|
committer | Vyacheslav Cherkashin <v.cherkashin@samsung.com> | 2016-06-10 21:48:59 +0300 |
commit | e9bb4572517fd82046f28a8faa19541c19d14d45 (patch) | |
tree | 1514004ff705321226be91b99fcf47339f3c1028 | |
parent | df38c80af4e3d2702b0d243f22d6a124589293cd (diff) | |
download | swap-probe-e9bb4572517fd82046f28a8faa19541c19d14d45.tar.gz swap-probe-e9bb4572517fd82046f28a8faa19541c19d14d45.tar.bz2 swap-probe-e9bb4572517fd82046f28a8faa19541c19d14d45.zip |
[IMPROVE] add function names for LD_PRELOAD probessubmit/tizen/20160623.045732submit/tizen/20160621.051449accepted/tizen/wearable/20160623.124206accepted/tizen/tv/20160623.124150accepted/tizen/mobile/20160623.124131accepted/tizen/ivi/20160623.124220accepted/tizen/common/20160623.154355accepted/tizen/common/20160621.184419
Change-Id: Iccbfcb78c262cdbaee07dcece5e8c56977ab85a5
Signed-off-by: Vitaliy Cherepanov <v.cherepanov@samsung.com>
-rwxr-xr-x | scripts/gen_headers.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/gen_headers.py b/scripts/gen_headers.py index 701f761..dd2a39b 100755 --- a/scripts/gen_headers.py +++ b/scripts/gen_headers.py @@ -305,7 +305,7 @@ def __print_probes(file, func, addr_list, handler, type): for lib_func in addr_list: for func_addr in addr_list[lib_func]: probes_cnt += 1 - file.write("\t\t{0x" + str(func_addr) + ", 0x" + str(handler[0]) + ", " + str(type) +" /* " + str(lib_func) + " */},\n") + file.write("\t\t{0x" + str(func_addr) + ", 0x" + str(handler[0]) + ", " + str(type) +", \"" + str(lib_func) + "\"},\n") return probes_cnt @@ -362,6 +362,7 @@ def __print_probe_el_t(file): file.write("\tuint64_t orig_addr;\n") file.write("\tuint64_t handler_addr;\n") file.write("\tuint8_t probe_type;\n") + file.write("\tconst char *name;\n") file.write("};") def __print_lib_list_el_t(file): |