summaryrefslogtreecommitdiffstats
path: root/tapset/ChangeLog
blob: ac2bbfa999d4068d0dde8e264e295d42d68903f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
2007-10-02  Zhaolei  <zhaolei@cn.fujitsu.com>

	* tcp.stp: Add name argument for all probes.
	* tcp.stp (tcp.setsockopt.return): Add comment.

2007-10-01  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_str_lookup_str): Print unmatched 
	values in hex.

2007-10-01  Zhaolei  <zhaolei@cn.fujitsu.com>

	* socket.stp (_success_check): Fix compare method.

2007-09-27  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
	New functions to efficiently and safely read arrays of values
	and return a string.
	(_signal_name): Reimplement using _stp_lookup_str().
	(_semctl_cmd): Ditto.
	(__fork_flags): Ditto.
	(_mmap_flags): Ditto.
	(_mprotect_prot_str): Ditto.
	(_shmat_flags_str): Ditto.
	(_at_flag_str): Ditto.
	(get_mmap_args): Complete rewrite for safety and correctness.
	
2007-09-27  Wenji Huang  <wenji.huang@oracle.com>

        * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
	* nfs.stp (__nfsi_ndirty) : Ditto.
	* nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.

2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Cai Fei <caifei@cn.fujitsu.com>
	* rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
	definition for probe sunrpc.clnt.shutdown_client, because it
	is in the man page but not defined in tapset.

2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Cai Fei <caifei@cn.fujitsu.com>
	* rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
	the output format of flags in argstr from hex to decimal just
	to make it same as other probes.

2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

	* tcp.stp (sendmsg.return): Fix description of size variable.
	* tcp.stp (recvmsg.return): Ditto.

2007-09-27  Zhaolei  <zhaolei@cn.fujitsu.com>

	* socket.stp (aio_read): Fix compile error with kernel version
	less than 2.6.19.
	* socket.stp (aio_write): Ditto.

2007-09-26  Mike Mason <mmlnx@us.ibm.com>

	* vfs.stp:
	Specified explicit types for __find_bdevname() parameters
	and return value.  The types could not be determined correctly
	when __find_bdevname() was used in nfs.stp

	Added __page_index() to work around problem dereferencing unions
	in stap language.
	
	Made generic.fop.sendfile conditional on kernel <= 2.6.22.
	generic_file_sendfile() was removed in 2.6.23.

2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* syscall.stp (syscall.brk): Add probe point
	kernel.function("ia64_brk").
	* syscall.stp (syscall.mremap): Add probe point
	kernel.function("ia64_mremap").

2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	modify field-access operator from "." to "->" in all files.

2007-09-26  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls.stp (adjtimex.return): Improve retstr.
	* aux_syscalls.stp: Add a function(_adjtimex_return_str) for
	adjtimex.return.

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

	* socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

	* nfs_proc.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.

2007-09-25  Frank Ch. Eigler  <fche@elastic.org>

	* signal.stp (_signal.send.part*): Remove sinfo alias variable,
	since it's a struct rather than integral value.

2007-09-25  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp (sys_readlinkat): Make optional.

	* aux_syscalls.stp (_struct_compat_timeval_u): ifdef
	CONFIG_COMPAT so buildok test will pass.

2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Cai Fei <caifei@cn.fujitsu.com>
	* rpc.stp Fix the wrong calling of returnstr($return) to
	returnstr(1) or returnstr(2).

2007-09-25  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Cai Fei <caifei@cn.fujitsu.com>
	* rpc.stp Add function for probe point sunrpc.clnt.create_client.

2007-09-24  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_at_flag_str): Add some more flags.
	* syscalls2.stp (openat): Call _dfd_str().

2007-09-24  David Smith  <dsmith@redhat.com>

	* nfsd.stp (__svc_fh): Added missing semicolon.

2007-09-24  Frank Ch. Eigler  <fche@elastic.org>

	* aux_syscalls.stp: Add missing CATCH_DEREF_FAULT()s. 

2007-09-24  Frank Ch. Eigler  <fche@elastic.org>

	* inet_sock.stp, ioblock.stp, rpc.stp, scsi.stp, socket.stp,
	tcp.stp: Add /* pure */ to embedded-C functions.

2007-09-24  Frank Ch. Eigler  <fche@elastic.org>

	* conversions.stp (user_string): Redefine in terms of user_string2.

2007-09-23  Ulrich Drepper <drepper@redhat.com>

	* syscalls2.stp (readlinkat): Add.

2007-09-21  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* aux_syscalls.stp (_sys_open_flag_str): Fix bug that missing
	"O_ASYNC".

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* aux_syscalls.stp: Add a function _mremap_flags.
	* syscalls.stp (syscall.mremap): Use _mremap_flags instead of
	_mmap_flags.

2007-09-21  Zhaolei  <zhaolei@cn.fujitsu.com>

	* aux_syscalls.stp(_reboot_magic_str) Fix the problem that
	LINUX_REBOOT_MAGIC1 printed as UNKNOWN VALUE.

2007-09-19  Martin Hunt  <hunt@redhat.com>
        PR 2295
	* syscalls.stp (sys_bdflush): Make optional.
	(sys_madvise): Ditto.
	(sys_mincore): Ditto.
	(sys_mlock): Ditto.
	(sys_mlockall): Ditto.
	(sys_mprotect): Ditto.
	(sys_mremap): Ditto.
	(sys_msync): Ditto.
	(sys_munlock): Ditto.
	(sys_munlockall): Ditto.
	* syscalls2.stp (sys_remap_pages): Make optional.
	* ppc64/syscalls.stp (ppc_rtas): Make optional.

2007-09-19  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscall.stp(getrusage) Fix the output of getrusage's argstr
	when who is set to -2.

2007-09-19  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* ia64/syscalls.stp Add a probe point syscall.sigaltstack for
	ia64.
	* signal.stp(signal.force_segv) Add a part(force_sigsegv_info)
	for signal.force_segv.

2007-09-13  David Smith  <dsmith@redhat.com>

	* task.stp (task_open_file_handles): Fixed for kernels less than
	version 2.6.15.
	(task_max_file_handles): Ditto.

