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