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