2007-09-13  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp: Replace get_user calls with __stp_get_user.

2007-09-06  Zhaolei  <zhaolei@cn.fujitsu.com>

	* aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
	when calling with addrlen set to 0.

2007-09-06  Zhaolei  <zhaolei@cn.fujitsu.com>

	* aux_syscalls.stp (_module_flags_str): Modify combination of
	flags' values.

2007-09-04  Zhaolei  <zhaolei@cn.fujitsu.com>

	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* syscalls2.stp (quotactl): Init special_str before use.
	(rt_sigqueueinfo): Change pid's type from %p to %d in argstr.

2007-08-31  Zhaolei  <zhaolei@cn.fujitsu.com>
	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* aux_syscalls.stp (_mknod_mode_str): Fix file type
	judgement error.

2007-08-30  Wenji Huang  <wenji.huang@oracle.com>

        * nfs.stp (__iov_length): Update.
        (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
        * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
        (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
        generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
        (vfs.__set_page_dirty_buffers.return): Add condition.
        (vfs.remove_from_page_cache.return): Fix typo.
        (vfs.block_sync_page.return): Remove size and units.

2007-08-30  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp (syslog): Make $buf output as address in argstr.

2007-08-29  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp (sysfs): Set argstr's format different
	by value of option arg.

2007-08-28  Wenji Huang  <wenji.huang@oracle.com>

        * tcp.stp (sockstate): Fix typo.

2007-08-28  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls.stp (bdflush): Add comma between args in argstr
	Set second parameter(data)'s type by first parameter(func)'s
	value in argstr.

2007-08-27  Martin Hunt  <hunt@redhat.com>

	* context.stp (module_name): New. Returns the current
	module name.

	* tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.

2007-08-27  Wenji Huang  <wenji.huang@oracle.com>

        * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.

2007-08-27  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp(sendto): Set $addr as content string in argstr.

2007-08-24  Wenji Huang  <wenji.huang@oracle.com>

        * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
	(scheduler.migrate): Modify evaluating cpu_from with task_cpu.

2007-08-24  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp(send): Add len argument into argstr.

2007-08-09  William Cohen  <wcohen@redhat.com>

	* syscalls2.stp (compat_sys_utimensat): Correct function arg.

2007-08-23  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp (sys_tee.return): Make optional

2007-08-23  Martin Hunt  <hunt@redhat.com>
	
	* aux_syscalls.stp (_struct_compat_timeval_u): Fix
	array reference.
	(_struct_compat_timespec_u): Cast args to long.

2007-08-23  Martin Hunt  <hunt@redhat.com>
	
	From Cai Fei <caifei@cn.fujitsu.com>
	* aux_syscalls.stp (_waitid_opt_str): New.
	(_wait4_opt_str): Just handle wait4 options.
	* syscalls2.stp (sys_waitid): Use _waitid_opt_str.
	
2007-08-23  Wenji Huang  <wenji.huang@oracle.com>

        * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating 
	sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19.
	(sunrpc.sched.delay,sunrpc.sched.delay): Fix typo.
	(sunrpc.*.return): Change name by adding "return".

2007-08-23  Zhaolei  <zhaolei@cn.fujitsu.com>

	* aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE
	(used in send, sendto, sendmsg and compat_sys_sendmsg).
	Change name of _send_flags_str to _sendflags_str for unify with
	_recvflags_str.

	* syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change
	name of _send_flags_str to _sendflags_str for unify with _recvflags_str.

2007-08-22  Martin Hunt  <hunt@redhat.com>

	* ppc64/syscalls.stp: Remove a bunch of
	non-ppc64 specific probes.

	* syscalls.stp (compat_sys_epoll_ctl): New.
	(compat_sys_epoll_wait): New.
	(sys_epoll_pwait): New.
	(compat_sys_epoll_pwait): New.	
	(compat_sys_keyctl): New.
	(compat_sys_mq_open): New.
	(compat_sys_futex): New.			      
	(compat_sys_mq_timedsend): New.
	(compat_sys_mq_timedreceive): New.
	(compat_sys_mq_notify): New.
	(compat_sys_mq_getsetattr): New.
	(init_module): Make optional and quote args.
	(sys_eventfd): New.
	
	* syscalls2.stp (sys_splice): New.
	(sys_vmsplice): New.
	(compat_sys_vmsplice): New.	
	(sys_tee): New.
	(sys_signalfd): New.	
	(compat_sys_signalfd): New.	
	(sys_timerfd): New.
	(compat_sys_timerfd): New.
	(old32_readdir): New.
	
2007-08-22  Martin Hunt  <hunt@redhat.com>
	
	* aux_syscalls.stp (_utimensat_flag_str): New.
	(_dfd_str): New.
	(_struct_timeval2_u): Deleted.
	(_struct_timeval_u): Take a number of structs to decode.
	(_struct_compat_timeval2_u): Deleted	
	(_struct_compat_timeval_u): Take a number of structs to decode.	
	(_struct_timespec_u): Take a number of structs to decode.
	Recognize UTIME_NOW and UTIME_OMIT.
	(_struct_compat_timespec_u): Ditto.
	
	* syscalls.stp (compat_sys_old_getrlimit): Removed.
	(sys_migrate_pages): New.
	(sys_move_pages): New.

	* syscalls2.stp (compat_sys_sigprocmask): Removed. Calls
	sys_sigprocmask.
	(compat_sys_sysinfo): New.	
	(compat_sys_rt_sigtimedwait): New.
	(sys_utimensat, compat_sys_utimensat): New.
	
	* ppc64/syscalls.stp (compat_sys_sigpending): Removed.
	Calls sys_ func.
	(compat_sys_setrlimit): Ditto.
	(compat_sys_getrlimit): Ditto.
	(compat_sys_old_getrlimit): Ditto.
	(compat_sys_getrusage): Ditto.
	(compat_sys_wait4): Ditto.
	(compat_sys_sched_setaffinity): Ditto.
	(compat_sys_sched_getaffinity): Ditto.	
	
2007-08-22  Wenji Huang  <wenji.huang@oracle.com>

        * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip 
	with function addr_from_rqst to make it compatible in kernel>=2.6.19
	(nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo.
	(nfsd.unlink): Fix reference to variable iap.

2007-08-22  Wenji Huang  <wenji.huang@oracle.com>

        * nfs.stp (__iov_length): Updated, Temporary here.
        * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in.
        (nfs.proc?.*): Modify evaluating count and offset.
        (nfs.proc?.read.return): Delete evaluating size and units.
        (nfs.proc?.write.return): Modify evaluating size.
        (nfs.proc?.create): Modify evaluating filename and filelen.
        (nfs.proc?.rename): Fix typo.

2007-08-22  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp (syscall.setdomainname): Add argstr content
	(argstr = "" -> argstr = sprintf("%p, %d", $name, $len)).

2007-08-21  Frank Ch. Eigler  <fche@elastic.org>

	From Cai Fei <caifei@cn.fujitsu.com>:
	* syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
	variables.

2007-08-21  Zhaolei  <zhaolei@cn.fujitsu.com>

	* syscalls2.stp (syscall.select): Fixed variable name error
	(timeout_uaddr = $tv->$tvp).
	* aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
	used in recv, recvfrom, recvmsg, compat_sys_recvmsg

2007-08-20  Masami Hiramatsu <mhiramat@redhat.com>

	* ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not
	assigned to any inode.

2007-08-20  Wenji Huang  <wenji.huang@oracle.com>

        * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count.
	(__iov_length): New function.
	(nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write,
	 nfs.aop.release_page): Fix typo. 

2007-08-17  Martin Hunt  <hunt@redhat.com>
	From Lai Jiangshan <laijs@cn.fujitsu.com>
	* syscalls.stp (creat): Fix argstr.

2007-08-17  Wenji Huang  <wenji.huang@oracle.com>

        * ioscheduler.stp (ioscheduler.elv_add_request,
        ioscheduler.elv_completed_request): Add checking $rq.

	* memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.

2007-08-16  Frank Ch. Eigler  <fche@elastic.org>

	PR 1315.
	* target_set.stp: New tapset file.

2007-08-16  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_sock_family_str):
	Add PF_IUCV, PF_RXRPC, PF_TIPC.

	From zhaolei@cn.fujitsu.com
	Remove PF_UNIX. PF_LOCAL is correct.
	
2007-08-16  Martin Hunt  <hunt@redhat.com>	

	* aux_syscalls.stp (__get_argv): Add parameter to 
	optionally skip the first argv (argv[0]).
	(__get_compat_argv): Ditto.

	* syscalls.stp (execve): Set args to the whole argv.
	For argstr use filename plus argv starting at [1].
	(compat_execve): Ditto.
	* ppc64/syscalls.stp (sys32_exevve): Ditto.
	
	From Cai Fei <caifei@cn.fujitsu.com>	
	* syscalls.stp (sts_getpgid): Add pid arg.

2007-08-16  Wenji Huang  <wenji.huang@oracle.com>

        * errno.stp: Fix Typo for EADV.

2007-08-15  Wenji Huang  <wenji.huang@oracle.com>

        * aux_syscalls.stp (_reboot_flag_str,_futex_op_str,_mprotect_prot_str,
	_fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str,
	_rusage_who_str): Add new entries, modify default return string.

2007-08-15  Martin Hunt  <hunt@redhat.com>

	* x86_64/syscalls.stp: Add support for sys32_mmap[2],
	sys32_vm86_warning, and sys32_pipe.
	* s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls.
	* aux_syscalls.stp (get_mmap_args): Moved here.
	* syscalls.stp: Add sys32_alarm.
	* syscalls2.stp: Add sys32_uname.
	
2007-08-15  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (cpuid, cpu): Use smp_processor_id().

2007-08-12  Wenji Huang  <wenji.huang@oracle.com>

	* aux_syscalls.stp(_sched_policy_str,_nfsctl_cmd_str): Add SCHED_BATCH to
	 policy entries, FSCTL_GETFD,NFSCTL_GETFS to nfsctl entries

2007-08-10  Josh Stone  <joshua.i.stone@intel.com>

	* conversions.stp (kernel_string, kernel_long, kernel_int,
	kernel_short, kernel_char, user_string_warn): Use the
	CONTEXT->error_buffer to create an error message instead of a static
	local array.

2007-08-10  Frank Ch. Eigler  <fche@elastic.org>

	From "Zhaolei" zhaolei@cn.fujitsu.com:
	* syscalls.stp (msync.return): Correct name variable.

2007-08-10  Frank Ch. Eigler  <fche@elastic.org>

	From "Zhaolei" zhaolei@cn.fujitsu.com:
	* aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.

2007-08-09  Frank Ch. Eigler  <fche@elastic.org>

	From Cai Fei <caifei@cn.fujitsu.com>:
	* aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.

2007-08-09  William Cohen  <wcohen@redhat.com>

	* tapset/syscalls.stp (syscall.compat_execve,
	syscall.compat_execve.return):
	* tapset/syscalls2.stp (syscall.compat_sys_semtimedop, 
	syscall.compat_sys_semtimedop.return):
	* tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
	syscall.set_zone_reclaim.return): Make optional.

2007-08-08  Frank Ch. Eigler  <fche@elastic.org>

	From "Zhaolei" zhaolei@cn.fujitsu.com:
	* aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.

2007-08-03  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (__get_compat_argv): Add cast.

2007-07-31  Martin Hunt  <hunt@redhat.com>

	* syscalls*: Move sys32_sysctl to arch dirs.
	
2007-07-31  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp (clock_nanosleep): Fix flags string.
	* syscalls2.stp: Fix typo.

2007-07-31  Martin Hunt  <hunt@redhat.com>	

	* */syscalls.stp: Added mmap functions.
	Continued moving common compatibility functions to
	the main tapset.

	* aux_syscalls.stp (_shmat_flags_str): New.
	(__get_compat_argv): New.

	* syscalls.stp (adjtimex): Just print hex argument.
	(compat_adjtimex): New.
	(clock_getres): Also probe compat_clock_getres.
	(clock_gettime): Also probe compat funcs.
	(compat_clock_nanosleep): New.
	(compat_execve): New.
	(fstatat): New.
	(get[e][gu]id): Also probe sys32.
	(getsockopt): Make optional. Also probe compat.
	(mmap, mmap2): These are arch-specific, so move to individual
	architecture subdirs.
	(compat_sys_msgctl): New.
	(compat_sys_msgrcv): New.
	(compat_sys_msgsnd): New.

	* syscalls.stp (pread32): Remove. It calls pread64 .
	(quotactl): Make optional.
	(recv): Probe correct function.
	(recvfrom): Fix args.
	(compat_sys_recvmsg): New.
	(semctl): Make optional.
	(compat_sys_semctl): New.
	(semget): Make optional.
	(semop): Make optional.	
	(semtimedop): Make optional.		
	(compat_sys_semtimedop): New.	
	(send): Make optional.
	(sendmsg): Make optional.
	(compat_sys_sendmsg): New.
	(sendto): Make optional.
	(setsockopt): Make optional. Add compat.
	(shmat): New.
	(compat_sys_shmat): New.
	(shmctl): New.
	(compat_sys_shmctl): New.
	(shmdt): New.
	(shmget): New.
	(shutdown): Make optional.
	(socket): Make optional.
	(socketpair): Make optional.
	(swapoff): Make optional.
	(swapon): Make optional.
	(sysctl): Add probe on sys32.

2007-07-31  Frank Ch. Eigler  <fche@elastic.org>
	
	PR 4793
	* ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
	aliases.

2007-07-30 Dave Wilder <dwilder@us.ibm.com>

	PR 4794
	* syscalls2.stp (syscall.pread and syscall.pread32)
	For s390x only changed the $buf argument to $ubuf.
	Change the format for count and position from %p to %d
	to make it consistant with sys_read and sys_write.

2007-07-25  Mike Mason <mmlnx@us.ibm.com>

	PR 4386
	* memory.stp (vm.pagefault, vm.pagefault.return):
	__handle_mm_fault renamed back to handle_mm_fault in 2.6.23.
	Changed probes to look for either name in mm/memory.c and removed
	kernel version check.
	* task.stp (task_cpu): thread_info in task_struct changed
	to stack in 2.6.23. Usage appears to be the same as before.

2007-07-17  Mike Mason <mmlnx@us.ibm.com>

        * socket.stp: changed initialization of *num2str arrays to
	foreach loops.

2007-07-16  Martin Hunt  <hunt@redhat.com>
	(compat_sys_io_submit): Fix typo.

2007-07-16  Martin Hunt  <hunt@redhat.com>	
	* syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add.
	(compat_sys_fstatfs64): Add.
	(compat_sys_getdents, compat_sys_getdents64): Add.
	(compat_sys_ioctl): Add.
	(compat_sys_io_getevents): Add.
	(compat_sys_io_setup): Add.
	(compat_sys_io_submit): Add.

	* syscalls2.stp (compat_sys_nfsservctl): Add.
	(sys_openat): Add.
	(sys_ppoll): Add;
	(compat_sys_ppoll): Add.
	(sys32_pread64): Add.
	(sys32_pwrite32): Add.
	(sys_pwrite64): Print quoted string.
	(sys_pselect6, compat_sys_pselect6): Add.
	(sys_pselect7, compat_sys_pselect7): Add.
	(compat_sys_old_readdir): Add.
	(sys_select): Don't try to print fd_sets.
	(compat_sys_select): Add.
	(compat_sys_statfs64): Add.
	 
	* ppc/syscalls.stp: Remove duplicated probes.
	
	* aux_syscalls.stp (_nfsctl_cmd_str): New.
	(_fd_set_u): Removed. Not used.

2007-07-11  Eugene Teo  <eteo@redhat.com>

	* tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
	tcp_setsockopt): New. Also added sockopt and sockstate
	lookup tables.

