5 Star 6 Fork 2

teawater / kgtp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
UPDATE 25.77 KB
一键复制 编辑 原始数据 按行查看 历史
teawater 提交于 2014-06-24 11:31 . Update UPDATE
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673
*** 20140510+
* Lihang Li <licalmer@gmail.com>
Fix build warning in 32-bit.
* Linyu Zhu <lynuszhu@gmail.com>
Lihang Li <licalmer@gmail.com>
Fix some issues of doc.
* Linyu Zhu <lynuszhu@gmail.com>
Fix GTP_RB_RELEASE macro's issue in KGTP's ring buffer.
* Hui Zhu <teawater@gmail.com>
Fix some issues of kgtp.py with Fedora.
*** 20140510
* https://lkml.org/lkml/2014/5/11/395
* Remove txt documents because KGTP has pdf version documents now.
* Update doc "Get help or report issues".
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__11582_1935127565
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__3899_71337508
* Update doc "Get KGTP through git".
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__4098_695897485
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__10760_71337508
* Update doc "Get KGTP through http".
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__4096_695897485
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__10758_71337508
* Remove line that access $no_self_trace in hotcode.py.
* Remove "doc_install" and "doc_uninstall" in Makefile to handle error
of "make install".
* Add TSV $task_pt_regs.
* Fix the build failed with the Linux kernel that newer than 3.13.
* Add python script kgtp.py that can auto setup and start KGTP and GDB
in current machine.
* Update doc.
Change "Preparatory work before use KGTP", "How to let GDB connect to KGTP" and "Add module symbols to GDB" as appendix.
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__11428_1305468286
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__4433_1176671169
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__4828_1369842245
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__11597_1305468286
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__11575_71337508
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__11597_71337508
Add "Quick config and start KGTP".
http://teawater.github.io/kgtp/kgtp.html#__RefHeading__11364_1305468286
http://teawater.github.io/kgtp/kgtpcn.html#__RefHeading__11595_1305468286
* Remove quickstart.txt.
*** 20131220
* Get in github:
Get through https:
https://github.com/teawater/kgtp/archive/20131220.tar.gz
Get through git:
git clone https://github.com/teawater/kgtp.git
git checkout 20131220 -b 20131220
* Get in CSDN:
Get through https:
https://code.csdn.net/teawater/kgtp/repository/archive?ref=20131220
Get through git:
git clone git://code.csdn.net/teawater/kgtp.git
git checkout 20131220 -b 20131220
* Update doc "What is KGTP".
https://code.google.com/p/kgtp/wiki/HOWTO#What_is_KGTP
https://code.google.com/p/kgtp/wiki/HOWTOCN#什么是KGTP
* Fix build error from Linux kernel 3.5 to Linux kernel 3.9.
Thanks report from 钱凯
* Update doc "Trace user applications".
https://code.google.com/p/kgtp/wiki/HOWTO#Trace_user_applications
https://code.google.com/p/kgtp/wiki/HOWTOCN#Trace用户程序
*** 20131218
* https://lkml.org/lkml/2013/12/18/931
* Get in github:
Get through https:
https://github.com/teawater/kgtp/archive/20131218.tar.gz
Get through git:
git clone https://github.com/teawater/kgtp.git
git checkout 20131218 -b 20131218
* Get in CSDN:
Get through https:
https://code.csdn.net/teawater/kgtp/repository/archive?ref=20131218
Get through git:
git clone git://code.csdn.net/teawater/kgtp.git
git checkout 20131218 -b 20131218
* Add uprobe support. Then KGTP can trace user applications.
https://code.google.com/p/kgtp/wiki/HOWTO#Trace_user_applications
https://code.google.com/p/kgtp/wiki/HOWTOCN#Trace用户程序
* Fix https://github.com/teawater/kgtp/issues/9
A multiprocess bug about packets "?" and "Hg".
* Fix https://github.com/teawater/kgtp/issues/8
A TSV check bug.
* Add "monitor disable" and KGTP address disable list to handle the
issue that GDB cannot disable one tracepoint of a same number tracepoints
list.
* Update doc "Where is the current Linux kernel debug image" to make it more clear.
https://code.google.com/p/kgtp/wiki/HOWTO#Where_is_the_current_Linux_kernel_debug_image
https://code.google.com/p/kgtp/wiki/HOWTOCN#当前Linux内核调试镜像在哪
* Update doc add section "Load Linux kernel debug image to GDB".
https://code.google.com/p/kgtp/wiki/HOWTO#Load_Linux_kernel_debug_image_to_GDB
https://code.google.com/p/kgtp/wiki/HOWTOCN#装载Linux内核调试镜像到GDB
* Add support for preempt_count_add and preempt_count_sub to make KGTP
can build with Linux Kernel 3.13.
Thanks help from Chen Gang.
* Update doc "Use KGTP with user applications".
https://code.google.com/p/kgtp/wiki/HOWTO#Use_KGTP_with_user_applications
https://code.google.com/p/kgtp/wiki/HOWTOCN#和用户程序一起使用KGTP
* Update doc "What is KGTP".
Thanks help from Xi Yang.
https://code.google.com/p/kgtp/wiki/HOWTO#What_is_KGTP
https://code.google.com/p/kgtp/wiki/HOWTOCN#什么是KGTP
*** 20130915
* https://lkml.org/lkml/2013/9/15/12
* Get through https:
https://github.com/teawater/kgtp/archive/20130915.tar.gz
Get through git:
git clone https://github.com/teawater/kgtp.git
git checkout 20130915 -b 20130915
* Remove gtp_taobao.patch because we can post pull request to ali_kernel
in github directly.
* Fix https://code.google.com/p/kgtp/issues/detail?id=149 that cannot
get right value of x86_32 $ebp.
Thanks report from wangwangwar.
* Fix https://github.com/teawater/kgtp/issues/1
Thanks report from Tao Ma and Yanhai Zhu.
* Add howto pdf files:
https://raw.github.com/teawater/kgtp/master/kgtp.pdf
https://raw.github.com/teawater/kgtp/master/kgtpcn.pdf
* Add "new way" to "Install the Linux kernel source".
https://code.google.com/p/kgtp/wiki/HOWTO#New_way
https://code.google.com/p/kgtp/wiki/HOWTOCN#新方法
* Fix https://github.com/teawater/kgtp/issues/2
Thanks report from Brad Dixon.
Let kunmap use "page" as its argument.
* The .config inside UBUNTU linux-headers close CONFIG_DEBUG_INFO=y.
It will make KGTP module will not build with "-g" in UBUNTU that
will make KGTP module doesn't have debug info.
To handle this isssue, add "export CONFIG_DEBUG_INFO=y" to Makefile
to make KGTP module can build with -g in UBUNTU.
* Fix https://github.com/teawater/kgtp/issues/3
Thanks report from Brad Dixon.
Fix 2 bugs:
1. gtp_get_user_page doesn't check the return of find_vma.
2. The way that get x86_32's user space program sp is wrong.
* Fix https://github.com/teawater/kgtp/issues/6
Fix 2 bugs:
1. Let gtp_gdbrsp_qxfer_traceframe_info_read return error if it in *no tfind* mode or in replay mode.
2. Let gtp_gdbrsp_m copy memory value to right address.
* Fix a bug that use KGTP from remote with normal way and offline debug together.
https://github.com/teawater/kgtp/commit/403f14dde39d5304b38b1c5014712aff8e2f1fc3
* Update doc add section "About this document".
https://code.google.com/p/kgtp/wiki/HOWTO#About_this_document
https://code.google.com/p/kgtp/wiki/HOWTOCN#关于本文
* Update doc "Get KGTP".
https://code.google.com/p/kgtp/wiki/HOWTO#Get_KGTP
https://code.google.com/p/kgtp/wiki/HOWTOCN#取得KGTP
* Update doc "Get help or report issues"
https://code.google.com/p/kgtp/wiki/HOWTO#Get_help_or_report_issues
https://code.google.com/p/kgtp/wiki/HOWTOCN#需要帮助或者汇报问题
*** 20130706
* https://lkml.org/lkml/2013/7/6/34
* https://kgtp.googlecode.com/files/kgtp_20130706.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20130706
* Fix build issue with Linux kernel 2.6.37.
Thanks report from D___linux.
* Fix build issue with Linux kernel 2.6.32-358.el6.
Thanks report from Dong Zhu.
* Fix bug with functions return value.
* Fix dead lock with dynamic watch tracepoint.
https://code.google.com/p/kgtp/source/detail?r=1626
* Add build warning if KGTP build with Linux kernel that open the runtime
locking correctness validator (CONFIG_LOCKDEP).
Because trace function about locks with Linux kernel that open
CONFIG_LOCKDEP will deadlock.
* Add $watch_prev_val to show the previous value that watch tracepoint is watching on.
https://code.google.com/p/kgtp/wiki/HOWTO#Howto_use_watch_tracepoint_control_hardware_breakpoints_to_recor
https://code.google.com/p/kgtp/wiki/HOWTOCN#如何用watch_tracepoint控制硬件断点记录内存访问
* Update doc add section about use KGTP with Android.
https://code.google.com/p/kgtp/wiki/HOWTO#If_use_with_Linux_kernel_of_Android
https://code.google.com/p/kgtp/wiki/HOWTOCN#如果是Android内核
https://code.google.com/p/kgtp/wiki/HOWTO#Android
https://code.google.com/p/kgtp/wiki/HOWTOCN#Android
* Update doc add "The second method of install the Linux kernel debug image" for UBUNTU.
https://code.google.com/p/kgtp/wiki/HOWTO#The_second_method_of_install_the_Linux_kernel_debug_image
https://code.google.com/p/kgtp/wiki/HOWTOCN#安装Linux内核调试镜像的第二方法
* Update doc "Install GDB for KGTP".
https://code.google.com/p/kgtp/wiki/HOWTO#Install_GDB_for_KGTP
https://code.google.com/p/kgtp/wiki/HOWTOCN#安装可以和KGTP一起使用的GDB
* Update doc "How to use getmod.py".
https://code.google.com/p/kgtp/wiki/HOWTO#How_to_use_getmod.py
https://code.google.com/p/kgtp/wiki/HOWTOCN#如何使用getmod.py
* Let $current can be set to support some special Linux kernel functions.
https://code.google.com/p/kgtp/wiki/HOWTO#collect_stack_(for_backtrace)_of_user_space_program_in_tracepoin
https://code.google.com/p/kgtp/wiki/HOWTOCN#在tracepoint收集用户层程序的栈信息(可用来做backt
* Update doc "Normal compile" add introduce about howto handle the build error in Fedora.
https://code.google.com/p/kgtp/wiki/HOWTO#Normal_compile
https://code.google.com/p/kgtp/wiki/HOWTOCN#普通编译
* Update doc "Get KGTP through svn" add introduce about get the last release version of KGTP.
https://code.google.com/p/kgtp/wiki/HOWTO#Get_KGTP_through_svn
https://code.google.com/p/kgtp/wiki/HOWTOCN#通过svn下载KGTP
* Update doc "Install the Linux kernel debug image" add debuginfo-install.
https://code.google.com/p/kgtp/wiki/HOWTO#Install_the_Linux_kernel_debug_image
https://code.google.com/p/kgtp/wiki/HOWTOCN#安装Linux内核调试镜像
* Update doc "Install the Linux kernel devel package" add a note.
https://code.google.com/p/kgtp/wiki/HOWTO#Install_the_Linux_kernel_devel_package
https://code.google.com/p/kgtp/wiki/HOWTOCN#安装Linux内核开发包
* Update doc add "Get the way that access the variable that has been out through parse ASM code".
https://code.google.com/p/kgtp/wiki/HOWTO#Get_the_way_that_access_the_variable_that_has_been__out_through
https://code.google.com/p/kgtp/wiki/HOWTOCN#通过分析汇编代码取得访问被优化掉变量的方法
*** 20130508
* https://lkml.org/lkml/2013/5/8/86
* http://kgtp.googlecode.com/files/kgtp_20130508.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20130508
* Add "Where is the current Linux kernel debug image" to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Where_is_the_current_Linux_kernel_debug_image
http://code.google.com/p/kgtp/wiki/HOWTOCN#当前Linux内核调试镜像在哪
* Add "Table of different between GDB debug normal program and KGTP" to howto.
https://code.google.com/p/kgtp/wiki/HOWTO#Table_of_different_between_GDB_debug_normal_program_and_KGTP
https://code.google.com/p/kgtp/wiki/HOWTOCN#GDB调试普通程序和KGTP的区别表
* Add check if $kret use with while-stepping or watch. Make them cannot work together.
* Change $no_self_trace to $self_trace.
https://code.google.com/p/kgtp/wiki/HOWTO#Special_trace_state_variable_$self_trace
https://code.google.com/p/kgtp/wiki/HOWTOCN#特殊trace状态变量_$self_trace
* Update getmod.
Add a '#' at the beginning make the output as comments if this output does not mean getmod will error quit.
Add a '#' at the beginning make the add-symbol-file that cannot find module file as comments.
* Complete the support of while-stepping. KGTP can let Linux kernel do single step now.
https://code.google.com/p/kgtp/wiki/HOWTO#Use_while-stepping_let_Linux_kernel_do_single_step
https://code.google.com/p/kgtp/wiki/HOWTOCN#使用while-stepping让Linux内核做单步
*** 20130218
* https://lkml.org/lkml/2013/2/18/145
* http://kgtp.googlecode.com/files/kgtp_20130218.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20130218
* Add watch tracepoint control hardware breakpoints to record memory access.
http://code.google.com/p/kgtp/wiki/HOWTO#Howto_use_watch_tracepoint_control_hardware_breakpoints_to_recor
http://code.google.com/p/kgtp/wiki/HOWTOCN#如何用watch_tracepoint控制硬件断点记录内存访问
* Update
http://code.google.com/p/kgtp/wiki/HOWTOCN#/sys/kernel/debug/gtpframe和离线调试
http://code.google.com/p/kgtp/wiki/HOWTO#/sys/kernel/debug/gtpframe_and_offline_debug
add a workaround to handle issue 136.
* Update usage of putgtprsp.
http://code.google.com/p/kgtp/wiki/HOWTOCN#/sys/kernel/debug/gtpframe和离线调试
http://code.google.com/p/kgtp/wiki/HOWTO#/sys/kernel/debug/gtpframe_and_offline_debug
* Fix memory leak of output the value directly function.
* Make $cpu_id can be access by tracepoint action.
*** 20121204
* https://lkml.org/lkml/2012/12/9/156
* http://kgtp.googlecode.com/files/kgtp_20121204.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20121204
* Remove __exit from gtp_exit to fix a section mismatch.
* Add "Direct access the current value in normal mode" to make tfind
more clear.
http://code.google.com/p/kgtp/wiki/HOWTO#Direct_access_the_current_value_in_normal_mode
http://code.google.com/p/kgtp/wiki/HOWTOCN#在普通模式直接访问当前值
* Add "Save the trace frame info to a file" to doc.
http://code.google.com/p/kgtp/wiki/HOWTO#Save_the_trace_frame_info_to_a_file
http://code.google.com/p/kgtp/wiki/HOWTOCN#保存trace帧信息到一个文件中\
* Make getgtprsp.pl generate files that the last char is not "\n" that
will make "cat gtpstart > /sys/kernel/debug/gtp" get error.
* Show CPU id in $printk_level function.
* Show CPU id in $dump_stack function.
* Make $printk_level function show right val name.
* Add "putgtprsp" to handle the offline debug GDB command line file.
Thanks report from alex.zhu.az.
http://code.google.com/p/kgtp/wiki/HOWTO#/sys/kernel/debug/gtpframe_and_offline_debug
http://code.google.com/p/kgtp/wiki/HOWTOCN#/sys/kernel/debug/gtpframe和离线调试
* Fix issue 130. Thanks help from bergwolf.
* Fix issue 131. Thanks report from Oliver Yang.
* Add How to handle error "No such file or directory." to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_handle_error_"No_such_file_or_directory."
http://code.google.com/p/kgtp/wiki/HOWTOCN#如何处理错误_"No_such_file_or_directory."_或者
* Add Handle the issue that cannot find any file in "/sys/" or "/sys/kernel/debug/" to howto.
Thanks report from Oliver Yang.
http://code.google.com/p/kgtp/wiki/HOWTO#Handle_the_issue_that_cannot_find_any_file_in_"/sys/"
http://code.google.com/p/kgtp/wiki/HOWTOCN#处理不能在"/sys/"或者"/sys/kernel/debug/&q
*** 20120920
* https://lkml.org/lkml/2012/9/20/697
* http://kgtp.googlecode.com/files/kgtp_20120920.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120920
* Add KGTP_API_VERSION to patch and gtp.c to help gtp.c know which
KGTP API is support by current kernel.
* Set KGTP_API_VERSION to 20120917, it include API:
__flush_anon_page(Just just available on ARM Linux kernel 2.6.20
and newer version)
Following function is just available on Linux kernel that have perf:
perf_event_disable and perf_event_enable (Only available older
than 3.3.0 because 3.3.0 and newer already have it.)
local_perf_event_disable
local_perf_event_enable
perf_event_set
* Add $disable and $enable to disable and enable tracepoint in tracepoint
action.
* Fix bug that complex conditon or action that access special TSV get error
with function gtp_check_x_simple or gtp_check_x_loop.
* Fix a long size line bug of getmod.
* Update howto for "How to set tracepoint condition".
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_set_tracepoint_condition
http://code.google.com/p/kgtp/wiki/HOWTOCN#如何设置条件tracepoint
* Update How to handle "Unsupported operator (null) (52) in expression."
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_handle_"Unsupported_operator_(null)_(52)_in_expressi
http://code.google.com/p/kgtp/wiki/HOWTOCN#如何处理_"Unsupported_operator_(null)_(52)_in_expressio
* Add introduce for collect ptr and collect *ptr to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#collect_expr1,_expr2,_...
http://code.google.com/p/kgtp/wiki/HOWTOCN#collect_expr1,_expr2,_...
* Fix memleak of gtp_traceframe_info and gtp_modules_traceframe_info.
* Change the format of per_cpu TSR from "pc_" to "p_"
and change the usage of it.
http://code.google.com/p/kgtp/wiki/HOWTO#Per_cpu_trace_state_variables
http://code.google.com/p/kgtp/wiki/HOWTOCN#Per_cpu_trace状态变量
* To follow the change of per_cpu TSR update, change $pc_pe_en to $p_pe_en.
http://code.google.com/p/kgtp/wiki/HOWTO#Enable_and_disable_all_the_perf_event_in_a_CPU_with_$p_pe_en
http://code.google.com/p/kgtp/wiki/HOWTOCN#用$p_pe_en打开和关闭一个CPU上所有的perf_event
* Add new option "-n" to getmod.
* Rename gtp_older_to_2.6.32.patch to gtp_2.6.20_to_2.6.32.patch.
Add gtp_older_to_2.6.19.patch.
* Add plugin support.
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_add_plugin_in_C
http://code.google.com/p/kgtp/wiki/HOWTOCN#如何增加用C写的插件
*** 20120806
* http://sourceware.org/ml/gdb/2012-08/msg00014.html
* http://kgtp.googlecode.com/files/kgtp_20120806.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120806
* When "make clean" with new Linux kernel. Linux kernel will clean itself.
So change "make clean" to "rm" to handle it.
* Remove S_IFIFO from debugfs_create_file because new Kernel doesn't
like it.
* Fix a bug of gtp_task_read. This bug will make this function can
sleep sometimes. This bug is dangerous when tracepoint access user
space memory.
* Support enable and disable when tracepoint is running.
* Fix build error with RHEL 6.3.
*** 20120605
* https://lkml.org/lkml/2012/6/5/67
* http://kgtp.googlecode.com/files/kgtp_20120605.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120605
* Add "Make sure current Linux kernel debug image is right" to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Make_sure_current_Linux_kernel_debug_image_is_right
http://code.google.com/p/kgtp/wiki/HOWTOCN#确定Linux内核调试镜像是正确的
* Update "tfind" in howto to make it more clear.
http://code.google.com/p/kgtp/wiki/HOWTO#tfind
http://code.google.com/p/kgtp/wiki/HOWTOCN#tfind
* Add "Show and save the tracepoint" to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Show_and_save_the_tracepoint
http://code.google.com/p/kgtp/wiki/HOWTOCN#显示和存储tracepoint
* Add "Handle the issue that Linux kernel debug image's address info is not
same with Linux kernel when it running" to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Handle_the_issue_that_Linux_kernel_debug_image's_address_in
http://code.google.com/p/kgtp/wiki/HOWTOCN#处理Linux内核调试镜像地址信息和Linux内核执行时
* Add "Howto handle the function is there but set tracepoint on it got fail" to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Howto_handle_the_function_is_there_but_set_tracepoint_on_it_got
http://code.google.com/p/kgtp/wiki/HOWTOCN#这个函数确实存在但是设置tracepoint到上面会失败
* Fix bug of getmod.py with new GDB.
* Add new function "Read memory of user space program directly"
http://code.google.com/p/kgtp/wiki/HOWTO#Read_memory_of_user_space_program_directly
http://code.google.com/p/kgtp/wiki/HOWTOCN#直接读用户层程序的内存
* Add new function "collect stack (for backtrace) of user space program in tracepoint"
http://code.google.com/p/kgtp/wiki/HOWTO#collect_stack_(for_backtrace)_of_user_space_program_in_tracepoin
http://code.google.com/p/kgtp/wiki/HOWTOCN#在tracepoint收集用户层程序的栈信息(可用来做backt
* Add new introduce about howto show more than one variable with one GDB commands in "Access memory directly" of howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Access_memory_directly
http://code.google.com/p/kgtp/wiki/HOWTOCN#直接访问内存
Thanks help from qw.hust.
* Update some sections of howto to make it more clear.
* Fix bug in getmod.c. Thanks report from scorpionfish.
*** 20120424
* https://lkml.org/lkml/2012/4/24/194
https://lkml.org/lkml/2012/4/24/195
https://lkml.org/lkml/2012/4/24/196
https://lkml.org/lkml/2012/4/24/197
* http://kgtp.googlecode.com/files/kgtp_20120424.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120424
* Update "How to use /sys/kernel/debug/gtpframe_pipe" in howto.
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_use_/sys/kernel/debug/gtpframe_pipe
* Add How to handle "Unsupported operator (null) (52) in expression." to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#How_to_handle_"Unsupported_operator_(null)_(52)_in_expressi
* Separate actions and actions src to handle the status
that will delete some actions.
* Add $bt to collect the stack and update the stack dump in the howto to make
it more clear.
http://code.google.com/p/kgtp/wiki/HOWTO#Howto_backtrace_(stack_dump)
* Update the format of example in the HOWTO to make it more clear.
* Remove the crc check and suport QStartNoAckMode+.
* Add Chinese howto.
http://code.google.com/p/kgtp/wiki/HOWTOCN
* Update a lot of parts of howto to make it more clear.
http://code.google.com/p/kgtp/wiki/HOWTO
http://code.google.com/p/kgtp/wiki/HOWTOCN
* Add introduce of $_ret to howto.
http://code.google.com/p/kgtp/wiki/HOWTO#Collect_stack_of_current_function's_caller_with_$_ret
*** 20120406
* https://lkml.org/lkml/2012/4/7/35
* http://kgtp.googlecode.com/files/kgtp_20120406.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120406
* Fix build error with Linux kernel that older than 2.6.34 in ARM.
Thanks report and help from Adam Huang (sniperpr).
* Update howto.txt (http://code.google.com/p/kgtp/wiki/HOWTO) to
make it more clear.
* Update the GDB in http://code.google.com/p/gdbt/ (add static binary
and change the source of code) to make people use it easily.
* Fix bug of add-ons/hotcode.py when it use with user space task.
* add-ons/hotcode.py output hot code info to html file.
* getmod.py auto call "set pagination off".
*** 20120319
* https://lkml.org/lkml/2012/3/19/210
* http://kgtp.googlecode.com/files/kgtp_20120319.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120319
* Fix bug with GDB RSP package sum check.
* Increase the speed of access to trace state variables.
* Increase the speed of agent code execution.
* Remove the current agent code "printf" support because GDB will support new
format of agent code "printf".
* Fix bug about access $current_task_pid.
* Add new debug switch GTP_DEBUG_V (just for developer).
* Add new add-ons hotcode.py. It can show the hotest code line
in the Kernel or user space program through parse and record
the pc address in the interrupt handler.
*** 20120224
* https://lkml.org/lkml/2012/2/26/127
* http://kgtp.googlecode.com/files/kgtp_20120224.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120224
* Fix build error with Linux Kernel 3.0.x version.
Thanks for report from sam.wanshan.
* Make getgtprsp.pl support all special trace state variables.
* Fix the bug that set the id of FID_PAGE_BEGIN inside gtp_rb.
* Change code to ignore the task that read the /sys/kernel/debug/gtpframe_pipe
in default. And add special trace state variable $pipe_trace to control it.
* Fix error of doc about $ignore_error.
* Add $current_task_pid to access to get_current()->pid.
* Remove GTP_VAR_NOT_GETV, GTP_VAR_NOT_SETV and GTP_VAR_NOT_TRACEV.
* Fix bug in gtp_frame_file_header that affect stack when src of conditon
or action is bigger than 200.
*** 20120131
* https://lkml.org/lkml/2012/1/31/215
* http://kgtp.googlecode.com/files/kgtp_20120131.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20120131
* Add ignore gtp.ko function to getmod.py.
* Add support for GDB rsp package "qXfer:traceframe-info:read".
Then tfind mode will show the memory that is not in traceframe
as "<unavailable>". It is more accurate than before.
It fixed issue 1 and Issue 101.
* Fix bug of gtp_rb page release in function gtp_rb_page_free.
* Fix bug of gtp_rb_put_page that is used by gtpframe_pipe.
* Add define for perf_event_enable and perf_event_disable in gtp.c
and perf_event.c because both of them EXPORT_SYMBOL_GPL in Linux Kernel 3.3.
*** 20111218
* https://lkml.org/lkml/2011/12/18/36
* http://kgtp.googlecode.com/files/kgtp_20111218.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20111218
* Add gtp_rb to be the new frame buffer to make trace record speed up and more
friendly to the older version Linux kernel.
* Rename gtp.patch to gtp_for_review.patch.
* Add Linux Kernel patch gtp_3.0_to_upstream.patch(3.0 to upstream),
gtp_2.6.39.patch(2.6.39), gtp_2.6.33_to_2.6.38.patch(2.6.33 to 2.6.38)
and gtp_older_to_2.6.32.patch(older to 2.6.32).
Then you can include KGTP in your Kernel source tree.
* Add special trace state variable $gtp_version to show the version of KGTP.
* Fix some build errors of gtp_for_review.patch.
* Fix some build errors in ARM.
* Update doc.
*** 20111111
* https://lkml.org/lkml/2011/11/14/4
* http://kgtp.googlecode.com/files/kgtp_20111111.tar.bz2
svn checkout https://kgtp.googlecode.com/svn/tags/20111111
* post_handler will make kprobes-optimization cannot be used. So make
gtp_kp_post_handler be call only when tpe->step is true.
* Make rdtsc_current to x86 special.
* Register easy Kprobe handler to speed up it when no tracepoint access
$cooked_clock, $cooked_rdtsc or "pc_pe_" tvariable.
* Fix a bug of ARM build.
* Add a doc for use KGTP with Android in
https://code.google.com/p/kgtp/wiki/HowToUseKGTPinAndroid
C
1
https://gitee.com/teawater/kgtp.git
git@gitee.com:teawater/kgtp.git
teawater
kgtp
kgtp
master

搜索帮助