]> sourceware.org Git - systemtap.git/blob - tapset/ChangeLog
2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
[systemtap.git] / tapset / ChangeLog
1 2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>
2
3 From Bai Weidong <baiwd@cn.fujitsu.com>
4 * aux_syscalls.stp (__sem_flags): Add the missed mode display,
5 Fix calculation error when string is empty.
6
7 2007-11-21 Zhaolei <zhaolei@cn.fujitsu.com>
8
9 From Bai Weidong <baiwd@cn.fujitsu.com>
10 * syscalls2.stp (rt_sigsuspend): Fix the semantic error caused by
11 the difference of kernel versions on IA64.
12
13 2007-11-14 Zhaolei <zhaolei@cn.fujitsu.com>
14
15 From Lai Jiangshan <laijs@cn.fujitsu.com>
16 * signal.stp (signal.do_action): Call __get_action_mask to get mask
17 to fix semantic error of accessing a struct.
18 * signal.stp (__get_action_mask): Add.
19
20 2007-11-12 Martin Hunt <hunt@redhat.com>
21
22 * logging.stp (print_char): Remove. Now implemented by
23 stap.
24 (log): Add a comment that it is deprecated.
25
26 2007-11-12 Martin Hunt <hunt@redhat.com>
27
28 * syscalls2.stp (sys_remap_file_pages: : Change kernel
29 version check to >= 2.6.24.
30
31 2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>
32
33 From Lai Jiangshan <laijs@cn.fujitsu.com>
34 * rpc.stp (clones_from_clnt): Use deref to check, then use
35 atomic_read to read an atomic_t to avoid compilation error of
36 type matching.
37 (tasks_from_clnt): Ditto.
38
39 2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>
40
41 From Cai Fei <caifei@cn.fujitsu.com>
42 * rpc.stp (sunrpc.clnt.call_sync): Define procname only for
43 kernel>=2.6.17.
44 (sunrpc.clnt.call_async): Ditto.
45
46 2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>
47
48 From Cai Fei <caifei@cn.fujitsu.com>
49 * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel
50 panic.
51
52 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>
53
54 From Cai Fei <caifei@cn.fujitsu.com>
55 * nfsd.stp: Fix the semantic error caused by the difference of
56 kernel versions.
57 * nfs_proc.stp: Ditto.
58
59 2007-11-1 Will Cohen <wcohen@redhat.com>
60
61 * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel
62 version greater than 2.6.23.
63
64 2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>
65
66 From Lai Jiangshan <laijs@cn.fujitsu.com>
67 * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT().
68 (tasks_from_clnt): Ditto.
69
70 2007-10-17 Martin Hunt <hunt@redhat.com>
71 PR5000
72 * endian.stp (set_endian): Remove.
73
74 2007-10-15 Dave Wilder <dwilder@us.ibm.com>
75
76 *aux_syscalls.stp:_dfd_str Added test for 32-bit value of AT_FDCWD
77
78 2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>
79
80 From Cai Fei <caifei@cn.fujitsu.com>
81 * conversions.stp: Add a function kernel_string_n for copy
82 non-0-terminated string with fixed length from kernel space at
83 given address.
84 * stapfuncs.5.in: Add kernel_string_n.
85 * nfsd.stp: Using kernel_string_n to copy non-0-terminated string
86 with fixed length from kernel space at given address.
87 * nfs_proc.stp: Ditto.
88
89 2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>
90
91 * queue_stats.stp (qsq_start): Fix problem that compile fails when
92 calling qsq_utilization or other query functions next to qsq_start.
93
94 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
95
96 * queue_stats.stp (qsq_utilization): Update queue account datas
97 before calculate.
98 (qsq_blocked): Ditto.
99 (qsq_wait_queue_length): Ditto.
100 (qsq_service_time): Ditto.
101 (qsq_wait_time): Ditto.
102 (qsq_throughput): Ditto.
103
104 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
105
106 From Cai Fei <caifei@cn.fujitsu.com>
107 * nfs_proc.stp (__nfs_write_data_info): Add data-access code for
108 count, valid and timestamp.
109
110 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>
111
112 * udp.stp: Add name argument for all probes.
113
114 2007-10-10 Martin Hunt <hunt@redhat.com>
115
116 * aux_syscalls.stp (_stp_lookup_str): When defaulting
117 to a numeric value, append, don't overwrite.
118
119 2007-10-10 Zhaolei <zhaolei@cn.fujitsu.com>
120
121 From Lai Jiangshan <laijs@cn.fujitsu.com>
122 * aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str
123 if val is 0.
124
125 2007-10-09 Mike Mason <mmlnx@us.ibm.com>
126
127 * rpc.stp: Replaced atomic_read()'s with kread()'s
128
129 2007-10-09 Martin Hunt <hunt@redhat.com>
130 PR5153
131 * aux_syscalls.stp (_sighandler_str): No
132 sa_restorer field for IA64.
133
134 2007-10-09 Martin Hunt <hunt@redhat.com>
135
136 * syscalls2.stp (sys_signal): Call
137 _sighandler_str().
138
139 * aux_syscalls.stp (_stp_sigset_str): Don't
140 include SIG_0.
141 (_sighandler_str): New.
142
143 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
144
145 * queue_stats.stp (qsq_start): Add destruction for qs_utime.
146
147 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
148
149 From Cai Fei <caifei@cn.fujitsu.com>
150 * memory.stp (addr_to_node): Fix the compilation error of function
151 addr_to_node on IA64.
152
153 2007-10-05 Martin Hunt <hunt@redhat.com>
154
155 * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
156 around compat code.
157
158 * syscalls2.stp (rt_sigaction, sigaction): Call
159 _struct_sigaction_u().
160
161 * aux_syscalls.stp (_struct_timeval): Removed. No longer
162 necessary now that we have structure access in scripts.
163 (_struct_timespec): Ditto.
164 (_struct_itimerval): Ditto.
165 (_struct_timezone_u): Remove random CATCH_DEREF_FAULT()
166 line.
167 (_stp_sigset_str): New.
168 (_struct_sigaction_u): New.
169
170 2007-10-04 Frank Ch. Eigler <fche@elastic.org>
171
172 * inet.stp: New tapset for htonl and friends.
173
174 2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>
175
176 * queue_stats.stp (qsq_print): Make value of ops/s output as float
177
178 2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>
179
180 * aux_syscalls.stp(_sockopt_level_str): Add support for protocol
181 number 134~137.
182 * socket.stp (global define,begin): Ditto.
183
184 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>
185
186 * tcp.stp: Add name argument for all probes.
187 * tcp.stp (tcp.setsockopt.return): Add comment.
188
189 2007-10-01 Martin Hunt <hunt@redhat.com>
190
191 * aux_syscalls.stp (_str_lookup_str): Print unmatched
192 values in hex.
193
194 2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
195
196 * socket.stp (_success_check): Fix compare method.
197
198 2007-09-27 Martin Hunt <hunt@redhat.com>
199
200 * aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
201 New functions to efficiently and safely read arrays of values
202 and return a string.
203 (_signal_name): Reimplement using _stp_lookup_str().
204 (_semctl_cmd): Ditto.
205 (__fork_flags): Ditto.
206 (_mmap_flags): Ditto.
207 (_mprotect_prot_str): Ditto.
208 (_shmat_flags_str): Ditto.
209 (_at_flag_str): Ditto.
210 (get_mmap_args): Complete rewrite for safety and correctness.
211
212 2007-09-27 Wenji Huang <wenji.huang@oracle.com>
213
214 * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
215 * nfs.stp (__nfsi_ndirty) : Ditto.
216 * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
217
218 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
219
220 From Cai Fei <caifei@cn.fujitsu.com>
221 * rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
222 definition for probe sunrpc.clnt.shutdown_client, because it
223 is in the man page but not defined in tapset.
224
225 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
226
227 From Cai Fei <caifei@cn.fujitsu.com>
228 * rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
229 the output format of flags in argstr from hex to decimal just
230 to make it same as other probes.
231
232 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
233
234 * tcp.stp (sendmsg.return): Fix description of size variable.
235 * tcp.stp (recvmsg.return): Ditto.
236
237 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
238
239 * socket.stp (aio_read): Fix compile error with kernel version
240 less than 2.6.19.
241 * socket.stp (aio_write): Ditto.
242
243 2007-09-26 Mike Mason <mmlnx@us.ibm.com>
244
245 * vfs.stp:
246 Specified explicit types for __find_bdevname() parameters
247 and return value. The types could not be determined correctly
248 when __find_bdevname() was used in nfs.stp
249
250 Added __page_index() to work around problem dereferencing unions
251 in stap language.
252
253 Made generic.fop.sendfile conditional on kernel <= 2.6.22.
254 generic_file_sendfile() was removed in 2.6.23.
255
256 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
257
258 From Lai Jiangshan <laijs@cn.fujitsu.com>
259 * syscall.stp (syscall.brk): Add probe point
260 kernel.function("ia64_brk").
261 * syscall.stp (syscall.mremap): Add probe point
262 kernel.function("ia64_mremap").
263
264 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
265
266 From Lai Jiangshan <laijs@cn.fujitsu.com>
267 modify field-access operator from "." to "->" in all files.
268
269 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
270
271 * syscalls.stp (adjtimex.return): Improve retstr.
272 * aux_syscalls.stp: Add a function(_adjtimex_return_str) for
273 adjtimex.return.
274
275 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
276
277 * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
278
279 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
280
281 * nfs_proc.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
282
283 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
284
285 * signal.stp (_signal.send.part*): Remove sinfo alias variable,
286 since it's a struct rather than integral value.
287
288 2007-09-25 Martin Hunt <hunt@redhat.com>
289
290 * syscalls2.stp (sys_readlinkat): Make optional.
291
292 * aux_syscalls.stp (_struct_compat_timeval_u): ifdef
293 CONFIG_COMPAT so buildok test will pass.
294
295 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
296
297 From Cai Fei <caifei@cn.fujitsu.com>
298 * rpc.stp Fix the wrong calling of returnstr($return) to
299 returnstr(1) or returnstr(2).
300
301 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
302
303 From Cai Fei <caifei@cn.fujitsu.com>
304 * rpc.stp Add function for probe point sunrpc.clnt.create_client.
305
306 2007-09-24 Martin Hunt <hunt@redhat.com>
307
308 * aux_syscalls.stp (_at_flag_str): Add some more flags.
309 * syscalls2.stp (openat): Call _dfd_str().
310
311 2007-09-24 David Smith <dsmith@redhat.com>
312
313 * nfsd.stp (__svc_fh): Added missing semicolon.
314
315 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
316
317 * aux_syscalls.stp: Add missing CATCH_DEREF_FAULT()s.
318
319 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
320
321 * inet_sock.stp, ioblock.stp, rpc.stp, scsi.stp, socket.stp,
322 tcp.stp: Add /* pure */ to embedded-C functions.
323
324 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
325
326 * conversions.stp (user_string): Redefine in terms of user_string2.
327
328 2007-09-23 Ulrich Drepper <drepper@redhat.com>
329
330 * syscalls2.stp (readlinkat): Add.
331
332 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
333
334 From Lai Jiangshan <laijs@cn.fujitsu.com>
335 * aux_syscalls.stp (_sys_open_flag_str): Fix bug that missing
336 "O_ASYNC".
337
338 From Lai Jiangshan <laijs@cn.fujitsu.com>
339 * aux_syscalls.stp: Add a function _mremap_flags.
340 * syscalls.stp (syscall.mremap): Use _mremap_flags instead of
341 _mmap_flags.
342
343 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
344
345 * aux_syscalls.stp(_reboot_magic_str) Fix the problem that
346 LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
347
348 2007-09-19 Martin Hunt <hunt@redhat.com>
349 PR 2295
350 * syscalls.stp (sys_bdflush): Make optional.
351 (sys_madvise): Ditto.
352 (sys_mincore): Ditto.
353 (sys_mlock): Ditto.
354 (sys_mlockall): Ditto.
355 (sys_mprotect): Ditto.
356 (sys_mremap): Ditto.
357 (sys_msync): Ditto.
358 (sys_munlock): Ditto.
359 (sys_munlockall): Ditto.
360 * syscalls2.stp (sys_remap_pages): Make optional.
361 * ppc64/syscalls.stp (ppc_rtas): Make optional.
362
363 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
364
365 * syscall.stp(getrusage) Fix the output of getrusage's argstr
366 when who is set to -2.
367
368 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
369
370 From Lai Jiangshan <laijs@cn.fujitsu.com>
371 * ia64/syscalls.stp Add a probe point syscall.sigaltstack for
372 ia64.
373 * signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
374 for signal.force_segv.
375
376 2007-09-13 David Smith <dsmith@redhat.com>
377
378 * task.stp (task_open_file_handles): Fixed for kernels less than
379 version 2.6.15.
380 (task_max_file_handles): Ditto.
381
382 2007-09-13 Martin Hunt <hunt@redhat.com>
383
384 * aux_syscalls.stp: Replace get_user calls with __stp_get_user.
385
386 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
387
388 * aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
389 when calling with addrlen set to 0.
390
391 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
392
393 * aux_syscalls.stp (_module_flags_str): Modify combination of
394 flags' values.
395
396 2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
397
398 From Lai Jiangshan <laijs@cn.fujitsu.com>
399 * syscalls2.stp (quotactl): Init special_str before use.
400 (rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
401
402 2007-08-31 Zhaolei <zhaolei@cn.fujitsu.com>
403 From Lai Jiangshan <laijs@cn.fujitsu.com>
404 * aux_syscalls.stp (_mknod_mode_str): Fix file type
405 judgement error.
406
407 2007-08-30 Wenji Huang <wenji.huang@oracle.com>
408
409 * nfs.stp (__iov_length): Update.
410 (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
411 * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
412 (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
413 generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
414 (vfs.__set_page_dirty_buffers.return): Add condition.
415 (vfs.remove_from_page_cache.return): Fix typo.
416 (vfs.block_sync_page.return): Remove size and units.
417
418 2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>
419
420 * syscalls2.stp (syslog): Make $buf output as address in argstr.
421
422 2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
423
424 * syscalls2.stp (sysfs): Set argstr's format different
425 by value of option arg.
426
427 2007-08-28 Wenji Huang <wenji.huang@oracle.com>
428
429 * tcp.stp (sockstate): Fix typo.
430
431 2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
432
433 * syscalls.stp (bdflush): Add comma between args in argstr
434 Set second parameter(data)'s type by first parameter(func)'s
435 value in argstr.
436
437 2007-08-27 Martin Hunt <hunt@redhat.com>
438
439 * context.stp (module_name): New. Returns the current
440 module name.
441
442 * tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
443
444 2007-08-27 Wenji Huang <wenji.huang@oracle.com>
445
446 * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.
447
448 2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>
449
450 * syscalls2.stp(sendto): Set $addr as content string in argstr.
451
452 2007-08-24 Wenji Huang <wenji.huang@oracle.com>
453
454 * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
455 (scheduler.migrate): Modify evaluating cpu_from with task_cpu.
456
457 2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>
458
459 * syscalls2.stp(send): Add len argument into argstr.
460
461 2007-08-09 William Cohen <wcohen@redhat.com>
462
463 * syscalls2.stp (compat_sys_utimensat): Correct function arg.
464
465 2007-08-23 Martin Hunt <hunt@redhat.com>
466
467 * syscalls2.stp (sys_tee.return): Make optional
468
469 2007-08-23 Martin Hunt <hunt@redhat.com>
470
471 * aux_syscalls.stp (_struct_compat_timeval_u): Fix
472 array reference.
473 (_struct_compat_timespec_u): Cast args to long.
474
475 2007-08-23 Martin Hunt <hunt@redhat.com>
476
477 From Cai Fei <caifei@cn.fujitsu.com>
478 * aux_syscalls.stp (_waitid_opt_str): New.
479 (_wait4_opt_str): Just handle wait4 options.
480 * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
481
482 2007-08-23 Wenji Huang <wenji.huang@oracle.com>
483
484 * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating
485 sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19.
486 (sunrpc.sched.delay,sunrpc.sched.delay): Fix typo.
487 (sunrpc.*.return): Change name by adding "return".
488
489 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
490
491 * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE
492 (used in send, sendto, sendmsg and compat_sys_sendmsg).
493 Change name of _send_flags_str to _sendflags_str for unify with
494 _recvflags_str.
495
496 * syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change
497 name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
498
499 2007-08-22 Martin Hunt <hunt@redhat.com>
500
501 * ppc64/syscalls.stp: Remove a bunch of
502 non-ppc64 specific probes.
503
504 * syscalls.stp (compat_sys_epoll_ctl): New.
505 (compat_sys_epoll_wait): New.
506 (sys_epoll_pwait): New.
507 (compat_sys_epoll_pwait): New.
508 (compat_sys_keyctl): New.
509 (compat_sys_mq_open): New.
510 (compat_sys_futex): New.
511 (compat_sys_mq_timedsend): New.
512 (compat_sys_mq_timedreceive): New.
513 (compat_sys_mq_notify): New.
514 (compat_sys_mq_getsetattr): New.
515 (init_module): Make optional and quote args.
516 (sys_eventfd): New.
517
518 * syscalls2.stp (sys_splice): New.
519 (sys_vmsplice): New.
520 (compat_sys_vmsplice): New.
521 (sys_tee): New.
522 (sys_signalfd): New.
523 (compat_sys_signalfd): New.
524 (sys_timerfd): New.
525 (compat_sys_timerfd): New.
526 (old32_readdir): New.
527
528 2007-08-22 Martin Hunt <hunt@redhat.com>
529
530 * aux_syscalls.stp (_utimensat_flag_str): New.
531 (_dfd_str): New.
532 (_struct_timeval2_u): Deleted.
533 (_struct_timeval_u): Take a number of structs to decode.
534 (_struct_compat_timeval2_u): Deleted
535 (_struct_compat_timeval_u): Take a number of structs to decode.
536 (_struct_timespec_u): Take a number of structs to decode.
537 Recognize UTIME_NOW and UTIME_OMIT.
538 (_struct_compat_timespec_u): Ditto.
539
540 * syscalls.stp (compat_sys_old_getrlimit): Removed.
541 (sys_migrate_pages): New.
542 (sys_move_pages): New.
543
544 * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls
545 sys_sigprocmask.
546 (compat_sys_sysinfo): New.
547 (compat_sys_rt_sigtimedwait): New.
548 (sys_utimensat, compat_sys_utimensat): New.
549
550 * ppc64/syscalls.stp (compat_sys_sigpending): Removed.
551 Calls sys_ func.
552 (compat_sys_setrlimit): Ditto.
553 (compat_sys_getrlimit): Ditto.
554 (compat_sys_old_getrlimit): Ditto.
555 (compat_sys_getrusage): Ditto.
556 (compat_sys_wait4): Ditto.
557 (compat_sys_sched_setaffinity): Ditto.
558 (compat_sys_sched_getaffinity): Ditto.
559
560 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
561
562 * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip
563 with function addr_from_rqst to make it compatible in kernel>=2.6.19
564 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo.
565 (nfsd.unlink): Fix reference to variable iap.
566
567 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
568
569 * nfs.stp (__iov_length): Updated, Temporary here.
570 * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in.
571 (nfs.proc?.*): Modify evaluating count and offset.
572 (nfs.proc?.read.return): Delete evaluating size and units.
573 (nfs.proc?.write.return): Modify evaluating size.
574 (nfs.proc?.create): Modify evaluating filename and filelen.
575 (nfs.proc?.rename): Fix typo.
576
577 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>
578
579 * syscalls2.stp (syscall.setdomainname): Add argstr content
580 (argstr = "" -> argstr = sprintf("%p, %d", $name, $len)).
581
582 2007-08-21 Frank Ch. Eigler <fche@elastic.org>
583
584 From Cai Fei <caifei@cn.fujitsu.com>:
585 * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
586 variables.
587
588 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
589
590 * syscalls2.stp (syscall.select): Fixed variable name error
591 (timeout_uaddr = $tv->$tvp).
592 * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
593 used in recv, recvfrom, recvmsg, compat_sys_recvmsg
594
595 2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
596
597 * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not
598 assigned to any inode.
599
600 2007-08-20 Wenji Huang <wenji.huang@oracle.com>
601
602 * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
603 (__iov_length): New function.
604 (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
605 nfs.aop.release_page): Fix typo.
606
607 2007-08-17 Martin Hunt <hunt@redhat.com>
608 From Lai Jiangshan <laijs@cn.fujitsu.com>
609 * syscalls.stp (creat): Fix argstr.
610
611 2007-08-17 Wenji Huang <wenji.huang@oracle.com>
612
613 * ioscheduler.stp (ioscheduler.elv_add_request,
614 ioscheduler.elv_completed_request): Add checking $rq.
615
616 * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
617
618 2007-08-16 Frank Ch. Eigler <fche@elastic.org>
619
620 PR 1315.
621 * target_set.stp: New tapset file.
622
623 2007-08-16 Martin Hunt <hunt@redhat.com>
624
625 * aux_syscalls.stp (_sock_family_str):
626 Add PF_IUCV, PF_RXRPC, PF_TIPC.
627
628 From zhaolei@cn.fujitsu.com
629 Remove PF_UNIX. PF_LOCAL is correct.
630
631 2007-08-16 Martin Hunt <hunt@redhat.com>
632
633 * aux_syscalls.stp (__get_argv): Add parameter to
634 optionally skip the first argv (argv[0]).
635 (__get_compat_argv): Ditto.
636
637 * syscalls.stp (execve): Set args to the whole argv.
638 For argstr use filename plus argv starting at [1].
639 (compat_execve): Ditto.
640 * ppc64/syscalls.stp (sys32_exevve): Ditto.
641
642 From Cai Fei <caifei@cn.fujitsu.com>
643 * syscalls.stp (sts_getpgid): Add pid arg.
644
645 2007-08-16 Wenji Huang <wenji.huang@oracle.com>
646
647 * errno.stp: Fix Typo for EADV.
648
649 2007-08-15 Wenji Huang <wenji.huang@oracle.com>
650
651 * aux_syscalls.stp (_reboot_flag_str,_futex_op_str,_mprotect_prot_str,
652 _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str,
653 _rusage_who_str): Add new entries, modify default return string.
654
655 2007-08-15 Martin Hunt <hunt@redhat.com>
656
657 * x86_64/syscalls.stp: Add support for sys32_mmap[2],
658 sys32_vm86_warning, and sys32_pipe.
659 * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls.
660 * aux_syscalls.stp (get_mmap_args): Moved here.
661 * syscalls.stp: Add sys32_alarm.
662 * syscalls2.stp: Add sys32_uname.
663
664 2007-08-15 Frank Ch. Eigler <fche@elastic.org>
665
666 * context.stp (cpuid, cpu): Use smp_processor_id().
667
668 2007-08-12 Wenji Huang <wenji.huang@oracle.com>
669
670 * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to
671 policy entries, FSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
672
673 2007-08-10 Josh Stone <joshua.i.stone@intel.com>
674
675 * conversions.stp (kernel_string, kernel_long, kernel_int,
676 kernel_short, kernel_char, user_string_warn): Use the
677 CONTEXT->error_buffer to create an error message instead of a static
678 local array.
679
680 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
681
682 From "Zhaolei" zhaolei@cn.fujitsu.com:
683 * syscalls.stp (msync.return): Correct name variable.
684
685 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
686
687 From "Zhaolei" zhaolei@cn.fujitsu.com:
688 * aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
689
690 2007-08-09 Frank Ch. Eigler <fche@elastic.org>
691
692 From Cai Fei <caifei@cn.fujitsu.com>:
693 * aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
694
695 2007-08-09 William Cohen <wcohen@redhat.com>
696
697 * tapset/syscalls.stp (syscall.compat_execve,
698 syscall.compat_execve.return):
699 * tapset/syscalls2.stp (syscall.compat_sys_semtimedop,
700 syscall.compat_sys_semtimedop.return):
701 * tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
702 syscall.set_zone_reclaim.return): Make optional.
703
704 2007-08-08 Frank Ch. Eigler <fche@elastic.org>
705
706 From "Zhaolei" zhaolei@cn.fujitsu.com:
707 * aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
708
709 2007-08-03 Martin Hunt <hunt@redhat.com>
710
711 * aux_syscalls.stp (__get_compat_argv): Add cast.
712
713 2007-07-31 Martin Hunt <hunt@redhat.com>
714
715 * syscalls*: Move sys32_sysctl to arch dirs.
716
717 2007-07-31 Martin Hunt <hunt@redhat.com>
718
719 * syscalls.stp (clock_nanosleep): Fix flags string.
720 * syscalls2.stp: Fix typo.
721
722 2007-07-31 Martin Hunt <hunt@redhat.com>
723
724 * */syscalls.stp: Added mmap functions.
725 Continued moving common compatibility functions to
726 the main tapset.
727
728 * aux_syscalls.stp (_shmat_flags_str): New.
729 (__get_compat_argv): New.
730
731 * syscalls.stp (adjtimex): Just print hex argument.
732 (compat_adjtimex): New.
733 (clock_getres): Also probe compat_clock_getres.
734 (clock_gettime): Also probe compat funcs.
735 (compat_clock_nanosleep): New.
736 (compat_execve): New.
737 (fstatat): New.
738 (get[e][gu]id): Also probe sys32.
739 (getsockopt): Make optional. Also probe compat.
740 (mmap, mmap2): These are arch-specific, so move to individual
741 architecture subdirs.
742 (compat_sys_msgctl): New.
743 (compat_sys_msgrcv): New.
744 (compat_sys_msgsnd): New.
745
746 * syscalls.stp (pread32): Remove. It calls pread64 .
747 (quotactl): Make optional.
748 (recv): Probe correct function.
749 (recvfrom): Fix args.
750 (compat_sys_recvmsg): New.
751 (semctl): Make optional.
752 (compat_sys_semctl): New.
753 (semget): Make optional.
754 (semop): Make optional.
755 (semtimedop): Make optional.
756 (compat_sys_semtimedop): New.
757 (send): Make optional.
758 (sendmsg): Make optional.
759 (compat_sys_sendmsg): New.
760 (sendto): Make optional.
761 (setsockopt): Make optional. Add compat.
762 (shmat): New.
763 (compat_sys_shmat): New.
764 (shmctl): New.
765 (compat_sys_shmctl): New.
766 (shmdt): New.
767 (shmget): New.
768 (shutdown): Make optional.
769 (socket): Make optional.
770 (socketpair): Make optional.
771 (swapoff): Make optional.
772 (swapon): Make optional.
773 (sysctl): Add probe on sys32.
774
775 2007-07-31 Frank Ch. Eigler <fche@elastic.org>
776
777 PR 4793
778 * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
779 aliases.
780
781 2007-07-30 Dave Wilder <dwilder@us.ibm.com>
782
783 PR 4794
784 * syscalls2.stp (syscall.pread and syscall.pread32)
785 For s390x only changed the $buf argument to $ubuf.
786 Change the format for count and position from %p to %d
787 to make it consistant with sys_read and sys_write.
788
789 2007-07-25 Mike Mason <mmlnx@us.ibm.com>
790
791 PR 4386
792 * memory.stp (vm.pagefault, vm.pagefault.return):
793 __handle_mm_fault renamed back to handle_mm_fault in 2.6.23.
794 Changed probes to look for either name in mm/memory.c and removed
795 kernel version check.
796 * task.stp (task_cpu): thread_info in task_struct changed
797 to stack in 2.6.23. Usage appears to be the same as before.
798
799 2007-07-17 Mike Mason <mmlnx@us.ibm.com>
800
801 * socket.stp: changed initialization of *num2str arrays to
802 foreach loops.
803
804 2007-07-16 Martin Hunt <hunt@redhat.com>
805 (compat_sys_io_submit): Fix typo.
806
807 2007-07-16 Martin Hunt <hunt@redhat.com>
808 * syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add.
809 (compat_sys_fstatfs64): Add.
810 (compat_sys_getdents, compat_sys_getdents64): Add.
811 (compat_sys_ioctl): Add.
812 (compat_sys_io_getevents): Add.
813 (compat_sys_io_setup): Add.
814 (compat_sys_io_submit): Add.
815
816 * syscalls2.stp (compat_sys_nfsservctl): Add.
817 (sys_openat): Add.
818 (sys_ppoll): Add;
819 (compat_sys_ppoll): Add.
820 (sys32_pread64): Add.
821 (sys32_pwrite32): Add.
822 (sys_pwrite64): Print quoted string.
823 (sys_pselect6, compat_sys_pselect6): Add.
824 (sys_pselect7, compat_sys_pselect7): Add.
825 (compat_sys_old_readdir): Add.
826 (sys_select): Don't try to print fd_sets.
827 (compat_sys_select): Add.
828 (compat_sys_statfs64): Add.
829
830 * ppc/syscalls.stp: Remove duplicated probes.
831
832 * aux_syscalls.stp (_nfsctl_cmd_str): New.
833 (_fd_set_u): Removed. Not used.
834
835 2007-07-11 Eugene Teo <eteo@redhat.com>
836
837 * tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
838 tcp_setsockopt): New. Also added sockopt and sockstate
839 lookup tables.
840
841 2007-07-10 Martin Hunt <hunt@redhat.com>
842
843 * aux_syscalls.stp (_struct_compat_timeval2_u):
844 Fixes.
845
846 2007-07-10 Martin Hunt <hunt@redhat.com>
847 * syscall*.stp: Major reorganization work.
848 * aux_syscalls.stp (_sigprocmask_how_str): Rewrite
849 in C so real arch-dependent header files
850 will be used.
851 (_mlockall_flags_str): Ditto.
852
853 2007-07-09 Martin Hunt <hunt@redhat.com>
854 * syscalls2.stp (compat_sys_settimeofday): New.
855
856 2007-07-09 Martin Hunt <hunt@redhat.com>
857
858 * syscalls2.stp (compat_sys_utimes): New.
859 * ppc64/syscalls.stp (compat_sys_utimes): Removed.
860
861 * syscalls.stp (compat_sys_futimesat): Fix arg.
862
863 2007-07-03 Martin Hunt <hunt@redhat.com>
864
865 * syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
866 * syscalls2.stp (utimes): Use _struct_timeval2_u.
867 * aux_syscalls.stp (_struct_timeval2_u): New function.
868 (_struct_compat_timeval2_u): New function.
869
870 2007-07-02 Martin Hunt <hunt@redhat.com>
871
872 * context.stp (print_backtrace): If no regs, just
873 print the probe point.
874
875 2007-06-22 Frank Ch. Eigler <fche@elastic.org>
876
877 * syscalls_cfg_trunc.stp: New file for configuration global.
878 * syscalls.stp (add_key, mount), syscalls2.stp (write):
879 Use parameter.
880
881 2007-06-15 Martin Hunt <hunt@redhat.com>
882
883 * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
884 sys_oabi_lstat64.
885 * syscalls2.stp: Fix sys_send. Add sys_sendfile64.
886 * errno.stp: Add arm support.
887
888 2007-06-14 Mike Mason <mmlnx@us.ibm.com>
889
890 * socket.stp: removed extra assignment to "size" in
891 socket.aio_write.return
892
893 2007-06-07 Martin Hunt <hunt@redhat.com>
894 Fallout from PR 3331 fix. Sometimes glibc and the
895 kernel disagree about signed vs unsigned.
896 * aux_syscalls.stp: Rename __uid() to __int32().
897 * syscalls.stp: Change syscall.chown, syscall.fchown,
898 syscall.lchown, and syscall.lseek to use __int32().
899 * syscalls2.stp: Change syscall.setregid, syscall.resgid,
900 syscall.resuid, and syscall.setreuid to use __int32().
901
902 2007-05-17 Martin Hunt <hunt@redhat.com>
903
904 * syscalls.stp: Make optional sys_alarm, sys_fadvise64,
905 sys_gethostname, sys_getpgrp, and sys_llseek.
906 (syscall.getrlimit): Add optional calls sys_old_getrlimit,
907 compat_sys_getrlimit, and compat_sys_old_getrlimit.
908
909 * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
910 sys_signal, sys_sigprocmask, sys_utime
911 (syscall.old_getrlimit): Moved into syscall.getrlimit.
912
913 2007-05-16 Will Cohen <wcohen@redhat.com>
914 PR 4471
915 * syscall2.stp: Correct sys_pipe function args for ia64.
916
917 2007-05-16 Will Cohen <wcohen@redhat.com>
918
919 PR 4510
920 * scheduler.stp: Correct function argument.
921
922 2007-05-09 Martin Hunt <hunt@redhat.com>
923
924 * syscalls2.stp: Added compat_sys_pause to syscall.pause.
925
926 * syscalls.stp: Added sys_lstat64 to syscall.lstat.
927 Added compat_sys_gettimeofday to syscall.gettimeofday.
928
929 * ppc64/syscalls.stp: Remove sys_lstat64.
930 * i686/syscalls.stp: Remove sys_lstat64.
931
932 2007-04-25 David Wilder <dwilder@us.ibm.com>
933
934 * syscall2.stp:syscall.pause added sys32_pause to probe list.
935
936 2007-04-25 David Wilder <dwilder@us.ibm.com>
937
938 * s390x/syscall.stp: Fix bug in syscall.mmap returning the wrong args
939 for 32-bit versions of mmap calls.
940
941 2007-04-24 Will Cohen <wcohen@redhat.com>
942
943 * memory.stp: Update vm.pagefault.return comment.
944
945 2007-04-24 Mike Mason <mmlnx@us.ibm.com>
946
947 * socket.stp: adapted to changes in 2.6.19 socket routines
948
949 2007-04-24 Will Cohen <wcohen@redhat.com>
950
951 * memory.stp: Add matching vm.pagefault.return
952
953 2007-04-23 Frank Ch. Eigler <fche@elastic.org>
954
955 * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
956 switch from __switch_to to context_switch on x86-64 in Ipswitch.
957
958 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
959
960 * scsi.stp: Fix for when the scsi driver is built into the kernel.
961
962 2007-04-11 Martin Hunt <hunt@redhat.com>
963
964 * aux_syscalls.stp: Add in6.h include.
965
966 2007-04-10 Martin Hunt <hunt@redhat.com>
967
968 * logging.stp (print_char): New function.
969
970 * aux_syscalls.stp: Clean up network includes.
971
972 2007-04-09 Mike Mason <mmlnx@us.ibm.com>
973
974 * DEVGUIDE: Added new tapset developer's guide.
975
976 2007-03-30 Frank Ch. Eigler <fche@elastic.org>
977
978 PR 1570.
979 * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
980 to .inline -> .function change.
981
982 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
983
984 * nfsd.stp (nfsd.dispatch): Change initialization of variable
985 client_ip with a call to addr_from_rqst.
986 * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
987 - __rpc_execute returns void now. struct rpc_xprt modified since
988 kernel 2.6.19.
989 * nfs.stp, vfs.stp: Local variables f_dentry renamed, because
990 conflicting with a new #define in kernel header linux/fs.h in 2.6.20.
991
992 2007-02-29 David Wilder <dwilder@us.ibm.com>
993
994 *conversions.stp (kernel_int) added goto success; (PR 4419)
995
996 2007-02-22 David Wilder <dwilder@us.ibm.com>
997
998 * syscalls.stp, s390x/syscall.stp: Created an s390x version of
999 syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return.
1000
1001 2007-02-09 Fr ank Ch. Eigler <fche@elastic.org>
1002
1003 * conversions.stp (*): Make errmsg usage uniform.
1004
1005 2007-02-06 Josh Stone <joshua.i.stone@intel.com>
1006
1007 * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
1008 nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
1009 socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
1010 with kread wherever possible. Some places still have hazards, as
1011 marked with FIXMEs.
1012
1013 * errno.stp (returnstr): Don't use return in tapset C functions.
1014 * aux_syscalls.stp (__uget_timex_m): Ditto.
1015 * nfsd.stp (__get_fh): Ditto.
1016 * nfs.stp, vfs.stp (<many functions>): Ditto.
1017 * string.stp (substr): Ditto. Also make sure start index is valid.
1018
1019 * syscalls.stp (syscall.execve): Change __string to kernel_string.
1020
1021 2007-02-06 Frank Ch. Eigler <fche@elastic.org>
1022
1023 * conversions.stp (kernel_long/int/short/char): New functions.
1024
1025 2007-01-31 Martin Hunt <hunt@redhat.com>
1026
1027 * context.stp (print_backtrace): Modify for new
1028 _stp_stack_print.
1029 (backtrace): Just use _stp_stack_snprint().
1030 (print_stack): Use new _stp_print* functions.
1031 (probefunc): Use _stp_symbol_snprint.
1032
1033 2007-01-26 Josh Stone <joshua.i.stone@intel.com>
1034
1035 * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
1036
1037 2007-01-25 Mike Mason <mmlnx@us.ibm.com>
1038
1039 * socket.stp: Fix for missing SOCK_PASSSEC in kernels earlier
1040 than 2.6.18.
1041
1042 2007-01-25 Martin Hunt <hunt@localhost.localdomain>
1043
1044 * syscalls2.stp: Add sys32_ustat probe.
1045
1046 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
1047
1048 * socket.stp: Fixed bit checking method in sock_flags_num2str()
1049 to match how it's done in the kernel.
1050
1051 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
1052
1053 * socket.stp: New sockets tapset.
1054
1055 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
1056
1057 * string.stp: Added tokenize() and strtol() functions.
1058
1059 2007-01-17 Martin Hunt <hunt@redhat.com>
1060
1061 * syscalls.stp: Add syscall.creat.
1062 * syscalls2.stp: Add compat_sys_open.
1063
1064 2007-01-13 Mike Mason <mmlnx@us.ibm.com>
1065
1066 * ioblock.stp: renamed __bio_direction() to bio_rw_num()
1067
1068 2007-01-12 Mike Mason <mmlnx@us.ibm.com>
1069
1070 * x86_64/syscalls.stp: added ? to request_key aliases
1071 to prevent syscall.* failures on some kernels
1072
1073 2006-12-29 Li Guanglei <guanglei@cn.ibm.com>
1074
1075 From Gui Jian <guij@cn.ibm.com>
1076 * ioscheduler.stp, nfsd.stp, nfs.stp, nfs_proc.stp,
1077 rpc.stp, vfs.stp: patch for 2.6.19 kernel
1078
1079 2006-12-18 Frank Ch. Eigler <fche@elastic.org>
1080
1081 * vfs.stp (ppos_pos): Protect contents with deref(), though
1082 this blocks operation on i686 due to bug #3079.
1083
1084 2006-12-13 Mike Mason <mmlnx@us.ibm.com>
1085
1086 * scheduler.stp: fixed last line in scheduler.ctxswitch to
1087 reference $prev_p->state instead of $prev_p->pid.
1088
1089 2006-12-11 Li Guanglei <guanglei@cn.ibm.com>
1090
1091 From Gui Jian <guij@cn.ibm.com>
1092 * nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
1093
1094 2006-11-29 Li Guanglei <guanglei@cn.ibm.com>
1095
1096 From Gui Jian <guij@cn.ibm.com>
1097 * scheduler.stp, vfs.stp: made idle_balance and
1098 buffer_migrate_page optinal.
1099
1100 2006-11-20 Frank Ch. Eigler <fche@elastic.org>
1101
1102 * context.stp (caller_addr): Declare return type.
1103
1104 2006-11-07 Li Guanglei <guanglei@cn.ibm.com>
1105
1106 From Gui Jian <guij@cn.ibm.com>
1107 * signal.stp, memory.stp: make do_mmap2, copy_cow_page
1108 and signal.handle.return optional since they are obsolete
1109 or failed to probe on 2.6.18.1/ppc64
1110
1111 2006-11-02 Frank Ch. Eigler <fche@elastic.org>
1112
1113 * README: Add a blurb against running these scripts directly.
1114
1115 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
1116
1117 * context.stp: Added proper handling of statement
1118 * probe in probefunc() for IA64 (bz# 3423)
1119
1120 2006-10-16 Li Guanglei <guanglei@cn.ibm.com>
1121 * scsi.stp: check whether rq_disk is empty
1122 * scheduler.stp: revert changes for x86_64
1123
1124 2006-10-13 Li Guanglei <guanglei@cn.ibm.com>
1125 * scsi.stp: add some variables
1126 * scheduler.stp: skip __switch_to on x86_64
1127
1128 2006-10-12 Martin Hunt <hunt@redhat.com>
1129 * context.stp (print_backtrace): Pass in new
1130 kretprobe instance arg.
1131 (backtrace): Ditto.
1132 (is_return): Rewrite.
1133 (stack_size): New.
1134 (stack_used): New.
1135 (stack_unused): New.
1136 (called_addr): New.
1137 (caller): New.
1138
1139 2006-10-12 Li Guanglei <guanglei@cn.ibm.com>
1140 * ioscheduler.stp: bugfix to avoid refer to NULL pointer
1141
1142 2006-10-11 Li Guanglei <guanglei@cn.ibm.com>
1143 * nfs.stp, nfsd.stp: bugfix of pointer conversion on
1144 32-bit platform.
1145 * i686/syscall.stp: make sys_request_key optional since
1146 it failed to probe on 2.6.18/i386
1147
1148 2006-10-04 Frank Ch. Eigler <fche@elastic.org>
1149
1150 * context.stp (probefunc): Return empty string for
1151 userspace (< PAGE_OFFSET) pointers.
1152
1153 2006-09-26 David Smith <dsmith@redhat.com>
1154
1155 * test/run.sh: Changed 'stpd' references to 'staprun'.
1156
1157 2006-09-20 Josh Stone <joshua.i.stone@intel.com>
1158
1159 PR 3233
1160 * timestamp.stp (gettimeofday_ns): New function
1161 (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
1162 Use gettimeofday_ns as the base unit.
1163
1164 2006-09-19 Li Guanglei <guanglei@cn.ibm.com>
1165
1166 From Gui Jian <guijian@cn.ibm.com>
1167
1168 * rpc.stp: Some changes and more comments of RPC tapset
1169
1170 2006-09-18 Martin Hunt <hunt@redhat.com>
1171
1172 * logging.stp (stp_print_binary): New function.
1173 * string.stp: Fix docs.
1174
1175 2006-09-12 Li Guanglei <guanglei@cn.ibm.com>
1176
1177 From Li Xuepeng <xuepengl@cn.ibm.com>
1178
1179 * nfsd.stp, nfs_proc.stp, nfs.stp:
1180 Change NFS file identifier. Change NFS version data type
1181 from String to INT. Add version variable to nfs_open
1182 and nfs_release.
1183
1184 2006-09-11 Li Guanglei <guanglei@cn.ibm.com>
1185
1186 From Gui Jian(guijian@cn.ibm.com>
1187 * rpc.stp: tapsets for RPC activities.
1188
1189 2006-08-30 Li Guanglei <guanglei@cn.ibm.com>
1190
1191 * signal.stp: some changes to arguments and comments
1192 of signal tapset
1193
1194 2006-08-25 Li Guanglei <guanglei@cn.ibm.com>
1195
1196 From Li Xuepeng:
1197 * vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
1198
1199 2006-08-23 Li Guanglei <guanglei@cn.ibm.com>
1200
1201 * vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
1202 vfs layer activities.
1203 * nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
1204 nfs file operations and nfs address space operations on client side.
1205 * nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC
1206 procedure stub functions on client side.
1207 * nfsd.stp: New tapset from Li Xuepeng to probe nfs server side
1208 activities, including some RPC procedure stub functions, nfsd
1209 dispatch routine, and nfsd_* functions
1210
1211 2006-08-22 Li Guanglei <guanglei@cn.ibm.com>
1212
1213 * signal.stp: More variables for signal.do_action and
1214 signal.procmask. New function of get_sigset(). Minor
1215 changes to naming of signal.pend and its comments
1216
1217
1218 2006-08-21 Martin Hunt <hunt@redhat.com>
1219
1220 * string.stp (substr): Rewrite. Make the 3rd parameter
1221 be the length.
1222
1223 2006-08-17 Josh Stone <joshua.i.stone@intel.com>
1224
1225 * signal.stp: Changes on behalf of Manoj S Pattabhiraman:
1226 1. As per the suggestions, i have removed the argstr from the
1227 probe points.
1228 2. Added some checks to find whether the signals generated are
1229 USER or Kernel Mode in signal_handle probe.
1230
1231 2006-08-17 Li Guanglei <guanglei@cn.ibm.com>
1232
1233 * signal.stp: update signal tapsets based on the discussion
1234 with Josh Stone on mailinglist:
1235 1. Added "send2queue" and "name" variable for signal.send.part*
1236 2. Added signal.send.return probe alias
1237 3. Added signal.checkperm and signal.checkperm.return probe alias
1238 4. Commented out signal.handle_stop
1239 5. Alias all signal syscalls to syscall tapsets.
1240
1241 2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>
1242
1243 * ioblock.stp: Added safety checks for __bio_ino() and
1244 __bio_start_sect().
1245
1246 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>
1247
1248 * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
1249 ioblock.stp. Removed/Renamed duplicate variables and probes.
1250
1251 2006-08-09 Josh Stone <joshua.i.stone@intel.com>
1252
1253 * signal.stp: Create a new tapset that addresses process signals.
1254 Much of this was contributed by Manoj Pattabhiraman (IBM).
1255 * process.stp: Remove aliases that now belong in signal tapset
1256 * memory.stp: move pagefault to vm.* namespace, and add many other
1257 virtual-memory themed probes.
1258
1259 2006-08-09 David Smith <dsmith@redhat.com>
1260
1261 * syscalls.stp: Fixed typo in syscall.kexec_load argument
1262 handling.
1263
1264 2006-08-08 Eugene Teo <eteo@redhat.com>
1265
1266 * context.stp (probemod): New function.
1267
1268 2006-07-18 Thang Nguyen <thang.p.nguyen@intel.com>
1269
1270 * context.stp: Modified probefunc() to print the function
1271 name (without the dot) for statement probe on ppc64.
1272
1273 2006-07-17 David Smith <dsmith@redhat.com>
1274
1275 * context.stp: Removed returnval() function. Use $return
1276 instead.
1277 * return.stp: Removed. Use $return instead.
1278
1279 2006-07-17 Tom Zanussi <zanussi@us.ibm.com>
1280
1281 * ioblock.stp: add null bi_bdev check to bio_devname()
1282
1283 2006-07-17 Li Guanglei <guanglei@cn.ibm.com>
1284
1285 * syscalls.stp: make sys_acct, sys_add_key, sys_keyctl
1286 and sys_modify_ldt optional on ppc64 since they are
1287 weak symbol.
1288 * ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
1289 and syscall.umask since they are already defined in
1290 syscalls.stp
1291
1292 2006-07-04 Martin Hunt <hunt@redhat.com>
1293
1294 * syscalls.stp, syscalls2.stp: Use user_string_quoted().
1295
1296 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
1297
1298 * syscalls.stp, syscalls2.stp, ppc64/syscalls.stp:
1299 fix syscall.lstat, syscall.lstat64, syscall.newlstat.
1300 * ppc64/syscalls.stp: fix syscall.compat_sys_statfs and
1301 syscall.sys32_open
1302
1303 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
1304
1305 * memory.stp: add addr_to_node() from Jose R. Santos
1306 (jrs@us.ibm.com)
1307 * syscalls.stp: typo for syscall.lstat
1308
1309 2006-06-30 Martin Hunt <hunt@redhat.com>
1310
1311 * conversions.stp (user_string): Don't generate errors
1312 on faults, just return <unknown>.
1313 (user_string2): New function.
1314 (user_string_warn): New function.
1315
1316 2006-06-26 Martin Hunt <hunt@redhat.com>
1317
1318 * aux_syscalls.stp (_stp_ctime): New function.
1319 (_struct_utimbuf_u): New function.
1320
1321 2006-06-25 Li Guanglei <guanglei@cn.ibm.com>
1322
1323 * syscalls.stp: Changes to AIO related syscalls(io_setup,
1324 io_submit, io_getevents, io_cancel, io_destroy)
1325
1326 2006-06-23 Thang Nguyen <thang.p.nguyen@intel.com>
1327
1328 * tcp.stp: Refined variables and added more
1329 function descriptions.
1330 * udp.stp: UDP tapset.
1331 * inet_sock.stp: common inet_sock functions
1332 for TCP and UDP tapsets.
1333
1334 2006-06-22 Thang Nguyen <thang.p.nguyen@intel.com>
1335
1336 * tcp.stp: TCP tapset (originally from IBM)
1337
1338 2006-06-21 Josh Stone <joshua.i.stone@intel.com>
1339
1340 PR 2525
1341 * timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
1342 Convert to using the runtime-provided _stp_gettimeofday_us().
1343
1344 2006-06-19 Martin Hunt <hunt@redhat.com>
1345
1346 * syscalls.stp: Make the 16-bit calls optional.
1347 * syscalls2.stp: Ditto.
1348
1349 2006-06-09 Martin Hunt <hunt@redhat.com>
1350
1351 * syscalls2.stp: Fix sys_sync.
1352
1353 2006-06-09 Martin Hunt <hunt@redhat.com>
1354
1355 * syscalls2.stp: Fixed the uid and gid calls.
1356
1357 2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
1358
1359 * syscalls.stp: made sys_ftruncate64 optional since it doesn't
1360 exist on 2.6.16*/ppc64
1361
1362 2006-06-08 Thang Nguyen <thang.p.nguyen@intel.com>
1363
1364 * ioblock.stp: new (block I/O activities)
1365
1366 2006-06-06 Josh Stone <joshua.i.stone@intel.com>
1367
1368 * process.stp (create, exec_complete): replace retval() with $return
1369
1370 2006-06-02 Josh Stone <joshua.i.stone@intel.com>
1371
1372 * process.stp (exec, exec_complete): conditionally include
1373 compat_do_execve for 64-bit kernels
1374 * process.stp (handle_signal): use optional probes to alternate
1375 between function or inline
1376
1377 2006-05-30 Martin Hunt <hunt@redhat.com>
1378
1379 * aux_syscalls.stp (_mountflags_str): Rewrite.
1380 (_umountflags_str): New.
1381
1382 * syscalls.stp (fstatfs.return): Add retstr.
1383
1384 * syscalls2.stp (sys_write): Use text_strn().
1385 * syscalls.stp (sys_lseek): Fix.
1386 (sys_llseek): Fix.
1387
1388 * string.stp (text_str): New.
1389 (text_strn): New.
1390
1391 2006-05-26 Martin Hunt <hunt@redhat.com>
1392
1393 * errno.stp: Add octal option for returnstr.
1394
1395 * [i686,x86_64]/syscalls.stp (umask): Print args and return
1396 in octal.
1397 (add_key): Comment out. This syscall is added by a xen patch
1398 and may not be present.
1399 (tux): Ditto.
1400
1401 * syscalls.stp (accept): Fix arg name.
1402
1403 2006-05-25 Martin Hunt <hunt@redhat.com>
1404
1405 * syscalls.stp: Add sys_fcntl and sys_listen.
1406
1407 * syscalls2.stp: Commented out sys_socketcall because it only calls
1408 other system calls which are already probed.
1409
1410 2006-05-25 Martin Hunt <hunt@redhat.com>
1411
1412 * syscall*.stp: Change "0x%p" to "%p".
1413
1414 2006-05-25 Li Guanglei <guanglei@cn.ibm.com>
1415
1416 * scheduler.stp: add prev_task and next_task variable.
1417
1418 2006-05-24 Josh Stone <joshua.i.stone@intel.com>
1419
1420 PR 2677
1421 * context.stp (probefunc): Use _stp_symbol_sprint_basic
1422
1423 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1424
1425 Patch from Mao Bibo (bibo.mao@intel.com)
1426 * tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
1427 print the address in IA64
1428
1429 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1430
1431 * tapset/ioscheduler.stp: change . to -> operator to get the
1432 elevator name
1433
1434 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1435
1436 * tapset/LKET/*: tracing tapsets of LKET
1437 * tapset/context.stp: add stp_pid() func
1438 * tapset/ppc64/syscalls.stp: add conditional preprocessing
1439 since sys64_time is removed from kernel >= 2.6.16
1440
1441 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1442
1443 * tapset/tskschedule.stp: deleted, merge into scheduler.stp
1444 * tapset/scheduler.stp: incorporate tskschedule.stp
1445
1446 2006-05-17 Josh Stone <joshua.i.stone@intel.com>
1447
1448 * process.stp: Rename signal.send to signal_send and process.complete
1449 to process_complete, to allow process.* to work properly.
1450 * process.stp (_IS_ERR): declare parameter type
1451 * process.stp (process.create): correct new_pid assignment
1452 * scheduler.stp: New scheduler tapset
1453
1454 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1455
1456 * tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
1457 * tapset/memory.stp: generic pagefault tapsets from LKET
1458 * tapset/networking.stp: generic networking tapsets from LKET
1459 * tapset/scsi.stp: generic scsi tapsets from LKET
1460 * tapset/tskschedule.stp: generic task scheduler tapsets from LKET
1461 * tapset/process.stp: changes to process.exec alias
1462
1463
1464 2006-05-16 David Smith <dsmith@redhat.com>
1465
1466 * conversions.stp (hexstring, string): Removed functions. Because
1467 of parser changes, "string" is now a reserved word and cannot be a
1468 function name. Use 'sprintf("0x%x", num)' to replace hexstring()
1469 and either 'sprint(num)' or 'sprintf("%d", num)' to replace
1470 string().
1471
1472 * syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
1473 syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
1474 syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
1475 'string()' calls to 'sprint()' calls.
1476 * syscalls2.stp (syscall.sched_get_priority_max,
1477 syscall.sched_get_priority_min, syscall.sched_getscheduler,
1478 syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
1479 syscall.setfsuid16, syscall.setgid, syscall.setgid16,
1480 syscall.setuid, syscall.setuid16, syscall.ssetmask,
1481 syscall.timer_delete, syscall.timer_getoverrun): Ditto.
1482 * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
1483 syscall.sigreturn): Ditto.
1484 * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
1485 * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
1486 Ditto.
1487
1488 * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
1489 generated systemtap code.
1490
1491 2006-05-14 Martin Hunt <hunt@redhat.com>
1492
1493 * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
1494 is complete and works on different archs.
1495
1496 2006-05-09 Josh Stone <joshua.i.stone@intel.com>
1497
1498 * context.stp (probefunc): remove use of labels
1499 * task.stp: functions to retrieve task information
1500 * process.stp: tapset for process-related events
1501
1502 2006-05-08 Josh Stone <joshua.i.stone@intel.com>
1503
1504 PR 2594
1505 From Thang P Nguyen <thang.p.nguyen@intel.com>
1506 * context.stp (probefunc): expands ability to detect the function
1507 for different types of probes.
1508
1509 2006-05-05 Frank Ch. Eigler <fche@elastic.org>
1510
1511 PR 2643
1512 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
1513
1514 2006-05-03 Frank Ch. Eigler <fche@elastic.org>
1515
1516 * context.stp, errno.stp: Note/eliminate some retval() duplication.
1517
1518 2006-04-27 Martin Hunt <hunt@redhat.com>
1519
1520 * endian.stp (set_endian): Remove "pure" to prevent
1521 this from optimizing away.
1522
1523 2006-04-21 Frank Ch. Eigler <fche@elastic.org>
1524
1525 * aux_syscalls.stp (_fildes_u): Declare return value type.
1526
1527 2006-04-18 Frank Ch. Eigler <fche@elastic.org>
1528
1529 * conversions.stp (string, hex_string): Use snprintf for safety.
1530
1531 2006-04-18 Martin Hunt <hunt@redhat.com>
1532
1533 * conversions.stp (user_string): Reenable error message.
1534
1535 2006-04-17 Martin Hunt <hunt@redhat.com>
1536
1537 * endian.stp (set_endian): New function.
1538
1539 2006-03-06 Martin Hunt <hunt@redhat.com>
1540
1541 * system.stp: New tapset.
1542
1543 2006-03-01 Martin Hunt <hunt@redhat.com>
1544
1545 * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr.
1546
1547 * syscalls.stp (bind): Call _struct_sockaddr_u().
1548
1549 * errno.stp (errno_str): Complete rewrite in C for speed and
1550 accuracy.
1551 (returnstr): New function for syscall tapet.
1552
1553 2006-02-22 Frank Ch. Eigler <fche@elastic.org>
1554
1555 * timestamp.stp (get_cycles): New function.
1556
1557 2006-02-21 Martin Hunt <hunt@redhat.com>
1558
1559 * context.stp: Fix definition of returnval(). Now the same as retval().
1560 Cleanup needed. Only one can survive.
1561
1562 2006-02-17 Frank Ch. Eigler <fche@elastic.org>
1563
1564 * context.stp (cpu): Clone undocumented cpuid() function.
1565
1566 2006-02-14 Martin Hunt <hunt@redhat.com>
1567
1568 * syscalls.stp: More updates.
1569
1570 2006-02-14 Frank Ch. Eigler <fche@elastic.org>
1571
1572 * queue_stats.stp: New tapset.
1573
1574 2006-02-14 Mark McLoughlin <markmc@redhat.com>
1575
1576 * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
1577
1578 2006-02-14 Martin Hunt <hunt@redhat.com>
1579
1580 * aux_syscalls.stp (_struct_timeval_u): New function.
1581 (_struct_timeval): New function.
1582 (_struct_timespec_u): New function.
1583 (_struct_timespec): New function.
1584 (_struct_itimerval_u): New function:
1585 (_struct_itimerval): New function:
1586 (_signal_name): New function.
1587 (_module_flags_str): Fixed.
1588
1589 * syscalls2.stp (syscall.setitimer): Use new function
1590 _struct_itimerval_u().
1591
1592 * syscalls.stp: Latest version. Many changes.
1593
1594 2006-02-08 Martin Hunt <hunt@redhat.com>
1595
1596 * aux_syscalls.stp(_msync_flag_str): Fix.
1597 (_wait_opt_str): Fix.
1598 * syscalls.stp: Latest.
1599
1600 2006-02-07 Martin Hunt <hunt@redhat.com>
1601
1602 * syscalls.stp: Latest.
1603 * syscalls2.stp: Commented out pciconfig calls. Those
1604 need to go in arch-specific directories.
1605
1606 * aux_syscalls.stp (_access_mode_str): Fix.
1607 (_mmap_flags): New Function.
1608 (_mprotect_prot_str): Fix.
1609 (__string): New.
1610 (__get_argv): New.
1611 (__fork_flags): New.
1612
1613 2006-02-01 Martin Hunt <hunt@redhat.com>
1614
1615 * syscalls.stp: New syscall file.
1616 * syscall2.stp: More syscalls.
1617 * i686/syscalls.stp: x86-specific calls.
1618 * x86_64/syscalls.stp: x86_64-specific calls.
1619
1620 2006-01-30 Martin Hunt <hunt@redhat.com>
1621
1622 * context.stp (probefunc): New function.
1623 (is_return): New function.
1624 (returnval): New function.
1625
1626 2006-01-15 Frank Ch. Eigler <fche@elastic.org>
1627
1628 * logging.stp: Revert.
1629
1630 2006-01-10 Martin Hunt <hunt@redhat.com>
1631
1632 * logging.stp: Don't set STAP_SESSION_STOPPING.
1633 That it done in _stp_exit().
1634
This page took 0.100451 seconds and 6 git commands to generate.