summaryrefslogtreecommitdiffstats
path: root/tapset/ChangeLog
blob: ea287395b3a2467ce15f2cb483d35bba5ead4792 (plain)
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
2006-12-13  Mike Mason <mmlnx@us.ibm.com>

	* scheduler.stp: fixed last line in scheduler.ctxswitch to
	reference $prev_p->state instead of $prev_p->pid.

2006-12-11  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
	
2006-11-29  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* scheduler.stp, vfs.stp: made idle_balance and 
	buffer_migrate_page optinal.
	
2006-11-20  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (caller_addr): Declare return type.

2006-11-07  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* signal.stp, memory.stp: make do_mmap2, copy_cow_page
	and signal.handle.return optional since they are obsolete
	or failed to probe on 2.6.18.1/ppc64

2006-11-02  Frank Ch. Eigler  <fche@elastic.org>

	* README: Add a blurb against running these scripts directly.

2006-10-29  Thang Nguyen <thang.p.nguyen@intel.com>

	* context.stp: Added proper handling of statement
	* probe in probefunc() for IA64 (bz# 3423)

2006-10-16  Li Guanglei <guanglei@cn.ibm.com>
	* scsi.stp: check whether rq_disk is empty
	* scheduler.stp: revert changes for x86_64

2006-10-13  Li Guanglei <guanglei@cn.ibm.com>
	* scsi.stp: add some variables
	* scheduler.stp: skip __switch_to on x86_64

2006-10-12  Martin Hunt  <hunt@redhat.com>
	* context.stp (print_backtrace): Pass in new
	kretprobe instance arg.
	(backtrace): Ditto.
	(is_return): Rewrite.
	(stack_size): New.
	(stack_used): New.
	(stack_unused): New.
	(called_addr): New.
	(caller): New.	

2006-10-12  Li Guanglei <guanglei@cn.ibm.com>
	* ioscheduler.stp: bugfix to avoid refer to NULL pointer

2006-10-11  Li Guanglei <guanglei@cn.ibm.com>
	* nfs.stp, nfsd.stp: bugfix of pointer conversion on
	32-bit platform.
	* i686/syscall.stp: make sys_request_key optional since
	it failed to probe on 2.6.18/i386

2006-10-04  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (probefunc): Return empty string for
	userspace (< PAGE_OFFSET) pointers.

2006-09-26  David Smith  <dsmith@redhat.com>

	* test/run.sh: Changed 'stpd' references to 'staprun'.

2006-09-20  Josh Stone  <joshua.i.stone@intel.com>

	PR 3233
	* timestamp.stp (gettimeofday_ns): New function
	(gettimeofday_us, gettimeofday_ms, gettimeofday_s):
	Use gettimeofday_ns as the base unit.

2006-09-19  Li Guanglei <guanglei@cn.ibm.com>
	
	From Gui Jian <guijian@cn.ibm.com>

	* rpc.stp: Some changes and more comments of RPC tapset

2006-09-18  Martin Hunt  <hunt@redhat.com>

	* logging.stp (stp_print_binary): New function.
	* string.stp: Fix docs.

2006-09-12  Li Guanglei <guanglei@cn.ibm.com>
	
	From Li Xuepeng <xuepengl@cn.ibm.com>

	* nfsd.stp, nfs_proc.stp, nfs.stp: 
	Change NFS file identifier. Change NFS version data type
	from String to INT. Add version variable to nfs_open 
	and nfs_release.
	
2006-09-11  Li Guanglei <guanglei@cn.ibm.com>
	
	From Gui Jian(guijian@cn.ibm.com>
	* rpc.stp: tapsets for RPC activities.
	
2006-08-30  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: some changes to arguments and comments 
	of signal tapset
	
2006-08-25  Li Guanglei <guanglei@cn.ibm.com>

	From Li Xuepeng:
	* vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
	
2006-08-23  Li Guanglei <guanglei@cn.ibm.com>

	* vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
	vfs layer activities.
	* nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
	nfs file operations and nfs address space operations on client side.
	* nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC 
	procedure stub functions on client side.
	* nfsd.stp: New tapset from Li Xuepeng to probe nfs server side 
	activities, including some RPC procedure stub functions, nfsd 
	dispatch routine, and nfsd_* functions
	
2006-08-22  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: More variables for signal.do_action and
	signal.procmask. New function of get_sigset(). Minor
	changes to naming of signal.pend and its comments

	
2006-08-21  Martin Hunt  <hunt@redhat.com>

	* string.stp (substr): Rewrite. Make the 3rd parameter
	be the length.

2006-08-17  Josh Stone  <joshua.i.stone@intel.com>

	* signal.stp: Changes on behalf of Manoj S Pattabhiraman:
	1. As per the suggestions, i have removed the argstr from the 
	probe points.
	2. Added some checks to find whether the signals generated are 
	USER or Kernel Mode in signal_handle probe.

2006-08-17  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: update signal tapsets based on the discussion
	with Josh Stone on mailinglist:
	1. Added "send2queue" and "name" variable for signal.send.part* 
	2. Added signal.send.return probe alias 
	3. Added signal.checkperm and signal.checkperm.return probe alias
	4. Commented out signal.handle_stop
	5. Alias all signal syscalls to syscall tapsets.

2006-08-15  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp:  Added safety checks for __bio_ino() and 
	__bio_start_sect(). 

2006-08-09  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
	ioblock.stp.  Removed/Renamed duplicate variables and probes.	

2006-08-09  Josh Stone  <joshua.i.stone@intel.com>

	* signal.stp: Create a new tapset that addresses process signals.
	Much of this was contributed by Manoj Pattabhiraman (IBM).
	* process.stp: Remove aliases that now belong in signal tapset
	* memory.stp: move pagefault to vm.* namespace, and add many other
	virtual-memory themed probes.

2006-08-09  David Smith  <dsmith@redhat.com>

	* syscalls.stp: Fixed typo in syscall.kexec_load argument
	handling.

2006-08-08  Eugene Teo  <eteo@redhat.com>

	* context.stp (probemod): New function.

2006-07-18  Thang Nguyen  <thang.p.nguyen@intel.com>

	* context.stp: Modified probefunc() to print the function
	name (without the dot) for statement probe on ppc64.

2006-07-17  David Smith  <dsmith@redhat.com>

	* context.stp: Removed returnval() function.  Use $return
	instead.
	* return.stp: Removed.  Use $return instead.

2006-07-17  Tom Zanussi <zanussi@us.ibm.com>
	
	* ioblock.stp: add null bi_bdev check to bio_devname()

2006-07-17  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: make sys_acct, sys_add_key, sys_keyctl 
	and sys_modify_ldt optional on ppc64 since they are 
	weak symbol.
	* ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
	and syscall.umask since they are already defined in 
	syscalls.stp
	
2006-07-04  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp, syscalls2.stp: Use user_string_quoted().

2006-07-04  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp, syscalls2.stp, ppc64/syscalls.stp: 
	fix syscall.lstat, syscall.lstat64, syscall.newlstat. 
	* ppc64/syscalls.stp: fix syscall.compat_sys_statfs and 
	syscall.sys32_open

2006-07-04  Li Guanglei <guanglei@cn.ibm.com>
	
	* memory.stp: add addr_to_node() from Jose R. Santos
	(jrs@us.ibm.com)
	* syscalls.stp: typo for syscall.lstat

2006-06-30  Martin Hunt  <hunt@redhat.com>

	* conversions.stp (user_string): Don't generate errors
	on faults, just return <unknown>.
	(user_string2): New function.
	(user_string_warn): New function.
	
2006-06-26  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_stp_ctime): New function.
	(_struct_utimbuf_u): New function.

2006-06-25  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: Changes to AIO related syscalls(io_setup, 
	io_submit, io_getevents, io_cancel, io_destroy)
	
2006-06-23  Thang Nguyen  <thang.p.nguyen@intel.com>

	* tcp.stp: Refined variables and added more
	function descriptions.
	* udp.stp: UDP tapset.
	* inet_sock.stp: common inet_sock functions
	for TCP and UDP tapsets.

2006-06-22  Thang Nguyen  <thang.p.nguyen@intel.com>

	* tcp.stp: TCP tapset (originally from IBM)

2006-06-21  Josh Stone  <joshua.i.stone@intel.com>

	PR 2525
	* timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
	Convert to using the runtime-provided _stp_gettimeofday_us().

2006-06-19  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Make the 16-bit calls optional.
	* syscalls2.stp: Ditto.

2006-06-09  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp: Fix sys_sync.

2006-06-09  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp: Fixed the uid and gid calls.	

2006-06-09  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: made sys_ftruncate64 optional since it doesn't
	exist on 2.6.16*/ppc64

2006-06-08  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp: new (block I/O activities)

2006-06-06  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp (create, exec_complete): replace retval() with $return

2006-06-02  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp (exec, exec_complete): conditionally include
	compat_do_execve for 64-bit kernels
	* process.stp (handle_signal): use optional probes to alternate
	between function or inline

2006-05-30  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_mountflags_str): Rewrite.
	(_umountflags_str): New.

	* syscalls.stp (fstatfs.return): Add retstr.

	* syscalls2.stp (sys_write): Use text_strn().
	* syscalls.stp (sys_lseek): Fix.
	(sys_llseek): Fix.
	
	* string.stp (text_str): New.
	(text_strn): New.