2007-07-10  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_struct_compat_timeval2_u): 
	Fixes.

2007-07-10  Martin Hunt  <hunt@redhat.com>	
	* syscall*.stp: Major reorganization work.
	* aux_syscalls.stp (_sigprocmask_how_str): Rewrite
	in C so real arch-dependent header files
	will be used.
	(_mlockall_flags_str): Ditto.

2007-07-09  Martin Hunt  <hunt@redhat.com>
	* syscalls2.stp (compat_sys_settimeofday): New.

2007-07-09  Martin Hunt  <hunt@redhat.com>	

	* syscalls2.stp (compat_sys_utimes): New.
	* ppc64/syscalls.stp (compat_sys_utimes): Removed.

	* syscalls.stp (compat_sys_futimesat): Fix arg.

2007-07-03  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Add sys_futimesat, compat_sys_futimesat.
	* syscalls2.stp (utimes): Use _struct_timeval2_u.
	* aux_syscalls.stp (_struct_timeval2_u): New function.
	(_struct_compat_timeval2_u): New function.

2007-07-02  Martin Hunt  <hunt@redhat.com>

	* context.stp (print_backtrace): If no regs, just
	print the probe point.

2007-06-22  Frank Ch. Eigler  <fche@elastic.org>

	* syscalls_cfg_trunc.stp: New file for configuration global.
	* syscalls.stp (add_key, mount), syscalls2.stp (write):
	Use parameter.

