forked from teawater/kgtp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUPDATE
673 lines (462 loc) · 25.8 KB
/
UPDATE
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
*** 20140510+
* Lihang Li <[email protected]>
Fix build warning in 32-bit.
* Linyu Zhu <[email protected]>
Lihang Li <[email protected]>
Fix some issues of doc.
* Linyu Zhu <[email protected]>
Fix GTP_RB_RELEASE macro's issue in KGTP's ring buffer.
* Hui Zhu <[email protected]>
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