1 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
3 * queue_stats.stp (qsq_start): Add destruction for qs_utime.
5 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>
7 From Cai Fei <caifei@cn.fujitsu.com>
8 * memory.stp (addr_to_node): Fix the compilation error of function
11 2007-10-05 Martin Hunt <hunt@redhat.com>
13 * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
16 * syscalls2.stp (rt_sigaction, sigaction): Call
17 _struct_sigaction_u().
19 * aux_syscalls.stp (_struct_timeval): Removed. No longer
20 necessary now that we have structure access in scripts.
21 (_struct_timespec): Ditto.
22 (_struct_itimerval): Ditto.
23 (_struct_timezone_u): Remove random CATCH_DEREF_FAULT()
25 (_stp_sigset_str): New.
26 (_struct_sigaction_u): New.
28 2007-10-04 Frank Ch. Eigler <fche@elastic.org>
30 * inet.stp: New tapset for htonl and friends.
32 2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>
34 * queue_stats.stp (qsq_print): Make value of ops/s output as float
36 2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>
38 * aux_syscalls.stp(_sockopt_level_str): Add support for protocol
40 * socket.stp (global define,begin): Ditto.
42 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>
44 * tcp.stp: Add name argument for all probes.
45 * tcp.stp (tcp.setsockopt.return): Add comment.
47 2007-10-01 Martin Hunt <hunt@redhat.com>
49 * aux_syscalls.stp (_str_lookup_str): Print unmatched
52 2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>
54 * socket.stp (_success_check): Fix compare method.
56 2007-09-27 Martin Hunt <hunt@redhat.com>
58 * aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
59 New functions to efficiently and safely read arrays of values
61 (_signal_name): Reimplement using _stp_lookup_str().
63 (__fork_flags): Ditto.
65 (_mprotect_prot_str): Ditto.
66 (_shmat_flags_str): Ditto.
67 (_at_flag_str): Ditto.
68 (get_mmap_args): Complete rewrite for safety and correctness.
70 2007-09-27 Wenji Huang <wenji.huang@oracle.com>
72 * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
73 * nfs.stp (__nfsi_ndirty) : Ditto.
74 * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
76 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
78 From Cai Fei <caifei@cn.fujitsu.com>
79 * rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
80 definition for probe sunrpc.clnt.shutdown_client, because it
81 is in the man page but not defined in tapset.
83 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
85 From Cai Fei <caifei@cn.fujitsu.com>
86 * rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
87 the output format of flags in argstr from hex to decimal just
88 to make it same as other probes.
90 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
92 * tcp.stp (sendmsg.return): Fix description of size variable.
93 * tcp.stp (recvmsg.return): Ditto.
95 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>
97 * socket.stp (aio_read): Fix compile error with kernel version
99 * socket.stp (aio_write): Ditto.
101 2007-09-26 Mike Mason <mmlnx@us.ibm.com>
104 Specified explicit types for __find_bdevname() parameters
105 and return value. The types could not be determined correctly
106 when __find_bdevname() was used in nfs.stp
108 Added __page_index() to work around problem dereferencing unions
111 Made generic.fop.sendfile conditional on kernel <= 2.6.22.
112 generic_file_sendfile() was removed in 2.6.23.
114 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
116 From Lai Jiangshan <laijs@cn.fujitsu.com>
117 * syscall.stp (syscall.brk): Add probe point
118 kernel.function("ia64_brk").
119 * syscall.stp (syscall.mremap): Add probe point
120 kernel.function("ia64_mremap").
122 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
124 From Lai Jiangshan <laijs@cn.fujitsu.com>
125 modify field-access operator from "." to "->" in all files.
127 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>
129 * syscalls.stp (adjtimex.return): Improve retstr.
130 * aux_syscalls.stp: Add a function(_adjtimex_return_str) for
133 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
135 * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
137 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
139 * nfs_proc.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
141 2007-09-25 Frank Ch. Eigler <fche@elastic.org>
143 * signal.stp (_signal.send.part*): Remove sinfo alias variable,
144 since it's a struct rather than integral value.
146 2007-09-25 Martin Hunt <hunt@redhat.com>
148 * syscalls2.stp (sys_readlinkat): Make optional.
150 * aux_syscalls.stp (_struct_compat_timeval_u): ifdef
151 CONFIG_COMPAT so buildok test will pass.
153 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
155 From Cai Fei <caifei@cn.fujitsu.com>
156 * rpc.stp Fix the wrong calling of returnstr($return) to
157 returnstr(1) or returnstr(2).
159 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>
161 From Cai Fei <caifei@cn.fujitsu.com>
162 * rpc.stp Add function for probe point sunrpc.clnt.create_client.
164 2007-09-24 Martin Hunt <hunt@redhat.com>
166 * aux_syscalls.stp (_at_flag_str): Add some more flags.
167 * syscalls2.stp (openat): Call _dfd_str().
169 2007-09-24 David Smith <dsmith@redhat.com>
171 * nfsd.stp (__svc_fh): Added missing semicolon.
173 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
175 * aux_syscalls.stp: Add missing CATCH_DEREF_FAULT()s.
177 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
179 * inet_sock.stp, ioblock.stp, rpc.stp, scsi.stp, socket.stp,
180 tcp.stp: Add /* pure */ to embedded-C functions.
182 2007-09-24 Frank Ch. Eigler <fche@elastic.org>
184 * conversions.stp (user_string): Redefine in terms of user_string2.
186 2007-09-23 Ulrich Drepper <drepper@redhat.com>
188 * syscalls2.stp (readlinkat): Add.
190 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
192 From Lai Jiangshan <laijs@cn.fujitsu.com>
193 * aux_syscalls.stp (_sys_open_flag_str): Fix bug that missing
196 From Lai Jiangshan <laijs@cn.fujitsu.com>
197 * aux_syscalls.stp: Add a function _mremap_flags.
198 * syscalls.stp (syscall.mremap): Use _mremap_flags instead of
201 2007-09-21 Zhaolei <zhaolei@cn.fujitsu.com>
203 * aux_syscalls.stp(_reboot_magic_str) Fix the problem that
204 LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.
206 2007-09-19 Martin Hunt <hunt@redhat.com>
208 * syscalls.stp (sys_bdflush): Make optional.
209 (sys_madvise): Ditto.
210 (sys_mincore): Ditto.
212 (sys_mlockall): Ditto.
213 (sys_mprotect): Ditto.
216 (sys_munlock): Ditto.
217 (sys_munlockall): Ditto.
218 * syscalls2.stp (sys_remap_pages): Make optional.
219 * ppc64/syscalls.stp (ppc_rtas): Make optional.
221 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
223 * syscall.stp(getrusage) Fix the output of getrusage's argstr
224 when who is set to -2.
226 2007-09-19 Zhaolei <zhaolei@cn.fujitsu.com>
228 From Lai Jiangshan <laijs@cn.fujitsu.com>
229 * ia64/syscalls.stp Add a probe point syscall.sigaltstack for
231 * signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
232 for signal.force_segv.
234 2007-09-13 David Smith <dsmith@redhat.com>
236 * task.stp (task_open_file_handles): Fixed for kernels less than
238 (task_max_file_handles): Ditto.
240 2007-09-13 Martin Hunt <hunt@redhat.com>
242 * aux_syscalls.stp: Replace get_user calls with __stp_get_user.
244 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
246 * aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
247 when calling with addrlen set to 0.
249 2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
251 * aux_syscalls.stp (_module_flags_str): Modify combination of
254 2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
256 From Lai Jiangshan <laijs@cn.fujitsu.com>
257 * syscalls2.stp (quotactl): Init special_str before use.
258 (rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
260 2007-08-31 Zhaolei <zhaolei@cn.fujitsu.com>
261 From Lai Jiangshan <laijs@cn.fujitsu.com>
262 * aux_syscalls.stp (_mknod_mode_str): Fix file type
265 2007-08-30 Wenji Huang <wenji.huang@oracle.com>
267 * nfs.stp (__iov_length): Update.
268 (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
269 * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
270 (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
271 generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
272 (vfs.__set_page_dirty_buffers.return): Add condition.
273 (vfs.remove_from_page_cache.return): Fix typo.
274 (vfs.block_sync_page.return): Remove size and units.
276 2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>
278 * syscalls2.stp (syslog): Make $buf output as address in argstr.
280 2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
282 * syscalls2.stp (sysfs): Set argstr's format different
283 by value of option arg.
285 2007-08-28 Wenji Huang <wenji.huang@oracle.com>
287 * tcp.stp (sockstate): Fix typo.
289 2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
291 * syscalls.stp (bdflush): Add comma between args in argstr
292 Set second parameter(data)'s type by first parameter(func)'s
295 2007-08-27 Martin Hunt <hunt@redhat.com>
297 * context.stp (module_name): New. Returns the current
300 * tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.
302 2007-08-27 Wenji Huang <wenji.huang@oracle.com>
304 * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.
306 2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>
308 * syscalls2.stp(sendto): Set $addr as content string in argstr.
310 2007-08-24 Wenji Huang <wenji.huang@oracle.com>
312 * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
313 (scheduler.migrate): Modify evaluating cpu_from with task_cpu.
315 2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>
317 * syscalls2.stp(send): Add len argument into argstr.
319 2007-08-09 William Cohen <wcohen@redhat.com>
321 * syscalls2.stp (compat_sys_utimensat): Correct function arg.
323 2007-08-23 Martin Hunt <hunt@redhat.com>
325 * syscalls2.stp (sys_tee.return): Make optional
327 2007-08-23 Martin Hunt <hunt@redhat.com>
329 * aux_syscalls.stp (_struct_compat_timeval_u): Fix
331 (_struct_compat_timespec_u): Cast args to long.
333 2007-08-23 Martin Hunt <hunt@redhat.com>
335 From Cai Fei <caifei@cn.fujitsu.com>
336 * aux_syscalls.stp (_waitid_opt_str): New.
337 (_wait4_opt_str): Just handle wait4 options.
338 * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
340 2007-08-23 Wenji Huang <wenji.huang@oracle.com>
342 * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating
343 sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19.
344 (sunrpc.sched.delay,sunrpc.sched.delay): Fix typo.
345 (sunrpc.*.return): Change name by adding "return".
347 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
349 * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE
350 (used in send, sendto, sendmsg and compat_sys_sendmsg).
351 Change name of _send_flags_str to _sendflags_str for unify with
354 * syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change
355 name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
357 2007-08-22 Martin Hunt <hunt@redhat.com>
359 * ppc64/syscalls.stp: Remove a bunch of
360 non-ppc64 specific probes.
362 * syscalls.stp (compat_sys_epoll_ctl): New.
363 (compat_sys_epoll_wait): New.
364 (sys_epoll_pwait): New.
365 (compat_sys_epoll_pwait): New.
366 (compat_sys_keyctl): New.
367 (compat_sys_mq_open): New.
368 (compat_sys_futex): New.
369 (compat_sys_mq_timedsend): New.
370 (compat_sys_mq_timedreceive): New.
371 (compat_sys_mq_notify): New.
372 (compat_sys_mq_getsetattr): New.
373 (init_module): Make optional and quote args.
376 * syscalls2.stp (sys_splice): New.
378 (compat_sys_vmsplice): New.
381 (compat_sys_signalfd): New.
383 (compat_sys_timerfd): New.
384 (old32_readdir): New.
386 2007-08-22 Martin Hunt <hunt@redhat.com>
388 * aux_syscalls.stp (_utimensat_flag_str): New.
390 (_struct_timeval2_u): Deleted.
391 (_struct_timeval_u): Take a number of structs to decode.
392 (_struct_compat_timeval2_u): Deleted
393 (_struct_compat_timeval_u): Take a number of structs to decode.
394 (_struct_timespec_u): Take a number of structs to decode.
395 Recognize UTIME_NOW and UTIME_OMIT.
396 (_struct_compat_timespec_u): Ditto.
398 * syscalls.stp (compat_sys_old_getrlimit): Removed.
399 (sys_migrate_pages): New.
400 (sys_move_pages): New.
402 * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls
404 (compat_sys_sysinfo): New.
405 (compat_sys_rt_sigtimedwait): New.
406 (sys_utimensat, compat_sys_utimensat): New.
408 * ppc64/syscalls.stp (compat_sys_sigpending): Removed.
410 (compat_sys_setrlimit): Ditto.
411 (compat_sys_getrlimit): Ditto.
412 (compat_sys_old_getrlimit): Ditto.
413 (compat_sys_getrusage): Ditto.
414 (compat_sys_wait4): Ditto.
415 (compat_sys_sched_setaffinity): Ditto.
416 (compat_sys_sched_getaffinity): Ditto.
418 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
420 * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip
421 with function addr_from_rqst to make it compatible in kernel>=2.6.19
422 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo.
423 (nfsd.unlink): Fix reference to variable iap.
425 2007-08-22 Wenji Huang <wenji.huang@oracle.com>
427 * nfs.stp (__iov_length): Updated, Temporary here.
428 * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in.
429 (nfs.proc?.*): Modify evaluating count and offset.
430 (nfs.proc?.read.return): Delete evaluating size and units.
431 (nfs.proc?.write.return): Modify evaluating size.
432 (nfs.proc?.create): Modify evaluating filename and filelen.
433 (nfs.proc?.rename): Fix typo.
435 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>
437 * syscalls2.stp (syscall.setdomainname): Add argstr content
438 (argstr = "" -> argstr = sprintf("%p, %d", $name, $len)).
440 2007-08-21 Frank Ch. Eigler <fche@elastic.org>
442 From Cai Fei <caifei@cn.fujitsu.com>:
443 * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
446 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
448 * syscalls2.stp (syscall.select): Fixed variable name error
449 (timeout_uaddr = $tv->$tvp).
450 * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
451 used in recv, recvfrom, recvmsg, compat_sys_recvmsg
453 2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
455 * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not
456 assigned to any inode.
458 2007-08-20 Wenji Huang <wenji.huang@oracle.com>
460 * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
461 (__iov_length): New function.
462 (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
463 nfs.aop.release_page): Fix typo.
465 2007-08-17 Martin Hunt <hunt@redhat.com>
466 From Lai Jiangshan <laijs@cn.fujitsu.com>
467 * syscalls.stp (creat): Fix argstr.
469 2007-08-17 Wenji Huang <wenji.huang@oracle.com>
471 * ioscheduler.stp (ioscheduler.elv_add_request,
472 ioscheduler.elv_completed_request): Add checking $rq.
474 * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
476 2007-08-16 Frank Ch. Eigler <fche@elastic.org>
479 * target_set.stp: New tapset file.
481 2007-08-16 Martin Hunt <hunt@redhat.com>
483 * aux_syscalls.stp (_sock_family_str):
484 Add PF_IUCV, PF_RXRPC, PF_TIPC.
486 From zhaolei@cn.fujitsu.com
487 Remove PF_UNIX. PF_LOCAL is correct.
489 2007-08-16 Martin Hunt <hunt@redhat.com>
491 * aux_syscalls.stp (__get_argv): Add parameter to
492 optionally skip the first argv (argv[0]).
493 (__get_compat_argv): Ditto.
495 * syscalls.stp (execve): Set args to the whole argv.
496 For argstr use filename plus argv starting at [1].
497 (compat_execve): Ditto.
498 * ppc64/syscalls.stp (sys32_exevve): Ditto.
500 From Cai Fei <caifei@cn.fujitsu.com>
501 * syscalls.stp (sts_getpgid): Add pid arg.
503 2007-08-16 Wenji Huang <wenji.huang@oracle.com>
505 * errno.stp: Fix Typo for EADV.
507 2007-08-15 Wenji Huang <wenji.huang@oracle.com>
509 * aux_syscalls.stp (_reboot_flag_str,_futex_op_str,_mprotect_prot_str,
510 _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str,
511 _rusage_who_str): Add new entries, modify default return string.
513 2007-08-15 Martin Hunt <hunt@redhat.com>
515 * x86_64/syscalls.stp: Add support for sys32_mmap[2],
516 sys32_vm86_warning, and sys32_pipe.
517 * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls.
518 * aux_syscalls.stp (get_mmap_args): Moved here.
519 * syscalls.stp: Add sys32_alarm.
520 * syscalls2.stp: Add sys32_uname.
522 2007-08-15 Frank Ch. Eigler <fche@elastic.org>
524 * context.stp (cpuid, cpu): Use smp_processor_id().
526 2007-08-12 Wenji Huang <wenji.huang@oracle.com>
528 * aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to
529 policy entries, FSCTL_GETFD,NFSCTL_GETFS to nfsctl entries
531 2007-08-10 Josh Stone <joshua.i.stone@intel.com>
533 * conversions.stp (kernel_string, kernel_long, kernel_int,
534 kernel_short, kernel_char, user_string_warn): Use the
535 CONTEXT->error_buffer to create an error message instead of a static
538 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
540 From "Zhaolei" zhaolei@cn.fujitsu.com:
541 * syscalls.stp (msync.return): Correct name variable.
543 2007-08-10 Frank Ch. Eigler <fche@elastic.org>
545 From "Zhaolei" zhaolei@cn.fujitsu.com:
546 * aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
548 2007-08-09 Frank Ch. Eigler <fche@elastic.org>
550 From Cai Fei <caifei@cn.fujitsu.com>:
551 * aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
553 2007-08-09 William Cohen <wcohen@redhat.com>
555 * tapset/syscalls.stp (syscall.compat_execve,
556 syscall.compat_execve.return):
557 * tapset/syscalls2.stp (syscall.compat_sys_semtimedop,
558 syscall.compat_sys_semtimedop.return):
559 * tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
560 syscall.set_zone_reclaim.return): Make optional.
562 2007-08-08 Frank Ch. Eigler <fche@elastic.org>
564 From "Zhaolei" zhaolei@cn.fujitsu.com:
565 * aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
567 2007-08-03 Martin Hunt <hunt@redhat.com>
569 * aux_syscalls.stp (__get_compat_argv): Add cast.
571 2007-07-31 Martin Hunt <hunt@redhat.com>
573 * syscalls*: Move sys32_sysctl to arch dirs.
575 2007-07-31 Martin Hunt <hunt@redhat.com>
577 * syscalls.stp (clock_nanosleep): Fix flags string.
578 * syscalls2.stp: Fix typo.
580 2007-07-31 Martin Hunt <hunt@redhat.com>
582 * */syscalls.stp: Added mmap functions.
583 Continued moving common compatibility functions to
586 * aux_syscalls.stp (_shmat_flags_str): New.
587 (__get_compat_argv): New.
589 * syscalls.stp (adjtimex): Just print hex argument.
590 (compat_adjtimex): New.
591 (clock_getres): Also probe compat_clock_getres.
592 (clock_gettime): Also probe compat funcs.
593 (compat_clock_nanosleep): New.
594 (compat_execve): New.
596 (get[e][gu]id): Also probe sys32.
597 (getsockopt): Make optional. Also probe compat.
598 (mmap, mmap2): These are arch-specific, so move to individual
599 architecture subdirs.
600 (compat_sys_msgctl): New.
601 (compat_sys_msgrcv): New.
602 (compat_sys_msgsnd): New.
604 * syscalls.stp (pread32): Remove. It calls pread64 .
605 (quotactl): Make optional.
606 (recv): Probe correct function.
607 (recvfrom): Fix args.
608 (compat_sys_recvmsg): New.
609 (semctl): Make optional.
610 (compat_sys_semctl): New.
611 (semget): Make optional.
612 (semop): Make optional.
613 (semtimedop): Make optional.
614 (compat_sys_semtimedop): New.
615 (send): Make optional.
616 (sendmsg): Make optional.
617 (compat_sys_sendmsg): New.
618 (sendto): Make optional.
619 (setsockopt): Make optional. Add compat.
621 (compat_sys_shmat): New.
623 (compat_sys_shmctl): New.
626 (shutdown): Make optional.
627 (socket): Make optional.
628 (socketpair): Make optional.
629 (swapoff): Make optional.
630 (swapon): Make optional.
631 (sysctl): Add probe on sys32.
633 2007-07-31 Frank Ch. Eigler <fche@elastic.org>
636 * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
639 2007-07-30 Dave Wilder <dwilder@us.ibm.com>
642 * syscalls2.stp (syscall.pread and syscall.pread32)
643 For s390x only changed the $buf argument to $ubuf.
644 Change the format for count and position from %p to %d
645 to make it consistant with sys_read and sys_write.
647 2007-07-25 Mike Mason <mmlnx@us.ibm.com>
650 * memory.stp (vm.pagefault, vm.pagefault.return):
651 __handle_mm_fault renamed back to handle_mm_fault in 2.6.23.
652 Changed probes to look for either name in mm/memory.c and removed
653 kernel version check.
654 * task.stp (task_cpu): thread_info in task_struct changed
655 to stack in 2.6.23. Usage appears to be the same as before.
657 2007-07-17 Mike Mason <mmlnx@us.ibm.com>
659 * socket.stp: changed initialization of *num2str arrays to
662 2007-07-16 Martin Hunt <hunt@redhat.com>
663 (compat_sys_io_submit): Fix typo.
665 2007-07-16 Martin Hunt <hunt@redhat.com>
666 * syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add.
667 (compat_sys_fstatfs64): Add.
668 (compat_sys_getdents, compat_sys_getdents64): Add.
669 (compat_sys_ioctl): Add.
670 (compat_sys_io_getevents): Add.
671 (compat_sys_io_setup): Add.
672 (compat_sys_io_submit): Add.
674 * syscalls2.stp (compat_sys_nfsservctl): Add.
677 (compat_sys_ppoll): Add.
678 (sys32_pread64): Add.
679 (sys32_pwrite32): Add.
680 (sys_pwrite64): Print quoted string.
681 (sys_pselect6, compat_sys_pselect6): Add.
682 (sys_pselect7, compat_sys_pselect7): Add.
683 (compat_sys_old_readdir): Add.
684 (sys_select): Don't try to print fd_sets.
685 (compat_sys_select): Add.
686 (compat_sys_statfs64): Add.
688 * ppc/syscalls.stp: Remove duplicated probes.
690 * aux_syscalls.stp (_nfsctl_cmd_str): New.
691 (_fd_set_u): Removed. Not used.
693 2007-07-11 Eugene Teo <eteo@redhat.com>
695 * tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
696 tcp_setsockopt): New. Also added sockopt and sockstate
699 2007-07-10 Martin Hunt <hunt@redhat.com>
701 * aux_syscalls.stp (_struct_compat_timeval2_u):
704 2007-07-10 Martin Hunt <hunt@redhat.com>
705 * syscall*.stp: Major reorganization work.
706 * aux_syscalls.stp (_sigprocmask_how_str): Rewrite
707 in C so real arch-dependent header files
709 (_mlockall_flags_str): Ditto.
711 2007-07-09 Martin Hunt <hunt@redhat.com>
712 * syscalls2.stp (compat_sys_settimeofday): New.
714 2007-07-09 Martin Hunt <hunt@redhat.com>
716 * syscalls2.stp (compat_sys_utimes): New.
717 * ppc64/syscalls.stp (compat_sys_utimes): Removed.
719 * syscalls.stp (compat_sys_futimesat): Fix arg.
721 2007-07-03 Martin Hunt <hunt@redhat.com>
723 * syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
724 * syscalls2.stp (utimes): Use _struct_timeval2_u.
725 * aux_syscalls.stp (_struct_timeval2_u): New function.
726 (_struct_compat_timeval2_u): New function.
728 2007-07-02 Martin Hunt <hunt@redhat.com>
730 * context.stp (print_backtrace): If no regs, just
731 print the probe point.
733 2007-06-22 Frank Ch. Eigler <fche@elastic.org>
735 * syscalls_cfg_trunc.stp: New file for configuration global.
736 * syscalls.stp (add_key, mount), syscalls2.stp (write):
739 2007-06-15 Martin Hunt <hunt@redhat.com>
741 * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
743 * syscalls2.stp: Fix sys_send. Add sys_sendfile64.
744 * errno.stp: Add arm support.
746 2007-06-14 Mike Mason <mmlnx@us.ibm.com>
748 * socket.stp: removed extra assignment to "size" in
749 socket.aio_write.return
751 2007-06-07 Martin Hunt <hunt@redhat.com>
752 Fallout from PR 3331 fix. Sometimes glibc and the
753 kernel disagree about signed vs unsigned.
754 * aux_syscalls.stp: Rename __uid() to __int32().
755 * syscalls.stp: Change syscall.chown, syscall.fchown,
756 syscall.lchown, and syscall.lseek to use __int32().
757 * syscalls2.stp: Change syscall.setregid, syscall.resgid,
758 syscall.resuid, and syscall.setreuid to use __int32().
760 2007-05-17 Martin Hunt <hunt@redhat.com>
762 * syscalls.stp: Make optional sys_alarm, sys_fadvise64,
763 sys_gethostname, sys_getpgrp, and sys_llseek.
764 (syscall.getrlimit): Add optional calls sys_old_getrlimit,
765 compat_sys_getrlimit, and compat_sys_old_getrlimit.
767 * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
768 sys_signal, sys_sigprocmask, sys_utime
769 (syscall.old_getrlimit): Moved into syscall.getrlimit.
771 2007-05-16 Will Cohen <wcohen@redhat.com>
773 * syscall2.stp: Correct sys_pipe function args for ia64.
775 2007-05-16 Will Cohen <wcohen@redhat.com>
778 * scheduler.stp: Correct function argument.
780 2007-05-09 Martin Hunt <hunt@redhat.com>
782 * syscalls2.stp: Added compat_sys_pause to syscall.pause.
784 * syscalls.stp: Added sys_lstat64 to syscall.lstat.
785 Added compat_sys_gettimeofday to syscall.gettimeofday.
787 * ppc64/syscalls.stp: Remove sys_lstat64.
788 * i686/syscalls.stp: Remove sys_lstat64.
790 2007-04-25 David Wilder <dwilder@us.ibm.com>
792 * syscall2.stp:syscall.pause added sys32_pause to probe list.
794 2007-04-25 David Wilder <dwilder@us.ibm.com>
796 * s390x/syscall.stp: Fix bug in syscall.mmap returning the wrong args
797 for 32-bit versions of mmap calls.
799 2007-04-24 Will Cohen <wcohen@redhat.com>
801 * memory.stp: Update vm.pagefault.return comment.
803 2007-04-24 Mike Mason <mmlnx@us.ibm.com>
805 * socket.stp: adapted to changes in 2.6.19 socket routines
807 2007-04-24 Will Cohen <wcohen@redhat.com>
809 * memory.stp: Add matching vm.pagefault.return
811 2007-04-23 Frank Ch. Eigler <fche@elastic.org>
813 * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
814 switch from __switch_to to context_switch on x86-64 in Ipswitch.
816 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>
818 * scsi.stp: Fix for when the scsi driver is built into the kernel.
820 2007-04-11 Martin Hunt <hunt@redhat.com>
822 * aux_syscalls.stp: Add in6.h include.
824 2007-04-10 Martin Hunt <hunt@redhat.com>
826 * logging.stp (print_char): New function.
828 * aux_syscalls.stp: Clean up network includes.
830 2007-04-09 Mike Mason <mmlnx@us.ibm.com>
832 * DEVGUIDE: Added new tapset developer's guide.
834 2007-03-30 Frank Ch. Eigler <fche@elastic.org>
837 * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
838 to .inline -> .function change.
840 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>
842 * nfsd.stp (nfsd.dispatch): Change initialization of variable
843 client_ip with a call to addr_from_rqst.
844 * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
845 - __rpc_execute returns void now. struct rpc_xprt modified since
847 * nfs.stp, vfs.stp: Local variables f_dentry renamed, because
848 conflicting with a new #define in kernel header linux/fs.h in 2.6.20.
850 2007-02-29 David Wilder <dwilder@us.ibm.com>
852 *conversions.stp (kernel_int) added goto success; (PR 4419)
854 2007-02-22 David Wilder <dwilder@us.ibm.com>
856 * syscalls.stp, s390x/syscall.stp: Created an s390x version of
857 syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return.
859 2007-02-09 Fr ank Ch. Eigler <fche@elastic.org>
861 * conversions.stp (*): Make errmsg usage uniform.
863 2007-02-06 Josh Stone <joshua.i.stone@intel.com>
865 * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
866 nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
867 socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
868 with kread wherever possible. Some places still have hazards, as
871 * errno.stp (returnstr): Don't use return in tapset C functions.
872 * aux_syscalls.stp (__uget_timex_m): Ditto.
873 * nfsd.stp (__get_fh): Ditto.
874 * nfs.stp, vfs.stp (<many functions>): Ditto.
875 * string.stp (substr): Ditto. Also make sure start index is valid.
877 * syscalls.stp (syscall.execve): Change __string to kernel_string.
879 2007-02-06 Frank Ch. Eigler <fche@elastic.org>
881 * conversions.stp (kernel_long/int/short/char): New functions.
883 2007-01-31 Martin Hunt <hunt@redhat.com>
885 * context.stp (print_backtrace): Modify for new
887 (backtrace): Just use _stp_stack_snprint().
888 (print_stack): Use new _stp_print* functions.
889 (probefunc): Use _stp_symbol_snprint.
891 2007-01-26 Josh Stone <joshua.i.stone@intel.com>
893 * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
895 2007-01-25 Mike Mason <mmlnx@us.ibm.com>
897 * socket.stp: Fix for missing SOCK_PASSSEC in kernels earlier
900 2007-01-25 Martin Hunt <hunt@localhost.localdomain>
902 * syscalls2.stp: Add sys32_ustat probe.
904 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
906 * socket.stp: Fixed bit checking method in sock_flags_num2str()
907 to match how it's done in the kernel.
909 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
911 * socket.stp: New sockets tapset.
913 2007-01-23 Mike Mason <mmlnx@us.ibm.com>
915 * string.stp: Added tokenize() and strtol() functions.
917 2007-01-17 Martin Hunt <hunt@redhat.com>
919 * syscalls.stp: Add syscall.creat.
920 * syscalls2.stp: Add compat_sys_open.
922 2007-01-13 Mike Mason <mmlnx@us.ibm.com>
924 * ioblock.stp: renamed __bio_direction() to bio_rw_num()
926 2007-01-12 Mike Mason <mmlnx@us.ibm.com>
928 * x86_64/syscalls.stp: added ? to request_key aliases
929 to prevent syscall.* failures on some kernels
931 2006-12-29 Li Guanglei <guanglei@cn.ibm.com>
933 From Gui Jian <guij@cn.ibm.com>
934 * ioscheduler.stp, nfsd.stp, nfs.stp, nfs_proc.stp,
935 rpc.stp, vfs.stp: patch for 2.6.19 kernel
937 2006-12-18 Frank Ch. Eigler <fche@elastic.org>
939 * vfs.stp (ppos_pos): Protect contents with deref(), though
940 this blocks operation on i686 due to bug #3079.
942 2006-12-13 Mike Mason <mmlnx@us.ibm.com>
944 * scheduler.stp: fixed last line in scheduler.ctxswitch to
945 reference $prev_p->state instead of $prev_p->pid.
947 2006-12-11 Li Guanglei <guanglei@cn.ibm.com>
949 From Gui Jian <guij@cn.ibm.com>
950 * nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
952 2006-11-29 Li Guanglei <guanglei@cn.ibm.com>
954 From Gui Jian <guij@cn.ibm.com>
955 * scheduler.stp, vfs.stp: made idle_balance and
956 buffer_migrate_page optinal.
958 2006-11-20 Frank Ch. Eigler <fche@elastic.org>
960 * context.stp (caller_addr): Declare return type.
962 2006-11-07 Li Guanglei <guanglei@cn.ibm.com>
964 From Gui Jian <guij@cn.ibm.com>
965 * signal.stp, memory.stp: make do_mmap2, copy_cow_page
966 and signal.handle.return optional since they are obsolete
967 or failed to probe on 2.6.18.1/ppc64
969 2006-11-02 Frank Ch. Eigler <fche@elastic.org>
971 * README: Add a blurb against running these scripts directly.
973 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
975 * context.stp: Added proper handling of statement
976 * probe in probefunc() for IA64 (bz# 3423)
978 2006-10-16 Li Guanglei <guanglei@cn.ibm.com>
979 * scsi.stp: check whether rq_disk is empty
980 * scheduler.stp: revert changes for x86_64
982 2006-10-13 Li Guanglei <guanglei@cn.ibm.com>
983 * scsi.stp: add some variables
984 * scheduler.stp: skip __switch_to on x86_64
986 2006-10-12 Martin Hunt <hunt@redhat.com>
987 * context.stp (print_backtrace): Pass in new
988 kretprobe instance arg.
990 (is_return): Rewrite.
997 2006-10-12 Li Guanglei <guanglei@cn.ibm.com>
998 * ioscheduler.stp: bugfix to avoid refer to NULL pointer
1000 2006-10-11 Li Guanglei <guanglei@cn.ibm.com>
1001 * nfs.stp, nfsd.stp: bugfix of pointer conversion on
1003 * i686/syscall.stp: make sys_request_key optional since
1004 it failed to probe on 2.6.18/i386
1006 2006-10-04 Frank Ch. Eigler <fche@elastic.org>
1008 * context.stp (probefunc): Return empty string for
1009 userspace (< PAGE_OFFSET) pointers.
1011 2006-09-26 David Smith <dsmith@redhat.com>
1013 * test/run.sh: Changed 'stpd' references to 'staprun'.
1015 2006-09-20 Josh Stone <joshua.i.stone@intel.com>
1018 * timestamp.stp (gettimeofday_ns): New function
1019 (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
1020 Use gettimeofday_ns as the base unit.
1022 2006-09-19 Li Guanglei <guanglei@cn.ibm.com>
1024 From Gui Jian <guijian@cn.ibm.com>
1026 * rpc.stp: Some changes and more comments of RPC tapset
1028 2006-09-18 Martin Hunt <hunt@redhat.com>
1030 * logging.stp (stp_print_binary): New function.
1031 * string.stp: Fix docs.
1033 2006-09-12 Li Guanglei <guanglei@cn.ibm.com>
1035 From Li Xuepeng <xuepengl@cn.ibm.com>
1037 * nfsd.stp, nfs_proc.stp, nfs.stp:
1038 Change NFS file identifier. Change NFS version data type
1039 from String to INT. Add version variable to nfs_open
1042 2006-09-11 Li Guanglei <guanglei@cn.ibm.com>
1044 From Gui Jian(guijian@cn.ibm.com>
1045 * rpc.stp: tapsets for RPC activities.
1047 2006-08-30 Li Guanglei <guanglei@cn.ibm.com>
1049 * signal.stp: some changes to arguments and comments
1052 2006-08-25 Li Guanglei <guanglei@cn.ibm.com>
1055 * vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
1057 2006-08-23 Li Guanglei <guanglei@cn.ibm.com>
1059 * vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
1060 vfs layer activities.
1061 * nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
1062 nfs file operations and nfs address space operations on client side.
1063 * nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC
1064 procedure stub functions on client side.
1065 * nfsd.stp: New tapset from Li Xuepeng to probe nfs server side
1066 activities, including some RPC procedure stub functions, nfsd
1067 dispatch routine, and nfsd_* functions
1069 2006-08-22 Li Guanglei <guanglei@cn.ibm.com>
1071 * signal.stp: More variables for signal.do_action and
1072 signal.procmask. New function of get_sigset(). Minor
1073 changes to naming of signal.pend and its comments
1076 2006-08-21 Martin Hunt <hunt@redhat.com>
1078 * string.stp (substr): Rewrite. Make the 3rd parameter
1081 2006-08-17 Josh Stone <joshua.i.stone@intel.com>
1083 * signal.stp: Changes on behalf of Manoj S Pattabhiraman:
1084 1. As per the suggestions, i have removed the argstr from the
1086 2. Added some checks to find whether the signals generated are
1087 USER or Kernel Mode in signal_handle probe.
1089 2006-08-17 Li Guanglei <guanglei@cn.ibm.com>
1091 * signal.stp: update signal tapsets based on the discussion
1092 with Josh Stone on mailinglist:
1093 1. Added "send2queue" and "name" variable for signal.send.part*
1094 2. Added signal.send.return probe alias
1095 3. Added signal.checkperm and signal.checkperm.return probe alias
1096 4. Commented out signal.handle_stop
1097 5. Alias all signal syscalls to syscall tapsets.
1099 2006-08-15 Thang Nguyen <thang.p.nguyen@intel.com>
1101 * ioblock.stp: Added safety checks for __bio_ino() and
1104 2006-08-09 Thang Nguyen <thang.p.nguyen@intel.com>
1106 * ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
1107 ioblock.stp. Removed/Renamed duplicate variables and probes.
1109 2006-08-09 Josh Stone <joshua.i.stone@intel.com>
1111 * signal.stp: Create a new tapset that addresses process signals.
1112 Much of this was contributed by Manoj Pattabhiraman (IBM).
1113 * process.stp: Remove aliases that now belong in signal tapset
1114 * memory.stp: move pagefault to vm.* namespace, and add many other
1115 virtual-memory themed probes.
1117 2006-08-09 David Smith <dsmith@redhat.com>
1119 * syscalls.stp: Fixed typo in syscall.kexec_load argument
1122 2006-08-08 Eugene Teo <eteo@redhat.com>
1124 * context.stp (probemod): New function.
1126 2006-07-18 Thang Nguyen <thang.p.nguyen@intel.com>
1128 * context.stp: Modified probefunc() to print the function
1129 name (without the dot) for statement probe on ppc64.
1131 2006-07-17 David Smith <dsmith@redhat.com>
1133 * context.stp: Removed returnval() function. Use $return
1135 * return.stp: Removed. Use $return instead.
1137 2006-07-17 Tom Zanussi <zanussi@us.ibm.com>
1139 * ioblock.stp: add null bi_bdev check to bio_devname()
1141 2006-07-17 Li Guanglei <guanglei@cn.ibm.com>
1143 * syscalls.stp: make sys_acct, sys_add_key, sys_keyctl
1144 and sys_modify_ldt optional on ppc64 since they are
1146 * ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
1147 and syscall.umask since they are already defined in
1150 2006-07-04 Martin Hunt <hunt@redhat.com>
1152 * syscalls.stp, syscalls2.stp: Use user_string_quoted().
1154 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
1156 * syscalls.stp, syscalls2.stp, ppc64/syscalls.stp:
1157 fix syscall.lstat, syscall.lstat64, syscall.newlstat.
1158 * ppc64/syscalls.stp: fix syscall.compat_sys_statfs and
1161 2006-07-04 Li Guanglei <guanglei@cn.ibm.com>
1163 * memory.stp: add addr_to_node() from Jose R. Santos
1165 * syscalls.stp: typo for syscall.lstat
1167 2006-06-30 Martin Hunt <hunt@redhat.com>
1169 * conversions.stp (user_string): Don't generate errors
1170 on faults, just return <unknown>.
1171 (user_string2): New function.
1172 (user_string_warn): New function.
1174 2006-06-26 Martin Hunt <hunt@redhat.com>
1176 * aux_syscalls.stp (_stp_ctime): New function.
1177 (_struct_utimbuf_u): New function.
1179 2006-06-25 Li Guanglei <guanglei@cn.ibm.com>
1181 * syscalls.stp: Changes to AIO related syscalls(io_setup,
1182 io_submit, io_getevents, io_cancel, io_destroy)
1184 2006-06-23 Thang Nguyen <thang.p.nguyen@intel.com>
1186 * tcp.stp: Refined variables and added more
1187 function descriptions.
1188 * udp.stp: UDP tapset.
1189 * inet_sock.stp: common inet_sock functions
1190 for TCP and UDP tapsets.
1192 2006-06-22 Thang Nguyen <thang.p.nguyen@intel.com>
1194 * tcp.stp: TCP tapset (originally from IBM)
1196 2006-06-21 Josh Stone <joshua.i.stone@intel.com>
1199 * timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
1200 Convert to using the runtime-provided _stp_gettimeofday_us().
1202 2006-06-19 Martin Hunt <hunt@redhat.com>
1204 * syscalls.stp: Make the 16-bit calls optional.
1205 * syscalls2.stp: Ditto.
1207 2006-06-09 Martin Hunt <hunt@redhat.com>
1209 * syscalls2.stp: Fix sys_sync.
1211 2006-06-09 Martin Hunt <hunt@redhat.com>
1213 * syscalls2.stp: Fixed the uid and gid calls.
1215 2006-06-09 Li Guanglei <guanglei@cn.ibm.com>
1217 * syscalls.stp: made sys_ftruncate64 optional since it doesn't
1218 exist on 2.6.16*/ppc64
1220 2006-06-08 Thang Nguyen <thang.p.nguyen@intel.com>
1222 * ioblock.stp: new (block I/O activities)
1224 2006-06-06 Josh Stone <joshua.i.stone@intel.com>
1226 * process.stp (create, exec_complete): replace retval() with $return
1228 2006-06-02 Josh Stone <joshua.i.stone@intel.com>
1230 * process.stp (exec, exec_complete): conditionally include
1231 compat_do_execve for 64-bit kernels
1232 * process.stp (handle_signal): use optional probes to alternate
1233 between function or inline
1235 2006-05-30 Martin Hunt <hunt@redhat.com>
1237 * aux_syscalls.stp (_mountflags_str): Rewrite.
1238 (_umountflags_str): New.
1240 * syscalls.stp (fstatfs.return): Add retstr.
1242 * syscalls2.stp (sys_write): Use text_strn().
1243 * syscalls.stp (sys_lseek): Fix.
1246 * string.stp (text_str): New.
1249 2006-05-26 Martin Hunt <hunt@redhat.com>
1251 * errno.stp: Add octal option for returnstr.
1253 * [i686,x86_64]/syscalls.stp (umask): Print args and return
1255 (add_key): Comment out. This syscall is added by a xen patch
1256 and may not be present.
1259 * syscalls.stp (accept): Fix arg name.
1261 2006-05-25 Martin Hunt <hunt@redhat.com>
1263 * syscalls.stp: Add sys_fcntl and sys_listen.
1265 * syscalls2.stp: Commented out sys_socketcall because it only calls
1266 other system calls which are already probed.
1268 2006-05-25 Martin Hunt <hunt@redhat.com>
1270 * syscall*.stp: Change "0x%p" to "%p".
1272 2006-05-25 Li Guanglei <guanglei@cn.ibm.com>
1274 * scheduler.stp: add prev_task and next_task variable.
1276 2006-05-24 Josh Stone <joshua.i.stone@intel.com>
1279 * context.stp (probefunc): Use _stp_symbol_sprint_basic
1281 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1283 Patch from Mao Bibo (bibo.mao@intel.com)
1284 * tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
1285 print the address in IA64
1287 2006-05-19 Li Guanglei <guanglei@cn.ibm.com>
1289 * tapset/ioscheduler.stp: change . to -> operator to get the
1292 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1294 * tapset/LKET/*: tracing tapsets of LKET
1295 * tapset/context.stp: add stp_pid() func
1296 * tapset/ppc64/syscalls.stp: add conditional preprocessing
1297 since sys64_time is removed from kernel >= 2.6.16
1299 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1301 * tapset/tskschedule.stp: deleted, merge into scheduler.stp
1302 * tapset/scheduler.stp: incorporate tskschedule.stp
1304 2006-05-17 Josh Stone <joshua.i.stone@intel.com>
1306 * process.stp: Rename signal.send to signal_send and process.complete
1307 to process_complete, to allow process.* to work properly.
1308 * process.stp (_IS_ERR): declare parameter type
1309 * process.stp (process.create): correct new_pid assignment
1310 * scheduler.stp: New scheduler tapset
1312 2006-05-18 Li Guanglei <guanglei@cn.ibm.com>
1314 * tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
1315 * tapset/memory.stp: generic pagefault tapsets from LKET
1316 * tapset/networking.stp: generic networking tapsets from LKET
1317 * tapset/scsi.stp: generic scsi tapsets from LKET
1318 * tapset/tskschedule.stp: generic task scheduler tapsets from LKET
1319 * tapset/process.stp: changes to process.exec alias
1322 2006-05-16 David Smith <dsmith@redhat.com>
1324 * conversions.stp (hexstring, string): Removed functions. Because
1325 of parser changes, "string" is now a reserved word and cannot be a
1326 function name. Use 'sprintf("0x%x", num)' to replace hexstring()
1327 and either 'sprint(num)' or 'sprintf("%d", num)' to replace
1330 * syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
1331 syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
1332 syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
1333 'string()' calls to 'sprint()' calls.
1334 * syscalls2.stp (syscall.sched_get_priority_max,
1335 syscall.sched_get_priority_min, syscall.sched_getscheduler,
1336 syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
1337 syscall.setfsuid16, syscall.setgid, syscall.setgid16,
1338 syscall.setuid, syscall.setuid16, syscall.ssetmask,
1339 syscall.timer_delete, syscall.timer_getoverrun): Ditto.
1340 * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
1341 syscall.sigreturn): Ditto.
1342 * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
1343 * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
1346 * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
1347 generated systemtap code.
1349 2006-05-14 Martin Hunt <hunt@redhat.com>
1351 * aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
1352 is complete and works on different archs.
1354 2006-05-09 Josh Stone <joshua.i.stone@intel.com>
1356 * context.stp (probefunc): remove use of labels
1357 * task.stp: functions to retrieve task information
1358 * process.stp: tapset for process-related events
1360 2006-05-08 Josh Stone <joshua.i.stone@intel.com>
1363 From Thang P Nguyen <thang.p.nguyen@intel.com>
1364 * context.stp (probefunc): expands ability to detect the function
1365 for different types of probes.
1367 2006-05-05 Frank Ch. Eigler <fche@elastic.org>
1370 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
1372 2006-05-03 Frank Ch. Eigler <fche@elastic.org>
1374 * context.stp, errno.stp: Note/eliminate some retval() duplication.
1376 2006-04-27 Martin Hunt <hunt@redhat.com>
1378 * endian.stp (set_endian): Remove "pure" to prevent
1379 this from optimizing away.
1381 2006-04-21 Frank Ch. Eigler <fche@elastic.org>
1383 * aux_syscalls.stp (_fildes_u): Declare return value type.
1385 2006-04-18 Frank Ch. Eigler <fche@elastic.org>
1387 * conversions.stp (string, hex_string): Use snprintf for safety.
1389 2006-04-18 Martin Hunt <hunt@redhat.com>
1391 * conversions.stp (user_string): Reenable error message.
1393 2006-04-17 Martin Hunt <hunt@redhat.com>
1395 * endian.stp (set_endian): New function.
1397 2006-03-06 Martin Hunt <hunt@redhat.com>
1399 * system.stp: New tapset.
1401 2006-03-01 Martin Hunt <hunt@redhat.com>
1403 * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr.
1405 * syscalls.stp (bind): Call _struct_sockaddr_u().
1407 * errno.stp (errno_str): Complete rewrite in C for speed and
1409 (returnstr): New function for syscall tapet.
1411 2006-02-22 Frank Ch. Eigler <fche@elastic.org>
1413 * timestamp.stp (get_cycles): New function.
1415 2006-02-21 Martin Hunt <hunt@redhat.com>
1417 * context.stp: Fix definition of returnval(). Now the same as retval().
1418 Cleanup needed. Only one can survive.
1420 2006-02-17 Frank Ch. Eigler <fche@elastic.org>
1422 * context.stp (cpu): Clone undocumented cpuid() function.
1424 2006-02-14 Martin Hunt <hunt@redhat.com>
1426 * syscalls.stp: More updates.
1428 2006-02-14 Frank Ch. Eigler <fche@elastic.org>
1430 * queue_stats.stp: New tapset.
1432 2006-02-14 Mark McLoughlin <markmc@redhat.com>
1434 * aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/
1436 2006-02-14 Martin Hunt <hunt@redhat.com>
1438 * aux_syscalls.stp (_struct_timeval_u): New function.
1439 (_struct_timeval): New function.
1440 (_struct_timespec_u): New function.
1441 (_struct_timespec): New function.
1442 (_struct_itimerval_u): New function:
1443 (_struct_itimerval): New function:
1444 (_signal_name): New function.
1445 (_module_flags_str): Fixed.
1447 * syscalls2.stp (syscall.setitimer): Use new function
1448 _struct_itimerval_u().
1450 * syscalls.stp: Latest version. Many changes.
1452 2006-02-08 Martin Hunt <hunt@redhat.com>
1454 * aux_syscalls.stp(_msync_flag_str): Fix.
1455 (_wait_opt_str): Fix.
1456 * syscalls.stp: Latest.
1458 2006-02-07 Martin Hunt <hunt@redhat.com>
1460 * syscalls.stp: Latest.
1461 * syscalls2.stp: Commented out pciconfig calls. Those
1462 need to go in arch-specific directories.
1464 * aux_syscalls.stp (_access_mode_str): Fix.
1465 (_mmap_flags): New Function.
1466 (_mprotect_prot_str): Fix.
1469 (__fork_flags): New.
1471 2006-02-01 Martin Hunt <hunt@redhat.com>
1473 * syscalls.stp: New syscall file.
1474 * syscall2.stp: More syscalls.
1475 * i686/syscalls.stp: x86-specific calls.
1476 * x86_64/syscalls.stp: x86_64-specific calls.
1478 2006-01-30 Martin Hunt <hunt@redhat.com>
1480 * context.stp (probefunc): New function.
1481 (is_return): New function.
1482 (returnval): New function.
1484 2006-01-15 Frank Ch. Eigler <fche@elastic.org>
1486 * logging.stp: Revert.
1488 2006-01-10 Martin Hunt <hunt@redhat.com>
1490 * logging.stp: Don't set STAP_SESSION_STOPPING.
1491 That it done in _stp_exit().