2007-06-15  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64, 
	  sys_oabi_lstat64.
	* syscalls2.stp: Fix sys_send. Add sys_sendfile64.
	* errno.stp: Add arm support.

2007-06-14  Mike Mason <mmlnx@us.ibm.com>

	* socket.stp: removed extra assignment to "size" in 
	socket.aio_write.return

2007-06-07  Martin Hunt  <hunt@redhat.com>
	Fallout from PR 3331 fix. Sometimes glibc and the
	kernel disagree about signed vs unsigned.
	* aux_syscalls.stp: Rename __uid() to __int32().
	* syscalls.stp: Change syscall.chown, syscall.fchown, 
	syscall.lchown, and syscall.lseek to use __int32().
	* syscalls2.stp: Change syscall.setregid, syscall.resgid,
	syscall.resuid, and syscall.setreuid to use __int32().

2007-05-17  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Make optional sys_alarm, sys_fadvise64,
	sys_gethostname, sys_getpgrp, and sys_llseek.
	(syscall.getrlimit): Add optional calls sys_old_getrlimit,
	compat_sys_getrlimit, and compat_sys_old_getrlimit.

	* syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
	sys_signal, sys_sigprocmask, sys_utime
	(syscall.old_getrlimit): Moved into syscall.getrlimit.
	
