1 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
3 From Lai Jiangshan <laijs@cn.fujitsu.com>
4 * ia64/syscalls.stp Add a probe point syscall.sigaltstack for
6 * signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
9 2007-09-13 David Smith <dsmith@redhat.com>
11 * task.stp (task_open_file_handles): Fixed for kernels less than
13 (task_max_file_handles): Ditto.
15 2007-09-13 Martin Hunt <hunt@redhat.com>
17 * aux_syscalls.stp: Replace get_user calls with __stp_get_user.
19 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
21 * aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
22 when calling with addrlen set to 0.
24 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
26 * aux_syscalls.stp (_module_flags_str): Modify combination of
29 2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
31 From Lai Jiangshan <laijs@cn.fujitsu.com>
32 * syscalls2.stp (quotactl): Init special_str before use.
33 (rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
35 2007-08-31 Zhaolei <zhaolei@cn.fujitsu.com>
36 From Lai Jiangshan <laijs@cn.fujitsu.com>
37 * aux_syscalls.stp (_mknod_mode_str): Fix file type
40 2007-08-30 Wenji Huang <wenji.huang@oracle.com>
42 * nfs.stp (__iov_length): Update.
43 (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
44 * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
45 (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
46 generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
47 (vfs.__set_page_dirty_buffers.return): Add condition.
48 (vfs.remove_from_page_cache.return): Fix typo.
49 (vfs.block_sync_page.return): Remove size and units.
51 2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>
53 * syscalls2.stp (syslog): Make $buf output as address in argstr.
55 2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
57 * syscalls2.stp (sysfs): Set argstr's format different
58 by value of option arg.
60 2007-08-28 Wenji Huang <wenji.huang@oracle.com>
62 * tcp.stp (sockstate): Fix typo.
64 2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
66 * syscalls.stp (bdflush): Add comma between args in argstr
67 Set second parameter(data)'s type by first parameter(func)'s
70 2007-08-27 Martin Hunt <hunt@redhat.com>
72 * context.stp (module_name): New. Returns the current
75 * tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
77 2007-08-27 Wenji Huang <wenji.huang@oracle.com>
79 * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.
81 2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>
83 * syscalls2.stp(sendto): Set $addr as content string in argstr.
85 2007-08-24 Wenji Huang <wenji.huang@oracle.com>
87 * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
88 (scheduler.migrate): Modify evaluating cpu_from with task_cpu.
90 2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>
92 * syscalls2.stp(send): Add len argument into argstr.
94 2007-08-09 William Cohen <wcohen@redhat.com>
96 * syscalls2.stp (compat_sys_utimensat): Correct function arg.
98 2007-08-23 Martin Hunt <hunt@redhat.com>
100 * syscalls2.stp (sys_tee.return): Make optional
102 2007-08-23 Martin Hunt <hunt@redhat.com>
104 * aux_syscalls.stp (_struct_compat_timeval_u): Fix
106 (_struct_compat_timespec_u): Cast args to long.
108 2007-08-23 Martin Hunt <hunt@redhat.com>
110 From Cai Fei <caifei@cn.fujitsu.com>
111 * aux_syscalls.stp (_waitid_opt_str): New.
112 (_wait4_opt_str): Just handle wait4 options.
113 * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
115 2007-08-23 Wenji Huang <wenji.huang@oracle.com>
117 * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating
118 sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19.
119 (sunrpc.sched.delay,sunrpc.sched.delay): Fix typo.
120 (sunrpc.*.return): Change name by adding "return".
122 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
124 * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE
125 (used in send, sendto, sendmsg and compat_sys_sendmsg).
126 Change name of _send_flags_str to _sendflags_str for unify with
129 * syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change
130 name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
132 2007-08-22 Martin Hunt <hunt@redhat.com>
134 * ppc64/syscalls.stp: Remove a bunch of
135 non-ppc64 specific probes.
137 * syscalls.stp (compat_sys_epoll_ctl): New.
138 (compat_sys_epoll_wait): New.
139 (sys_epoll_pwait): New.
140 (compat_sys_epoll_pwait): New.
141 (compat_sys_keyctl): New.
142 (compat_sys_mq_open): New.
143 (compat_sys_futex): New.
144 (compat_sys_mq_timedsend): New.
145 (compat_sys_mq_timedreceive): New.
146 (compat_sys_mq_notify): New.
147 (compat_sys_mq_getsetattr): New.
148 (init_module): Make optional and quote args.
151 * syscalls2.stp (sys_splice): New.
153 (compat_sys_vmsplice): New.
156 (compat_sys_signalfd): New.
158 (compat_sys_timerfd): New.
159 (old32_readdir): New.
161 2007-08-22 Martin Hunt <hunt@redhat.com>
163 * aux_syscalls.stp (_utimensat_flag_str): New.
165 (_struct_timeval2_u): Deleted.
166 (_struct_timeval_u): Take a number of structs to decode.
167 (_struct_compat_timeval2_u): Deleted
168 (_struct_compat_timeval_u): Take a number of structs to decode.
169 (_struct_timespec_u): Take a number of structs to decode.
170 Recognize UTIME_NOW and UTIME_OMIT.
171 (_struct_compat_timespec_u): Ditto.
173 * syscalls.stp (compat_sys_old_getrlimit): Removed.
174 (sys_migrate_pages): New.
175 (sys_move_pages): New.
177 * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls
179 (compat_sys_sysinfo): New.
180 (compat_sys_rt_sigtimedwait): New.
181 (sys_utimensat, compat_sys_utimensat): New.
183 * ppc64/syscalls.stp (compat_sys_sigpending): Removed.
185 (compat_sys_setrlimit): Ditto.
186 (compat_sys_getrlimit): Ditto.
187 (compat_sys_old_getrlimit): Ditto.
188 (compat_sys_getrusage): Ditto.
189 (compat_sys_wait4): Ditto.
190 (compat_sys_sched_setaffinity): Ditto.
191 (compat_sys_sched_getaffinity): Ditto.
193 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
195 * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip
196 with function addr_from_rqst to make it compatible in kernel>=2.6.19
197 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo.
198 (nfsd.unlink): Fix reference to variable iap.
200 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
202 * nfs.stp (__iov_length): Updated, Temporary here.
203 * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in.
204 (nfs.proc?.*): Modify evaluating count and offset.
205 (nfs.proc?.read.return): Delete evaluating size and units.
206 (nfs.proc?.write.return): Modify evaluating size.
207 (nfs.proc?.create): Modify evaluating filename and filelen.
208 (nfs.proc?.rename): Fix typo.
210 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>
212 * syscalls2.stp (syscall.setdomainname): Add argstr content
213 (argstr = "" -> argstr = sprintf("%p, %d", $name, $len)).
215 2007-08-21 Frank Ch. Eigler <fche@elastic.org>
217 From Cai Fei <caifei@cn.fujitsu.com>:
218 * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
221 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
223 * syscalls2.stp (syscall.select): Fixed variable name error
224 (timeout_uaddr = $tv->$tvp).
225 * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
226 used in recv, recvfrom, recvmsg, compat_sys_recvmsg
228 2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
230 * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not
231 assigned to any inode.
233 2007-08-20 Wenji Huang <wenji.huang@oracle.com>
235 * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
236 (__iov_length): New function.
237 (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
238 nfs.aop.release_page): Fix typo.
240 2007-08-17 Martin Hunt <hunt@redhat.com>
241 From Lai Jiangshan <laijs@cn.fujitsu.com>
242 * syscalls.stp (creat): Fix argstr.
244 2007-08-17 Wenji Huang <wenji.huang@oracle.com>
246 * ioscheduler.stp (ioscheduler.elv_add_request,
247 ioscheduler.elv_completed_request): Add checking $rq.
249 * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
251 2007-08-16 Frank Ch. Eigler <fche@elastic.org>
254 * target_set.stp: New tapset file.
256 2007-08-16 Martin Hunt <hunt@redhat.com>
258 * aux_syscalls.stp (_sock_family_str):
259 Add PF_IUCV, PF_RXRPC, PF_TIPC.
261 From zhaolei@cn.fujitsu.com
262 Remove PF_UNIX. PF_LOCAL is correct.
264 2007-08-16 Martin Hunt <hunt@redhat.com>
266 * aux_syscalls.stp (__get_argv): Add parameter to
267 optionally skip the first argv (argv[0]).
268 (__get_compat_argv): Ditto.
270 * syscalls.stp (execve): Set args to the whole argv.
271 For argstr use filename plus argv starting at [1].
272 (compat_execve): Ditto.
273 * ppc64/syscalls.stp (sys32_exevve): Ditto.
275 From Cai Fei <caifei@cn.fujitsu.com>
276 * syscalls.stp (sts_getpgid): Add pid arg.
278 2007-08-16 Wenji Huang <wenji.huang@oracle.com>
280 * errno.stp: Fix Typo for EADV.
282 2007-08-15 Wenji Huang <wenji.huang@oracle.com>
284 * aux_syscalls.stp (_reboot_flag_str,_futex_op_str,_mprotect_prot_str,
285 _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str,
286 _rusage_who_str): Add new entries, modify default return string.
288 2007-08-15 Martin Hunt <hunt@redhat.com>
290 * x86_64/syscalls.stp: Add support for sys32_mmap[2],
291 sys32_vm86_warning, and sys32_pipe.
292 * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls.
293 * aux_syscalls.stp (get_mmap_args): Moved here.
294 * syscalls.stp: Add sys32_alarm.
295 * syscalls2.stp: Add sys32_uname.
297 2007-08-15 Frank Ch. Eigler <fche@elastic.org>
299 * context.stp (cpuid, cpu): Use smp_processor_id().
301 2007-08-12 Wenji Huang <wenji.huang@oracle.com>
303 * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to
304 policy entries, FSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
306 2007-08-10 Josh Stone <joshua.i.stone@intel.com>
308 * conversions.stp (kernel_string, kernel_long, kernel_int,
309 kernel_short, kernel_char, user_string_warn): Use the
310 CONTEXT->error_buffer to create an error message instead of a static
313 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
315 From "Zhaolei" zhaolei@cn.fujitsu.com:
316 * syscalls.stp (msync.return): Correct name variable.
318 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
320 From "Zhaolei" zhaolei@cn.fujitsu.com:
321 * aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
323 2007-08-09 Frank Ch. Eigler <fche@elastic.org>
325 From Cai Fei <caifei@cn.fujitsu.com>:
326 * aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
328 2007-08-09 William Cohen <wcohen@redhat.com>
330 * tapset/syscalls.stp (syscall.compat_execve,
331 syscall.compat_execve.return):
332 * tapset/syscalls2.stp (syscall.compat_sys_semtimedop,
333 syscall.compat_sys_semtimedop.return):
334 * tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
335 syscall.set_zone_reclaim.return): Make optional.
337 2007-08-08 Frank Ch. Eigler <fche@elastic.org>
339 From "Zhaolei" zhaolei@cn.fujitsu.com:
340 * aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
342 2007-08-03 Martin Hunt <hunt@redhat.com>
344 * aux_syscalls.stp (__get_compat_argv): Add cast.
346 2007-07-31 Martin Hunt <hunt@redhat.com>
348 * syscalls*: Move sys32_sysctl to arch dirs.
350 2007-07-31 Martin Hunt <hunt@redhat.com>
352 * syscalls.stp (clock_nanosleep): Fix flags string.
353 * syscalls2.stp: Fix typo.
355 2007-07-31 Martin Hunt <hunt@redhat.com>
357 * */syscalls.stp: Added mmap functions.
358 Continued moving common compatibility functions to
361 * aux_syscalls.stp (_shmat_flags_str): New.
362 (__get_compat_argv): New.
364 * syscalls.stp (adjtimex): Just print hex argument.
365 (compat_adjtimex): New.
366 (clock_getres): Also probe compat_clock_getres.
367 (clock_gettime): Also probe compat funcs.
368 (compat_clock_nanosleep): New.
369 (compat_execve): New.
371 (get[e][gu]id): Also probe sys32.
372 (getsockopt): Make optional. Also probe compat.
373 (mmap, mmap2): These are arch-specific, so move to individual
374 architecture subdirs.
375 (compat_sys_msgctl): New.
376 (compat_sys_msgrcv): New.
377 (compat_sys_msgsnd): New.
379 * syscalls.stp (pread32): Remove. It calls pread64 .
380 (quotactl): Make optional.
381 (recv): Probe correct function.
382 (recvfrom): Fix args.
383 (compat_sys_recvmsg): New.
384 (semctl): Make optional.
385 (compat_sys_semctl): New.
386 (semget): Make optional.
387 (semop): Make optional.
388 (semtimedop): Make optional.
389 (compat_sys_semtimedop): New.
390 (send): Make optional.
391 (sendmsg): Make optional.
392 (compat_sys_sendmsg): New.
393 (sendto): Make optional.
394 (setsockopt): Make optional. Add compat.
396 (compat_sys_shmat): New.
398 (compat_sys_shmctl): New.
401 (shutdown): Make optional.
402 (socket): Make optional.
403 (socketpair): Make optional.
404 (swapoff): Make optional.
405 (swapon): Make optional.
406 (sysctl): Add probe on sys32.
408 2007-07-31 Frank Ch. Eigler <fche@elastic.org>
411 * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
414 2007-07-30 Dave Wilder <dwilder@us.ibm.com>
417 * syscalls2.stp (syscall.pread and syscall.pread32)
418 For s390x only changed the $buf argument to $ubuf.
419 Change the format for count and position from %p to %d
420 to make it consistant with sys_read and sys_write.
422 2007-07-25 Mike Mason <mmlnx@us.ibm.com>
425 * memory.stp (vm.pagefault, vm.pagefault.return):
426 __handle_mm_fault renamed back to handle_mm_fault in 2.6.23.
427 Changed probes to look for either name in mm/memory.c and removed
428 kernel version check.
429 * task.stp (task_cpu): thread_info in task_struct changed
430 to stack in 2.6.23. Usage appears to be the same as before.
432 2007-07-17 Mike Mason <mmlnx@us.ibm.com>
434 * socket.stp: changed initialization of *num2str arrays to
437 2007-07-16 Martin Hunt <hunt@redhat.com>
438 (compat_sys_io_submit): Fix typo.
440 2007-07-16 Martin Hunt <hunt@redhat.com>
441 * syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add.
442 (compat_sys_fstatfs64): Add.
443 (compat_sys_getdents, compat_sys_getdents64): Add.
444 (compat_sys_ioctl): Add.
445 (compat_sys_io_getevents): Add.
446 (compat_sys_io_setup): Add.
447 (compat_sys_io_submit): Add.
449 * syscalls2.stp (compat_sys_nfsservctl): Add.
452 (compat_sys_ppoll): Add.
453 (sys32_pread64): Add.
454 (sys32_pwrite32): Add.
455 (sys_pwrite64): Print quoted string.
456 (sys_pselect6, compat_sys_pselect6): Add.
457 (sys_pselect7, compat_sys_pselect7): Add.
458 (compat_sys_old_readdir): Add.
459 (sys_select): Don't try to print fd_sets.
460 (compat_sys_select): Add.
461 (compat_sys_statfs64): Add.
463 * ppc/syscalls.stp: Remove duplicated probes.
465 * aux_syscalls.stp (_nfsctl_cmd_str): New.
466 (_fd_set_u): Removed. Not used.
468 2007-07-11 Eugene Teo <eteo@redhat.com>
470 * tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
471 tcp_setsockopt): New. Also added sockopt and sockstate
474 2007-07-10 Martin Hunt <hunt@redhat.com>
476 * aux_syscalls.stp (_struct_compat_timeval2_u):
479 2007-07-10 Martin Hunt <hunt@redhat.com>
480 * syscall*.stp: Major reorganization work.
481 * aux_syscalls.stp (_sigprocmask_how_str): Rewrite
482 in C so real arch-dependent header files
484 (_mlockall_flags_str): Ditto.
486 2007-07-09 Martin Hunt <hunt@redhat.com>
487 * syscalls2.stp (compat_sys_settimeofday): New.
489 2007-07-09 Martin Hunt <hunt@redhat.com>
491 * syscalls2.stp (compat_sys_utimes): New.
492 * ppc64/syscalls.stp (compat_sys_utimes): Removed.
494 * syscalls.stp (compat_sys_futimesat): Fix arg.
496 2007-07-03 Martin Hunt <hunt@redhat.com>
498 * syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
499 * syscalls2.stp (utimes): Use _struct_timeval2_u.
500 * aux_syscalls.stp (_struct_timeval2_u): New function.
501 (_struct_compat_timeval2_u): New function.
503 2007-07-02 Martin Hunt <hunt@redhat.com>
505 * context.stp (print_backtrace): If no regs, just
506 print the probe point.
508 2007-06-22 Frank Ch. Eigler <fche@elastic.org>
510 * syscalls_cfg_trunc.stp: New file for configuration global.
511 * syscalls.stp (add_key, mount), syscalls2.stp (write):
514 2007-06-15 Martin Hunt <hunt@redhat.com>
516 * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
518 * syscalls2.stp: Fix sys_send. Add sys_sendfile64.
519 * errno.stp: Add arm support.
521 2007-06-14 Mike Mason <mmlnx@us.ibm.com>
523 * socket.stp: removed extra assignment to "size" in
524 socket.aio_write.return
526 2007-06-07 Martin Hunt <hunt@redhat.com>
527 Fallout from PR 3331 fix. Sometimes glibc and the
528 kernel disagree about signed vs unsigned.
529 * aux_syscalls.stp: Rename __uid() to __int32().
530 * syscalls.stp: Change syscall.chown, syscall.fchown,
531 syscall.lchown, and syscall.lseek to use __int32().
532 * syscalls2.stp: Change syscall.setregid, syscall.resgid,
533 syscall.resuid, and syscall.setreuid to use __int32().
535 2007-05-17 Martin Hunt <hunt@redhat.com>
537 * syscalls.stp: Make optional sys_alarm, sys_fadvise64,
538 sys_gethostname, sys_getpgrp, and sys_llseek.
539 (syscall.getrlimit): Add optional calls sys_old_getrlimit,
540 compat_sys_getrlimit, and compat_sys_old_getrlimit.
542 * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
543 sys_signal, sys_sigprocmask, sys_utime
544 (syscall.old_getrlimit): Moved into syscall.getrlimit.
546 2007-05-16 Will Cohen <wcohen@redhat.com>
548 * syscall2.stp: Correct sys_pipe function args for ia64.
550 2007-05-16 Will Cohen <wcohen@redhat.com>
553 * scheduler.stp: Correct function argument.
555 2007-05-09 Martin Hunt <hunt@redhat.com>
557 * syscalls2.stp: Added compat_sys_pause to syscall.pause.
559 * syscalls.stp: Added sys_lstat64 to syscall.lstat.
560 Added compat_sys_gettimeofday to syscall.gettimeofday.
562 * ppc64/syscalls.stp: Remove sys_lstat64.
563 * i686/syscalls.stp: Remove sys_lstat64.
565 2007-04-25 David Wilder <dwilder@us.ibm.com>
567 * syscall2.stp:syscall.pause added sys32_pause to probe list.
569 2007-04-25 David Wilder <dwilder@us.ibm.com>
571 * s390x/syscall.stp: Fix bug in syscall.mmap returning the wrong args
572 for 32-bit versions of mmap calls.
574 2007-04-24 Will Cohen <wcohen@redhat.com>
576 * memory.stp: Update vm.pagefault.return comment.
578 2007-04-24 Mike Mason <mmlnx@us.ibm.com>
580 * socket.stp: adapted to changes in 2.6.19 socket routines
582 2007-04-24 Will Cohen <wcohen@redhat.com>
584 * memory.stp: Add matching vm.pagefault.return
586 2007-04-23 Frank Ch. Eigler <fche@elastic.org>
588 * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
589 switch from __switch_to to context_switch on x86-64 in Ipswitch.
591 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
593 * scsi.stp: Fix for when the scsi driver is built into the kernel.
595 2007-04-11 Martin Hunt <hunt@redhat.com>
597 * aux_syscalls.stp: Add in6.h include.
599 2007-04-10 Martin Hunt <hunt@redhat.com>
601 * logging.stp (print_char): New function.
603 * aux_syscalls.stp: Clean up network includes.
605 2007-04-09 Mike Mason <mmlnx@us.ibm.com>
607 * DEVGUIDE: Added new tapset developer's guide.
609 2007-03-30 Frank Ch. Eigler <fche@elastic.org>
612 * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
613 to .inline -> .function change.
615 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
617 * nfsd.stp (nfsd.dispatch): Change initialization of variable
618 client_ip with a call to addr_from_rqst.
619 * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
620 - __rpc_execute returns void now. struct rpc_xprt modified since
622 * nfs.stp, vfs.stp: Local variables f_dentry renamed, because
623 conflicting with a new #define in kernel header linux/fs.h in 2.6.20.
625 2007-02-29 David Wilder <dwilder@us.ibm.com>
627 *conversions.stp (kernel_int) added goto success; (PR 4419)
629 2007-02-22 David Wilder <dwilder@us.ibm.com>
631 * syscalls.stp, s390x/syscall.stp: Created an s390x version of
632 syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return.
634 2007-02-09 Fr ank Ch. Eigler <fche@elastic.org>
636 * conversions.stp (*): Make errmsg usage uniform.
638 2007-02-06 Josh Stone <joshua.i.stone@intel.com>
640 * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
641 nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
642 socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
643 with kread wherever possible. Some places still have hazards, as
646 * errno.stp (returnstr): Don't use return in tapset C functions.
647 * aux_syscalls.stp (__uget_timex_m): Ditto.
648 * nfsd.stp (__get_fh): Ditto.
649 * nfs.stp, vfs.stp (<many functions>): Ditto.
650 * string.stp (substr): Ditto. Also make sure start index is valid.
652 * syscalls.stp (syscall.execve): Change __string to kernel_string.
654 2007-02-06 Frank Ch. Eigler <fche@elastic.org>
656 * conversions.stp (kernel_long/int/short/char): New functions.
658 2007-01-31 Martin Hunt <hunt@redhat.com>
660 * context.stp (print_backtrace): Modify for new
662 (backtrace): Just use _stp_stack_snprint().
663 (print_stack): Use new _stp_print* functions.
664 (probefunc): Use _stp_symbol_snprint.
666 2007-01-26 Josh Stone <joshua.i.stone@intel.com>
668 * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
670 2007-01-25 Mike Mason <mmlnx@us.ibm.com>
672 * socket.stp: Fix for missing SOCK_PASSSEC in kernels earlier
675 2007-01-25 Martin Hunt <hunt@localhost.localdomain>
677 * syscalls2.stp: Add sys32_ustat probe.
679 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
681 * socket.stp: Fixed bit checking method in sock_flags_num2str()
682 to match how it's done in the kernel.
684 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
686 * socket.stp: New sockets tapset.
688 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
690 * string.stp: Added tokenize() and strtol() functions.
692 2007-01-17 Martin Hunt <hunt@redhat.com>
694 * syscalls.stp: Add syscall.creat.
695 * syscalls2.stp: Add compat_sys_open.
697 2007-01-13 Mike Mason <mmlnx@us.ibm.com>
699 * ioblock.stp: renamed __bio_direction() to bio_rw_num()
701 2007-01-12 Mike Mason <mmlnx@us.ibm.com>
703 * x86_64/syscalls.stp: added ? to request_key aliases
704 to prevent syscall.* failures on some kernels
706 2006-12-29 Li Guanglei <guanglei@cn.ibm.com>
708 From Gui Jian <guij@cn.ibm.com>
709 * ioscheduler.stp, nfsd.stp, nfs.stp, nfs_proc.stp,
710 rpc.stp, vfs.stp: patch for 2.6.19 kernel
712 2006-12-18 Frank Ch. Eigler <fche@elastic.org>
714 * vfs.stp (ppos_pos): Protect contents with deref(), though
715 this blocks operation on i686 due to bug #3079.
717 2006-12-13 Mike Mason <mmlnx@us.ibm.com>
719 * scheduler.stp: fixed last line in scheduler.ctxswitch to
720 reference $prev_p->state instead of $prev_p->pid.
722 2006-12-11 Li Guanglei <guanglei@cn.ibm.com>
724 From Gui Jian <guij@cn.ibm.com>
725 * nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
727 2006-11-29 Li Guanglei <guanglei@cn.ibm.com>
729 From Gui Jian <guij@cn.ibm.com>
730 * scheduler.stp, vfs.stp: made idle_balance and
731 buffer_migrate_page optinal.
733 2006-11-20 Frank Ch. Eigler <fche@elastic.org>
735 * context.stp (caller_addr): Declare return type.
737 2006-11-07 Li Guanglei <guanglei@cn.ibm.com>
739 From Gui Jian <guij@cn.ibm.com>
740 * signal.stp, memory.stp: make do_mmap2, copy_cow_page
741 and signal.handle.return optional since they are obsolete
742 or failed to probe on 2.6.18.1/ppc64
744 2006-11-02 Frank Ch. Eigler <fche@elastic.org>
746 * README: Add a blurb against running these scripts directly.
748 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
750 * context.stp: Added proper handling of statement
751 * probe in probefunc() for IA64 (bz# 3423)
753 2006-10-16 Li Guanglei <guanglei@cn.ibm.com>
754 * scsi.stp: check whether rq_disk is empty
755 * scheduler.stp: revert changes for x86_64
757 2006-10-13 Li Guanglei <guanglei@cn.ibm.com>
758 * scsi.stp: add some variables
759 * scheduler.stp: skip __switch_to on x86_64
761 2006-10-12 Martin Hunt <hunt@redhat.com>
762 * context.stp (print_backtrace): Pass in new
763 kretprobe instance arg.
765 (is_return): Rewrite.
772 2006-10-12 Li Guanglei <guanglei@cn.ibm.com>
773 * ioscheduler.stp: bugfix to avoid refer to NULL pointer
775 2006-10-11 Li Guanglei <guanglei@cn.ibm.com>
776 * nfs.stp, nfsd.stp: bugfix of pointer conversion on
778 * i686/syscall.stp: make sys_request_key optional since
779 it failed to probe on 2.6.18/i386
781 2006-10-04 Frank Ch. Eigler <fche@elastic.org>
783 * context.stp (probefunc): Return empty string for
784 userspace (< PAGE_OFFSET) pointers.
786 2006-09-26 David Smith <dsmith@redhat.com>
788 * test/run.sh: Changed 'stpd' references to 'staprun'.
790 2006-09-20 Josh Stone <joshua.i.stone@intel.com>
793 * timestamp.stp (gettimeofday_ns): New function
794 (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
795 Use gettimeofday_ns as the base unit.
797 2006-09-19 Li Guanglei <guanglei@cn.ibm.com>
799 From Gui Jian <guijian@cn.ibm.com>
801 * rpc.stp: Some changes and more comments of RPC tapset
803 2006-09-18 Martin Hunt <hunt@redhat.com>
805 * logging.stp (stp_print_binary): New function.
806 * string.stp: Fix docs.
808 2006-09-12 Li Guanglei <guanglei@cn.ibm.com>
810 From Li Xuepeng <xuepengl@cn.ibm.com>
812 * nfsd.stp, nfs_proc.stp, nfs.stp:
813 Change NFS file identifier. Change NFS version data type
814 from String to INT. Add version variable to nfs_open
817 2006-09-11 Li Guanglei <guanglei@cn.ibm.com>
819 From Gui Jian(guijian@cn.ibm.com>
820 * rpc.stp: tapsets for RPC activities.
822 2006-08-30 Li Guanglei <guanglei@cn.ibm.com>
824 * signal.stp: some changes to arguments and comments
827 2006-08-25 Li Guanglei <guanglei@cn.ibm.com>
830 * vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
832 2006-08-23 Li Guanglei <guanglei@cn.ibm.com>
834 * vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
835 vfs layer activities.
836 * nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
837 nfs file operations and nfs address space operations on client side.
838 * nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC
839 procedure stub functions on client side.
840 * nfsd.stp: New tapset from Li Xuepeng to probe nfs server side
841 activities, including some RPC procedure stub functions, nfsd
842 dispatch routine, and nfsd_* functions
844 2006-08-22 Li Guanglei <guanglei@cn.ibm.com>
846 * signal.stp: More variables for signal.do_action and
847 signal.procmask. New function of get_sigset(). Minor
848 changes to naming of signal.pend and its comments
851 2006-08-21 Martin Hunt <hunt@redhat.com>
853 * string.stp (substr): Rewrite. Make the 3rd parameter
856 2006-08-17 Josh Stone <joshua.i.stone@intel.com>
858 * signal.stp: Changes on behalf of Manoj S Pattabhiraman:
859 1. As per the suggestions, i have removed the argstr from the
861 2. Added some checks to find whether the signals generated are
862 USER or Kernel Mode in signal_handle probe.
864 2006-08-17 Li Guanglei <guanglei@cn.ibm.com>
866 * signal.stp: update signal tapsets based on the discussion
867 with Josh Stone on mailinglist:
868 1. Added "send2queue" and "name" variable for signal.send.part*
869 2. Added signal.send.return probe alias
870 3. Added signal.checkperm and signal.checkperm.return probe alias
871 4. Commented out signal.handle_stop
872 5. Alias all signal syscalls to syscall tapsets.
874 2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>
876 * ioblock.stp: Added safety checks for __bio_ino() and
879 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>
881 * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
882 ioblock.stp. Removed/Renamed duplicate variables and probes.
884 2006-08-09 Josh Stone <joshua.i.stone@intel.com>
886 * signal.stp: Create a new tapset that addresses process signals.
887 Much of this was contributed by Manoj Pattabhiraman (IBM).
888 * process.stp: Remove aliases that now belong in signal tapset
889 * memory.stp: move pagefault to vm.* namespace, and add many other
890 virtual-memory themed probes.
892 2006-08-09 David Smith <dsmith@redhat.com>
894 * syscalls.stp: Fixed typo in syscall.kexec_load argument
897 2006-08-08 Eugene Teo <eteo@redhat.com>
899 * context.stp (probemod): New function.
901 2006-07-18 Thang Nguyen <thang.p.nguyen@intel.com>
903 * context.stp: Modified probefunc() to print the function
904 name (without the dot) for statement probe on ppc64.
906 2006-07-17 David Smith <dsmith@redhat.com>
908 * context.stp: Removed returnval() function. Use $return
910 * return.stp: Removed. Use $return instead.
912 2006-07-17 Tom Zanussi <zanussi@us.ibm.com>
914 * ioblock.stp: add null bi_bdev check to bio_devname()
916 2006-07-17 Li Guanglei <guanglei@cn.ibm.com>
918 * syscalls.stp: make sys_acct, sys_add_key, sys_keyctl
919 and sys_modify_ldt optional on ppc64 since they are
921 * ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
922 and syscall.umask since they are already defined in
925 2006-07-04 Martin Hunt <hunt@redhat.com>
927 * syscalls.stp, syscalls2.stp: Use user_string_quoted().
929 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
931 * syscalls.stp, syscalls2.stp, ppc64/syscalls.stp:
932 fix syscall.lstat, syscall.lstat64, syscall.newlstat.
933 * ppc64/syscalls.stp: fix syscall.compat_sys_statfs and
936 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
938 * memory.stp: add addr_to_node() from Jose R. Santos
940 * syscalls.stp: typo for syscall.lstat
942 2006-06-30 Martin Hunt <hunt@redhat.com>
944 * conversions.stp (user_string): Don't generate errors
945 on faults, just return <unknown>.
946 (user_string2): New function.
947 (user_string_warn): New function.
949 2006-06-26 Martin Hunt <hunt@redhat.com>
951 * aux_syscalls.stp (_stp_ctime): New function.
952 (_struct_utimbuf_u): New function.
954 2006-06-25 Li Guanglei <guanglei@cn.ibm.com>
956 * syscalls.stp: Changes to AIO related syscalls(io_setup,
957 io_submit, io_getevents, io_cancel, io_destroy)
959 2006-06-23 Thang Nguyen <thang.p.nguyen@intel.com>
961 * tcp.stp: Refined variables and added more
962 function descriptions.
963 * udp.stp: UDP tapset.
964 * inet_sock.stp: common inet_sock functions
965 for TCP and UDP tapsets.
967 2006-06-22 Thang Nguyen <thang.p.nguyen@intel.com>
969 * tcp.stp: TCP tapset (originally from IBM)
971 2006-06-21 Josh Stone <joshua.i.stone@intel.com>
974 * timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
975 Convert to using the runtime-provided _stp_gettimeofday_us().
977 2006-06-19 Martin Hunt <hunt@redhat.com>
979 * syscalls.stp: Make the 16-bit calls optional.
980 * syscalls2.stp: Ditto.
982 2006-06-09 Martin Hunt <hunt@redhat.com>
984 * syscalls2.stp: Fix sys_sync.
986 2006-06-09 Martin Hunt <hunt@redhat.com>
988 * syscalls2.stp: Fixed the uid and gid calls.
990 2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
992 * syscalls.stp: made sys_ftruncate64 optional since it doesn't
993 exist on 2.6.16*/ppc64
995 2006-06-08 Thang Nguyen <thang.p.nguyen@intel.com>
997 * ioblock.stp: new (block I/O activities)
999 2006-06-06 Josh Stone <joshua.i.stone@intel.com>
1001 * process.stp (create, exec_complete): replace retval() with $return
1003 2006-06-02 Josh Stone <joshua.i.stone@intel.com>
1005 * process.stp (exec, exec_complete): conditionally include
1006 compat_do_execve for 64-bit kernels
1007 * process.stp (handle_signal): use optional probes to alternate
1008 between function or inline
1010 2006-05-30 Martin Hunt <hunt@redhat.com>
1012 * aux_syscalls.stp (_mountflags_str): Rewrite.
1013 (_umountflags_str): New.
1015 * syscalls.stp (fstatfs.return): Add retstr.
1017 * syscalls2.stp (sys_write): Use text_strn().
1018 * syscalls.stp (sys_lseek): Fix.
1021 * string.stp (text_str): New.
1024 2006-05-26 Martin Hunt <hunt@redhat.com>
1026 * errno.stp: Add octal option for returnstr.
1028 * [i686,x86_64]/syscalls.stp (umask): Print args and return
1030 (add_key): Comment out. This syscall is added by a xen patch
1031 and may not be present.
1034 * syscalls.stp (accept): Fix arg name.
1036 2006-05-25 Martin Hunt <hunt@redhat.com>
1038 * syscalls.stp: Add sys_fcntl and sys_listen.
1040 * syscalls2.stp: Commented out sys_socketcall because it only calls
1041 other system calls which are already probed.
1043 2006-05-25 Martin Hunt <hunt@redhat.com>
1045 * syscall*.stp: Change "0x%p" to "%p".
1047 2006-05-25 Li Guanglei <guanglei@cn.ibm.com>
1049 * scheduler.stp: add prev_task and next_task variable.
1051 2006-05-24 Josh Stone <joshua.i.stone@intel.com>
1054 * context.stp (probefunc): Use _stp_symbol_sprint_basic
1056 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1058 Patch from Mao Bibo (bibo.mao@intel.com)
1059 * tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
1060 print the address in IA64
1062 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1064 * tapset/ioscheduler.stp: change . to -> operator to get the
1067 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1069 * tapset/LKET/*: tracing tapsets of LKET
1070 * tapset/context.stp: add stp_pid() func
1071 * tapset/ppc64/syscalls.stp: add conditional preprocessing
1072 since sys64_time is removed from kernel >= 2.6.16
1074 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1076 * tapset/tskschedule.stp: deleted, merge into scheduler.stp
1077 * tapset/scheduler.stp: incorporate tskschedule.stp
1079 2006-05-17 Josh Stone <joshua.i.stone@intel.com>
1081 * process.stp: Rename signal.send to signal_send and process.complete
1082 to process_complete, to allow process.* to work properly.
1083 * process.stp (_IS_ERR): declare parameter type
1084 * process.stp (process.create): correct new_pid assignment
1085 * scheduler.stp: New scheduler tapset
1087 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1089 * tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
1090 * tapset/memory.stp: generic pagefault tapsets from LKET
1091 * tapset/networking.stp: generic networking tapsets from LKET
1092 * tapset/scsi.stp: generic scsi tapsets from LKET
1093 * tapset/tskschedule.stp: generic task scheduler tapsets from LKET
1094 * tapset/process.stp: changes to process.exec alias
1097 2006-05-16 David Smith <dsmith@redhat.com>
1099 * conversions.stp (hexstring, string): Removed functions. Because
1100 of parser changes, "string" is now a reserved word and cannot be a
1101 function name. Use 'sprintf("0x%x", num)' to replace hexstring()
1102 and either 'sprint(num)' or 'sprintf("%d", num)' to replace
1105 * syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
1106 syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
1107 syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
1108 'string()' calls to 'sprint()' calls.
1109 * syscalls2.stp (syscall.sched_get_priority_max,
1110 syscall.sched_get_priority_min, syscall.sched_getscheduler,
1111 syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
1112 syscall.setfsuid16, syscall.setgid, syscall.setgid16,
1113 syscall.setuid, syscall.setuid16, syscall.ssetmask,
1114 syscall.timer_delete, syscall.timer_getoverrun): Ditto.
1115 * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
1116 syscall.sigreturn): Ditto.
1117 * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
1118 * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
1121 * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
1122 generated systemtap code.
1124 2006-05-14 Martin Hunt <hunt@redhat.com>
1126 * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
1127 is complete and works on different archs.
1129 2006-05-09 Josh Stone <joshua.i.stone@intel.com>
1131 * context.stp (probefunc): remove use of labels
1132 * task.stp: functions to retrieve task information
1133 * process.stp: tapset for process-related events
1135 2006-05-08 Josh Stone <joshua.i.stone@intel.com>
1138 From Thang P Nguyen <thang.p.nguyen@intel.com>
1139 * context.stp (probefunc): expands ability to detect the function
1140 for different types of probes.
1142 2006-05-05 Frank Ch. Eigler <fche@elastic.org>
1145 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
1147 2006-05-03 Frank Ch. Eigler <fche@elastic.org>
1149 * context.stp, errno.stp: Note/eliminate some retval() duplication.
1151 2006-04-27 Martin Hunt <hunt@redhat.com>
1153 * endian.stp (set_endian): Remove "pure" to prevent
1154 this from optimizing away.
1156 2006-04-21 Frank Ch. Eigler <fche@elastic.org>
1158 * aux_syscalls.stp (_fildes_u): Declare return value type.
1160 2006-04-18 Frank Ch. Eigler <fche@elastic.org>
1162 * conversions.stp (string, hex_string): Use snprintf for safety.
1164 2006-04-18 Martin Hunt <hunt@redhat.com>
1166 * conversions.stp (user_string): Reenable error message.
1168 2006-04-17 Martin Hunt <hunt@redhat.com>
1170 * endian.stp (set_endian): New function.
1172 2006-03-06 Martin Hunt <hunt@redhat.com>
1174 * system.stp: New tapset.
1176 2006-03-01 Martin Hunt <hunt@redhat.com>
1178 * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr.
1180 * syscalls.stp (bind): Call _struct_sockaddr_u().
1182 * errno.stp (errno_str): Complete rewrite in C for speed and
1184 (returnstr): New function for syscall tapet.
1186 2006-02-22 Frank Ch. Eigler <fche@elastic.org>
1188 * timestamp.stp (get_cycles): New function.
1190 2006-02-21 Martin Hunt <hunt@redhat.com>
1192 * context.stp: Fix definition of returnval(). Now the same as retval().
1193 Cleanup needed. Only one can survive.
1195 2006-02-17 Frank Ch. Eigler <fche@elastic.org>
1197 * context.stp (cpu): Clone undocumented cpuid() function.
1199 2006-02-14 Martin Hunt <hunt@redhat.com>
1201 * syscalls.stp: More updates.
1203 2006-02-14 Frank Ch. Eigler <fche@elastic.org>
1205 * queue_stats.stp: New tapset.
1207 2006-02-14 Mark McLoughlin <markmc@redhat.com>
1209 * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
1211 2006-02-14 Martin Hunt <hunt@redhat.com>
1213 * aux_syscalls.stp (_struct_timeval_u): New function.
1214 (_struct_timeval): New function.
1215 (_struct_timespec_u): New function.
1216 (_struct_timespec): New function.
1217 (_struct_itimerval_u): New function:
1218 (_struct_itimerval): New function:
1219 (_signal_name): New function.
1220 (_module_flags_str): Fixed.
1222 * syscalls2.stp (syscall.setitimer): Use new function
1223 _struct_itimerval_u().
1225 * syscalls.stp: Latest version. Many changes.
1227 2006-02-08 Martin Hunt <hunt@redhat.com>
1229 * aux_syscalls.stp(_msync_flag_str): Fix.
1230 (_wait_opt_str): Fix.
1231 * syscalls.stp: Latest.
1233 2006-02-07 Martin Hunt <hunt@redhat.com>
1235 * syscalls.stp: Latest.
1236 * syscalls2.stp: Commented out pciconfig calls. Those
1237 need to go in arch-specific directories.
1239 * aux_syscalls.stp (_access_mode_str): Fix.
1240 (_mmap_flags): New Function.
1241 (_mprotect_prot_str): Fix.
1244 (__fork_flags): New.
1246 2006-02-01 Martin Hunt <hunt@redhat.com>
1248 * syscalls.stp: New syscall file.
1249 * syscall2.stp: More syscalls.
1250 * i686/syscalls.stp: x86-specific calls.
1251 * x86_64/syscalls.stp: x86_64-specific calls.
1253 2006-01-30 Martin Hunt <hunt@redhat.com>
1255 * context.stp (probefunc): New function.
1256 (is_return): New function.
1257 (returnval): New function.
1259 2006-01-15 Frank Ch. Eigler <fche@elastic.org>
1261 * logging.stp: Revert.
1263 2006-01-10 Martin Hunt <hunt@redhat.com>
1265 * logging.stp: Don't set STAP_SESSION_STOPPING.
1266 That it done in _stp_exit().