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