2007-05-16  Will Cohen  <wcohen@redhat.com>
	PR 4471
	* syscall2.stp: Correct sys_pipe function args for ia64.
	
2007-05-16  Will Cohen  <wcohen@redhat.com>

	PR 4510
	* scheduler.stp: Correct function argument.
	
2007-05-09  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp: Added compat_sys_pause to syscall.pause.

	* syscalls.stp:	Added sys_lstat64 to syscall.lstat.
	Added compat_sys_gettimeofday to syscall.gettimeofday.

	* ppc64/syscalls.stp: Remove sys_lstat64.
	* i686/syscalls.stp: Remove sys_lstat64.

2007-04-25  David Wilder <dwilder@us.ibm.com>

        * syscall2.stp:syscall.pause added sys32_pause to probe list.

2007-04-25  David Wilder <dwilder@us.ibm.com>

        * s390x/syscall.stp: Fix bug in syscall.mmap returning the wrong args
			     for 32-bit versions of mmap calls.

2007-04-24  Will Cohen  <wcohen@redhat.com>

	* memory.stp: Update vm.pagefault.return comment.

2007-04-24  Mike Mason <mmlnx@us.ibm.com>

	* socket.stp: adapted to changes in 2.6.19 socket routines

2007-04-24  Will Cohen  <wcohen@redhat.com>

	* memory.stp: Add matching vm.pagefault.return

2007-04-23  Frank Ch. Eigler  <fche@elastic.org>

	* scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
	switch from __switch_to to context_switch on x86-64 in Ipswitch.

2007-04-04  Sébastien Dugué  <sebastien.dugue@bull.net>

	* scsi.stp: Fix for when the scsi driver is built into the kernel.

2007-04-11  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp: Add in6.h include.

2007-04-10  Martin Hunt  <hunt@redhat.com>

	* logging.stp (print_char): New function.

	* aux_syscalls.stp: Clean up network includes.

2007-04-09  Mike Mason <mmlnx@us.ibm.com>

	* DEVGUIDE: Added new tapset developer's guide.

2007-03-30  Frank Ch. Eigler  <fche@elastic.org>

	PR 1570.
	* memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt
	to .inline -> .function change.

2007-03-09  Pierre Peiffer  <pierre.peiffer@bull.net>

	* nfsd.stp (nfsd.dispatch): Change initialization of variable
	client_ip with a call to addr_from_rqst.
	* rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst
	- __rpc_execute returns void now.  struct rpc_xprt modified since
	kernel 2.6.19.
	* nfs.stp, vfs.stp: Local variables f_dentry renamed, because
	conflicting with a new #define in kernel header linux/fs.h in 2.6.20.

2007-02-29 David Wilder <dwilder@us.ibm.com>

	*conversions.stp (kernel_int) added goto success; (PR 4419)

2007-02-22  David Wilder <dwilder@us.ibm.com>

	* syscalls.stp, s390x/syscall.stp: Created an s390x version of
	syscall.mmap, syscall.mmap2, syscall.mmap.return, syscall.mmap2.return.

2007-02-09  Fr ank Ch. Eigler  <fche@elastic.org>

	* conversions.stp (*): Make errmsg usage uniform.

2007-02-06  Josh Stone  <joshua.i.stone@intel.com>

	* aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
	nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
	socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
	with kread wherever possible.  Some places still have hazards, as
	marked with FIXMEs.

	* errno.stp (returnstr): Don't use return in tapset C functions.
	* aux_syscalls.stp (__uget_timex_m): Ditto.
	* nfsd.stp (__get_fh): Ditto.
	* nfs.stp, vfs.stp (<many functions>): Ditto.
	* string.stp (substr): Ditto. Also make sure start index is valid.

	* syscalls.stp (syscall.execve): Change __string to kernel_string.

2007-02-06  Frank Ch. Eigler  <fche@elastic.org>

	* conversions.stp (kernel_long/int/short/char): New functions.

2007-01-31  Martin Hunt  <hunt@redhat.com>

	* context.stp (print_backtrace): Modify for new
	_stp_stack_print.
	(backtrace): Just use _stp_stack_snprint().
	(print_stack): Use new _stp_print* functions.
	(probefunc): Use _stp_symbol_snprint.
	
2007-01-26  Josh Stone  <joshua.i.stone@intel.com>

	* vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.

2007-01-25  Mike Mason <mmlnx@us.ibm.com>

	* socket.stp: Fix for missing SOCK_PASSSEC in kernels earlier
	than 2.6.18.

2007-01-25  Martin Hunt  <hunt@localhost.localdomain>

	* syscalls2.stp: Add sys32_ustat probe.

2007-01-23  Mike Mason <mmlnx@us.ibm.com>

	* socket.stp: Fixed bit checking method in sock_flags_num2str()
	to match how it's done in the kernel.

2007-01-23  Mike Mason <mmlnx@us.ibm.com>

	* socket.stp: New sockets tapset.

2007-01-23  Mike Mason <mmlnx@us.ibm.com>

	* string.stp: Added tokenize() and strtol() functions.

2007-01-17  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Add syscall.creat.
	* syscalls2.stp: Add compat_sys_open.

2007-01-13  Mike Mason <mmlnx@us.ibm.com>

	* ioblock.stp: renamed __bio_direction() to bio_rw_num()

2007-01-12  Mike Mason <mmlnx@us.ibm.com>

	* x86_64/syscalls.stp: added ? to request_key aliases
	to prevent syscall.* failures on some kernels 

2006-12-29  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* ioscheduler.stp, nfsd.stp, nfs.stp, nfs_proc.stp, 
	rpc.stp, vfs.stp: patch for 2.6.19 kernel
	
2006-12-18  Frank Ch. Eigler  <fche@elastic.org>

	* vfs.stp (ppos_pos): Protect contents with deref(), though
	this blocks operation on i686 due to bug #3079.

