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