2006-05-26  Martin Hunt  <hunt@redhat.com>

	* errno.stp: Add octal option for returnstr.

	* [i686,x86_64]/syscalls.stp (umask): Print args and return
	in octal.
	(add_key): Comment out. This syscall is added by a xen patch
	and may not be present.
	(tux): Ditto.
	
	* syscalls.stp (accept): Fix arg name.

2006-05-25  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Add sys_fcntl and sys_listen.

	* syscalls2.stp: Commented out sys_socketcall because it only calls 
	other system calls which are already probed.

2006-05-25  Martin Hunt  <hunt@redhat.com>
	
	* syscall*.stp: Change "0x%p" to "%p".

2006-05-25  Li Guanglei <guanglei@cn.ibm.com>
	
	* scheduler.stp: add prev_task and next_task variable.

2006-05-24  Josh Stone  <joshua.i.stone@intel.com>

	PR 2677
	* context.stp (probefunc): Use _stp_symbol_sprint_basic

2006-05-19  Li Guanglei <guanglei@cn.ibm.com>

	Patch from Mao Bibo (bibo.mao@intel.com)
	* tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
	print the address in IA64

2006-05-19  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/ioscheduler.stp: change . to -> operator to get the
	elevator name
	
2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/LKET/*: tracing tapsets of LKET
	* tapset/context.stp: add stp_pid() func
	* tapset/ppc64/syscalls.stp: add conditional preprocessing
	since sys64_time is removed from kernel >= 2.6.16

2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/tskschedule.stp: deleted, merge into scheduler.stp
	* tapset/scheduler.stp:   incorporate tskschedule.stp
	
2006-05-17  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp: Rename signal.send to signal_send and process.complete
	to process_complete, to allow process.* to work properly.
	* process.stp (_IS_ERR): declare parameter type
	* process.stp (process.create): correct new_pid assignment
	* scheduler.stp: New scheduler tapset

2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
	* tapset/memory.stp:      generic pagefault tapsets from LKET
	* tapset/networking.stp:  generic networking tapsets from LKET
	* tapset/scsi.stp:        generic scsi tapsets from LKET
	* tapset/tskschedule.stp: generic task scheduler tapsets from LKET
	* tapset/process.stp:     changes to process.exec alias


2006-05-16  David Smith  <dsmith@redhat.com>

	* conversions.stp (hexstring, string): Removed functions.  Because
	of parser changes, "string" is now a reserved word and cannot be a
	function name.  Use 'sprintf("0x%x", num)' to replace hexstring()
	and either 'sprint(num)' or 'sprintf("%d", num)' to replace
	string().

	* syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
	syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
	syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
	'string()' calls to 'sprint()' calls.
	* syscalls2.stp (syscall.sched_get_priority_max,
	syscall.sched_get_priority_min, syscall.sched_getscheduler,
	syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
	syscall.setfsuid16, syscall.setgid, syscall.setgid16,
	syscall.setuid, syscall.setuid16, syscall.ssetmask,
	syscall.timer_delete, syscall.timer_getoverrun): Ditto.
	* i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
	syscall.sigreturn): Ditto.
	* ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
	* x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
	Ditto.

	* test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
	generated systemtap code.

2006-05-14  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
	is complete and works on different archs.	

2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

	* context.stp (probefunc): remove use of labels
	* task.stp: functions to retrieve task information
	* process.stp: tapset for process-related events

2006-05-08  Josh Stone  <joshua.i.stone@intel.com>

	PR 2594
	From Thang P Nguyen <thang.p.nguyen@intel.com>
	* context.stp (probefunc): expands ability to detect the function
	for different types of probes.

2006-05-05  Frank Ch. Eigler  <fche@elastic.org>

	PR 2643
	* syscalls.stp: Put back some dummy syscall.exit*.return probes.

2006-05-03  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp, errno.stp: Note/eliminate some retval() duplication.

2006-04-27  Martin Hunt  <hunt@redhat.com>

	* endian.stp (set_endian): Remove "pure" to prevent
	this from optimizing away.

2006-04-21  Frank Ch. Eigler  <fche@elastic.org>

	* aux_syscalls.stp (_fildes_u): Declare return value type.

2006-04-18  Frank Ch. Eigler  <fche@elastic.org>

	* conversions.stp (string, hex_string): Use snprintf for safety.

2006-04-18  Martin Hunt  <hunt@redhat.com>

	* conversions.stp (user_string): Reenable error message.

2006-04-17  Martin Hunt  <hunt@redhat.com>

	* endian.stp (set_endian): New function.

2006-03-06  Martin Hunt  <hunt@redhat.com>

	* system.stp: New tapset. 

2006-03-01  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr. 

	* syscalls.stp (bind): Call _struct_sockaddr_u().

	* errno.stp (errno_str): Complete rewrite in C for speed and
	accuracy.
	(returnstr): New function for syscall tapet.
	
2006-02-22  Frank Ch. Eigler  <fche@elastic.org>

	* timestamp.stp (get_cycles): New function.

2006-02-21  Martin Hunt  <hunt@redhat.com>

	* context.stp: Fix definition of returnval(). Now the same as retval().
	Cleanup needed. Only one can survive.

2006-02-17  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (cpu): Clone undocumented cpuid() function.

2006-02-14  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: More updates.

2006-02-14  Frank Ch. Eigler  <fche@elastic.org>

	* queue_stats.stp: New tapset.

2006-02-14  Mark McLoughlin  <markmc@redhat.com>

	* aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/

2006-02-14  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_struct_timeval_u): New function.
	(_struct_timeval): New function.
	(_struct_timespec_u): New function.
	(_struct_timespec): New function.	
	(_struct_itimerval_u): New function:
	(_struct_itimerval): New function:	
	(_signal_name): New function.
	(_module_flags_str): Fixed.

	* syscalls2.stp (syscall.setitimer): Use new function
	_struct_itimerval_u().

	* syscalls.stp: Latest version. Many changes.
	
2006-02-08  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp(_msync_flag_str): Fix.
	(_wait_opt_str): Fix.
	* syscalls.stp: Latest.
	
2006-02-07  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Latest.
	* syscalls2.stp: Commented out pciconfig calls. Those
	need to go in arch-specific directories.

	* aux_syscalls.stp (_access_mode_str): Fix.
	(_mmap_flags): New Function.
	(_mprotect_prot_str): Fix.
	(__string): New.
	(__get_argv): New.
	(__fork_flags): New.

2006-02-01  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: New syscall file.
	* syscall2.stp: More syscalls.
	* i686/syscalls.stp: x86-specific calls.
	* x86_64/syscalls.stp: x86_64-specific calls.

2006-01-30  Martin Hunt  <hunt@redhat.com>

	* context.stp (probefunc): New function.
	(is_return): New function.
	(returnval): New function.

2006-01-15  Frank Ch. Eigler  <fche@elastic.org>

	* logging.stp: Revert.

2006-01-10  Martin Hunt  <hunt@redhat.com>

	* logging.stp: Don't set STAP_SESSION_STOPPING.
	That it done in _stp_exit().