2006-12-13  Mike Mason <mmlnx@us.ibm.com>

	* scheduler.stp: fixed last line in scheduler.ctxswitch to
	reference $prev_p->state instead of $prev_p->pid.

2006-12-11  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* nfs.stp, nfs_proc.stp, rpc.stp: patch for 2.6.9 kernel
	
2006-11-29  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* scheduler.stp, vfs.stp: made idle_balance and 
	buffer_migrate_page optinal.
	
2006-11-20  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (caller_addr): Declare return type.

2006-11-07  Li Guanglei <guanglei@cn.ibm.com>

	From Gui Jian <guij@cn.ibm.com>
	* signal.stp, memory.stp: make do_mmap2, copy_cow_page
	and signal.handle.return optional since they are obsolete
	or failed to probe on 2.6.18.1/ppc64

2006-11-02  Frank Ch. Eigler  <fche@elastic.org>

	* README: Add a blurb against running these scripts directly.

2006-10-29  Thang Nguyen <thang.p.nguyen@intel.com>

	* context.stp: Added proper handling of statement
	* probe in probefunc() for IA64 (bz# 3423)

2006-10-16  Li Guanglei <guanglei@cn.ibm.com>
	* scsi.stp: check whether rq_disk is empty
	* scheduler.stp: revert changes for x86_64

2006-10-13  Li Guanglei <guanglei@cn.ibm.com>
	* scsi.stp: add some variables
	* scheduler.stp: skip __switch_to on x86_64

2006-10-12  Martin Hunt  <hunt@redhat.com>
	* context.stp (print_backtrace): Pass in new
	kretprobe instance arg.
	(backtrace): Ditto.
	(is_return): Rewrite.
	(stack_size): New.
	(stack_used): New.
	(stack_unused): New.
	(called_addr): New.
	(caller): New.	

2006-10-12  Li Guanglei <guanglei@cn.ibm.com>
	* ioscheduler.stp: bugfix to avoid refer to NULL pointer

2006-10-11  Li Guanglei <guanglei@cn.ibm.com>
	* nfs.stp, nfsd.stp: bugfix of pointer conversion on
	32-bit platform.
	* i686/syscall.stp: make sys_request_key optional since
	it failed to probe on 2.6.18/i386

2006-10-04  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (probefunc): Return empty string for
	userspace (< PAGE_OFFSET) pointers.

2006-09-26  David Smith  <dsmith@redhat.com>

	* test/run.sh: Changed 'stpd' references to 'staprun'.

2006-09-20  Josh Stone  <joshua.i.stone@intel.com>

	PR 3233
	* timestamp.stp (gettimeofday_ns): New function
	(gettimeofday_us, gettimeofday_ms, gettimeofday_s):
	Use gettimeofday_ns as the base unit.

2006-09-19  Li Guanglei <guanglei@cn.ibm.com>
	
	From Gui Jian <guijian@cn.ibm.com>

	* rpc.stp: Some changes and more comments of RPC tapset

2006-09-18  Martin Hunt  <hunt@redhat.com>

	* logging.stp (stp_print_binary): New function.
	* string.stp: Fix docs.

2006-09-12  Li Guanglei <guanglei@cn.ibm.com>
	
	From Li Xuepeng <xuepengl@cn.ibm.com>

	* nfsd.stp, nfs_proc.stp, nfs.stp: 
	Change NFS file identifier. Change NFS version data type
	from String to INT. Add version variable to nfs_open 
	and nfs_release.
	
2006-09-11  Li Guanglei <guanglei@cn.ibm.com>
	
	From Gui Jian(guijian@cn.ibm.com>
	* rpc.stp: tapsets for RPC activities.
	
2006-08-30  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: some changes to arguments and comments 
	of signal tapset
	
2006-08-25  Li Guanglei <guanglei@cn.ibm.com>

	From Li Xuepeng:
	* vfs.stp,nfsd.stp,nfs.stp: bug fixes and more error checking
	
2006-08-23  Li Guanglei <guanglei@cn.ibm.com>

	* vfs.stp: New tapset from Thomas Zanussi(trz@us.ibm.com) to probe
	vfs layer activities.
	* nfs.stp: New tapset from Li Xuepeng(xuepengl@cn.ibm.com) to probe
	nfs file operations and nfs address space operations on client side.
	* nfs_proc.stp: New tapset from Li Xuepeng to probe some nfs RPC 
	procedure stub functions on client side.
	* nfsd.stp: New tapset from Li Xuepeng to probe nfs server side 
	activities, including some RPC procedure stub functions, nfsd 
	dispatch routine, and nfsd_* functions
	
2006-08-22  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: More variables for signal.do_action and
	signal.procmask. New function of get_sigset(). Minor
	changes to naming of signal.pend and its comments

	
2006-08-21  Martin Hunt  <hunt@redhat.com>

	* string.stp (substr): Rewrite. Make the 3rd parameter
	be the length.

2006-08-17  Josh Stone  <joshua.i.stone@intel.com>

	* signal.stp: Changes on behalf of Manoj S Pattabhiraman:
	1. As per the suggestions, i have removed the argstr from the 
	probe points.
	2. Added some checks to find whether the signals generated are 
	USER or Kernel Mode in signal_handle probe.

2006-08-17  Li Guanglei <guanglei@cn.ibm.com>

	* signal.stp: update signal tapsets based on the discussion
	with Josh Stone on mailinglist:
	1. Added "send2queue" and "name" variable for signal.send.part* 
	2. Added signal.send.return probe alias 
	3. Added signal.checkperm and signal.checkperm.return probe alias
	4. Commented out signal.handle_stop
	5. Alias all signal syscalls to syscall tapsets.

2006-08-15  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp:  Added safety checks for __bio_ino() and 
	__bio_start_sect(). 

2006-08-09  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp: Merged io.stp from Tom Zanussi (IBM) into existing
	ioblock.stp.  Removed/Renamed duplicate variables and probes.	

2006-08-09  Josh Stone  <joshua.i.stone@intel.com>

	* signal.stp: Create a new tapset that addresses process signals.
	Much of this was contributed by Manoj Pattabhiraman (IBM).
	* process.stp: Remove aliases that now belong in signal tapset
	* memory.stp: move pagefault to vm.* namespace, and add many other
	virtual-memory themed probes.

2006-08-09  David Smith  <dsmith@redhat.com>

	* syscalls.stp: Fixed typo in syscall.kexec_load argument
	handling.

2006-08-08  Eugene Teo  <eteo@redhat.com>

	* context.stp (probemod): New function.

2006-07-18  Thang Nguyen  <thang.p.nguyen@intel.com>

	* context.stp: Modified probefunc() to print the function
	name (without the dot) for statement probe on ppc64.

2006-07-17  David Smith  <dsmith@redhat.com>

	* context.stp: Removed returnval() function.  Use $return
	instead.
	* return.stp: Removed.  Use $return instead.

2006-07-17  Tom Zanussi <zanussi@us.ibm.com>
	
	* ioblock.stp: add null bi_bdev check to bio_devname()

2006-07-17  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: make sys_acct, sys_add_key, sys_keyctl 
	and sys_modify_ldt optional on ppc64 since they are 
	weak symbol.
	* ppc64/syscalls.stp: remove syscall.acct, syscall.add_key
	and syscall.umask since they are already defined in 
	syscalls.stp
	
2006-07-04  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp, syscalls2.stp: Use user_string_quoted().

2006-07-04  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp, syscalls2.stp, ppc64/syscalls.stp: 
	fix syscall.lstat, syscall.lstat64, syscall.newlstat. 
	* ppc64/syscalls.stp: fix syscall.compat_sys_statfs and 
	syscall.sys32_open

2006-07-04  Li Guanglei <guanglei@cn.ibm.com>
	
	* memory.stp: add addr_to_node() from Jose R. Santos
	(jrs@us.ibm.com)
	* syscalls.stp: typo for syscall.lstat

2006-06-30  Martin Hunt  <hunt@redhat.com>

	* conversions.stp (user_string): Don't generate errors
	on faults, just return <unknown>.
	(user_string2): New function.
	(user_string_warn): New function.
	
2006-06-26  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_stp_ctime): New function.
	(_struct_utimbuf_u): New function.

2006-06-25  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: Changes to AIO related syscalls(io_setup, 
	io_submit, io_getevents, io_cancel, io_destroy)
	
2006-06-23  Thang Nguyen  <thang.p.nguyen@intel.com>

	* tcp.stp: Refined variables and added more
	function descriptions.
	* udp.stp: UDP tapset.
	* inet_sock.stp: common inet_sock functions
	for TCP and UDP tapsets.

2006-06-22  Thang Nguyen  <thang.p.nguyen@intel.com>

	* tcp.stp: TCP tapset (originally from IBM)

2006-06-21  Josh Stone  <joshua.i.stone@intel.com>

	PR 2525
	* timestamp.stp (gettimeofday_us, gettimeofday_ms, gettimeofday_s):
	Convert to using the runtime-provided _stp_gettimeofday_us().

2006-06-19  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Make the 16-bit calls optional.
	* syscalls2.stp: Ditto.

2006-06-09  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp: Fix sys_sync.

2006-06-09  Martin Hunt  <hunt@redhat.com>

	* syscalls2.stp: Fixed the uid and gid calls.	

2006-06-09  Li Guanglei <guanglei@cn.ibm.com>
	
	* syscalls.stp: made sys_ftruncate64 optional since it doesn't
	exist on 2.6.16*/ppc64

2006-06-08  Thang Nguyen  <thang.p.nguyen@intel.com>

	* ioblock.stp: new (block I/O activities)

2006-06-06  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp (create, exec_complete): replace retval() with $return

2006-06-02  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp (exec, exec_complete): conditionally include
	compat_do_execve for 64-bit kernels
	* process.stp (handle_signal): use optional probes to alternate
	between function or inline

2006-05-30  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_mountflags_str): Rewrite.
	(_umountflags_str): New.

	* syscalls.stp (fstatfs.return): Add retstr.

	* syscalls2.stp (sys_write): Use text_strn().
	* syscalls.stp (sys_lseek): Fix.
	(sys_llseek): Fix.
	
	* string.stp (text_str): New.
	(text_strn): New.

2006-05-26  Martin Hunt  <hunt@redhat.com>

	* errno.stp: Add octal option for returnstr.

	* [i686,x86_64]/syscalls.stp (umask): Print args and return
	in octal.
	(add_key): Comment out. This syscall is added by a xen patch
	and may not be present.
	(tux): Ditto.
	
	* syscalls.stp (accept): Fix arg name.

2006-05-25  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Add sys_fcntl and sys_listen.

	* syscalls2.stp: Commented out sys_socketcall because it only calls 
	other system calls which are already probed.

2006-05-25  Martin Hunt  <hunt@redhat.com>
	
	* syscall*.stp: Change "0x%p" to "%p".

2006-05-25  Li Guanglei <guanglei@cn.ibm.com>
	
	* scheduler.stp: add prev_task and next_task variable.

2006-05-24  Josh Stone  <joshua.i.stone@intel.com>

	PR 2677
	* context.stp (probefunc): Use _stp_symbol_sprint_basic

2006-05-19  Li Guanglei <guanglei@cn.ibm.com>

	Patch from Mao Bibo (bibo.mao@intel.com)
	* tapset/aux_syscalls.stp: change %lx to %llx in snprintf to
	print the address in IA64

2006-05-19  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/ioscheduler.stp: change . to -> operator to get the
	elevator name
	
2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/LKET/*: tracing tapsets of LKET
	* tapset/context.stp: add stp_pid() func
	* tapset/ppc64/syscalls.stp: add conditional preprocessing
	since sys64_time is removed from kernel >= 2.6.16

2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/tskschedule.stp: deleted, merge into scheduler.stp
	* tapset/scheduler.stp:   incorporate tskschedule.stp
	
2006-05-17  Josh Stone  <joshua.i.stone@intel.com>

	* process.stp: Rename signal.send to signal_send and process.complete
	to process_complete, to allow process.* to work properly.
	* process.stp (_IS_ERR): declare parameter type
	* process.stp (process.create): correct new_pid assignment
	* scheduler.stp: New scheduler tapset

2006-05-18  Li Guanglei <guanglei@cn.ibm.com>

	* tapset/ioscheduler.stp: generic IO scheduler tapsets from LKET
	* tapset/memory.stp:      generic pagefault tapsets from LKET
	* tapset/networking.stp:  generic networking tapsets from LKET
	* tapset/scsi.stp:        generic scsi tapsets from LKET
	* tapset/tskschedule.stp: generic task scheduler tapsets from LKET
	* tapset/process.stp:     changes to process.exec alias


2006-05-16  David Smith  <dsmith@redhat.com>

	* conversions.stp (hexstring, string): Removed functions.  Because
	of parser changes, "string" is now a reserved word and cannot be a
	function name.  Use 'sprintf("0x%x", num)' to replace hexstring()
	and either 'sprint(num)' or 'sprintf("%d", num)' to replace
	string().

	* syscalls.stp (syscall.accept, syscall.alarm, syscall.close,
	syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir,
	syscall.fdatasync, syscall.fsync, syscall.getsid) Changed
	'string()' calls to 'sprint()' calls.
	* syscalls2.stp (syscall.sched_get_priority_max,
	syscall.sched_get_priority_min, syscall.sched_getscheduler,
	syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid,
	syscall.setfsuid16, syscall.setgid, syscall.setgid16,
	syscall.setuid, syscall.setuid16, syscall.ssetmask,
	syscall.timer_delete, syscall.timer_getoverrun): Ditto.
	* i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn,
	syscall.sigreturn): Ditto.
	* ppc64/syscalls.stp (syscall.ppc64_personality): Ditto.
	* x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask):
	Ditto.

	* test/ctostp.sh: Uses 'sprint()' instead of 'string()' in
	generated systemtap code.

2006-05-14  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_sys_open_flag_str): Rewrite in C so it
	is complete and works on different archs.	

2006-05-09  Josh Stone  <joshua.i.stone@intel.com>

	* context.stp (probefunc): remove use of labels
	* task.stp: functions to retrieve task information
	* process.stp: tapset for process-related events

2006-05-08  Josh Stone  <joshua.i.stone@intel.com>

	PR 2594
	From Thang P Nguyen <thang.p.nguyen@intel.com>
	* context.stp (probefunc): expands ability to detect the function
	for different types of probes.

2006-05-05  Frank Ch. Eigler  <fche@elastic.org>

	PR 2643
	* syscalls.stp: Put back some dummy syscall.exit*.return probes.

2006-05-03  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp, errno.stp: Note/eliminate some retval() duplication.

2006-04-27  Martin Hunt  <hunt@redhat.com>

	* endian.stp (set_endian): Remove "pure" to prevent
	this from optimizing away.

2006-04-21  Frank Ch. Eigler  <fche@elastic.org>

	* aux_syscalls.stp (_fildes_u): Declare return value type.

2006-04-18  Frank Ch. Eigler  <fche@elastic.org>

	* conversions.stp (string, hex_string): Use snprintf for safety.

2006-04-18  Martin Hunt  <hunt@redhat.com>

	* conversions.stp (user_string): Reenable error message.

2006-04-17  Martin Hunt  <hunt@redhat.com>

	* endian.stp (set_endian): New function.

2006-03-06  Martin Hunt  <hunt@redhat.com>

	* system.stp: New tapset. 

2006-03-01  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr. 

	* syscalls.stp (bind): Call _struct_sockaddr_u().

	* errno.stp (errno_str): Complete rewrite in C for speed and
	accuracy.
	(returnstr): New function for syscall tapet.
	
2006-02-22  Frank Ch. Eigler  <fche@elastic.org>

	* timestamp.stp (get_cycles): New function.

2006-02-21  Martin Hunt  <hunt@redhat.com>

	* context.stp: Fix definition of returnval(). Now the same as retval().
	Cleanup needed. Only one can survive.

2006-02-17  Frank Ch. Eigler  <fche@elastic.org>

	* context.stp (cpu): Clone undocumented cpuid() function.

2006-02-14  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: More updates.

2006-02-14  Frank Ch. Eigler  <fche@elastic.org>

	* queue_stats.stp: New tapset.

2006-02-14  Mark McLoughlin  <markmc@redhat.com>

	* aux_syscalls.stp: (_sys_open_flag_str): s/O_NDCTTY/O_NOCTTY/

2006-02-14  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp (_struct_timeval_u): New function.
	(_struct_timeval): New function.
	(_struct_timespec_u): New function.
	(_struct_timespec): New function.	
	(_struct_itimerval_u): New function:
	(_struct_itimerval): New function:	
	(_signal_name): New function.
	(_module_flags_str): Fixed.

	* syscalls2.stp (syscall.setitimer): Use new function
	_struct_itimerval_u().

	* syscalls.stp: Latest version. Many changes.
	
2006-02-08  Martin Hunt  <hunt@redhat.com>

	* aux_syscalls.stp(_msync_flag_str): Fix.
	(_wait_opt_str): Fix.
	* syscalls.stp: Latest.
	
2006-02-07  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: Latest.
	* syscalls2.stp: Commented out pciconfig calls. Those
	need to go in arch-specific directories.

	* aux_syscalls.stp (_access_mode_str): Fix.
	(_mmap_flags): New Function.
	(_mprotect_prot_str): Fix.
	(__string): New.
	(__get_argv): New.
	(__fork_flags): New.

2006-02-01  Martin Hunt  <hunt@redhat.com>

	* syscalls.stp: New syscall file.
	* syscall2.stp: More syscalls.
	* i686/syscalls.stp: x86-specific calls.
	* x86_64/syscalls.stp: x86_64-specific calls.

2006-01-30  Martin Hunt  <hunt@redhat.com>

	* context.stp (probefunc): New function.
	(is_return): New function.
	(returnval): New function.

2006-01-15  Frank Ch. Eigler  <fche@elastic.org>

	* logging.stp: Revert.

2006-01-10  Martin Hunt  <hunt@redhat.com>

	* logging.stp: Don't set STAP_SESSION_STOPPING.
	That it done in _stp_exit().