summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: f6fd32da02dad4064a582c666a56705ce3b92c99 (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
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
2006-10-09  Soren Sandmann  <ssp@localhost.localdomain>

	* process.c (process_get_vdso_bytes): New function.

	* elfparser.c (parser_new_from_data): export this function as
	elf_parser_new_from_data(). 

	* binfile.c (read_inode): Don't stat if filename is
	'[vdso]'. Instead just return -1;
	(bin_file_new): Use elf_parser_new_from_data() when the file is
	[vdso]. 

	* process.c (read_maps): Change the offset of the vdso map to 0
	and the inode to -1.

	* elfparser.c (elf_parser_lookup_symbol): Remove unused 'size'
	variable.

	* binfile.c (find_separate_debug_file): Deal with cycles in the
	debuglink graph.

	* configure.ac: Set version to 1.1.0. Print warning about HEAD.

2006-10-08  Soren Sandmann  <ssp@localhost.localdomain>

	* binfile.c: Don't include bfd.h

2006-10-08  Soren Sandmann <sandmann@redhat.com> 

	* sysprof.c (process_options): New function to support --version option

2006-10-08  Soren Sandmann  <sandmann@redhat.com>

	* elfparser.c (struct ElfParser): Add a cache of the text section.

	* binparser.c (struct BinParser): Add a cache of a bin record to
	get rid of malloc()/free() overhead.

	* elfparser.c (struct ElfSym): Cache the size of the symbol

2006-10-08  Soren Sandmann <sandmann@redhat.com>

	* elfparser.c: Remove now unused load-address heuristic

	* comment out debug spew

2006-10-08  Soren Sandmann <sandmann@redhat.com>

	* elfparser.c (read_symbols): Use "SHT_DYNSYM" for ".dynsym".

2006-10-08  Soren Sandmann <sandmann@daimi.au.dk>

	* binfile.c (find_separate_debug_file): Support _debuglink
	recursions.

	* elfparser.c: Check that the sections have valid types before
	using them. 

2006-10-08  Soren Sandmann  <sandmann@daimi.au.dk>

	* Delete various debug spew

2006-10-07  Soren Sandmann  <sandmann@daimi.au.dk>

	Deal with address offsets. Address lookup is now:

	- First convert the address to an offset into the file
	- Then convert to an offset into the text segment
	- Then add the load address of the text segment (found in the
	debug binary)
	- Then finally lookup the result in the symbol table.
	
	* elfparser.c (elf_parser_get_text_offset): New function

	* elfparser.c (elf_parser_lookup_symbol): Treat addresses as
	offsets into the text segment.

	* binfile.c (bin_file_new): Store the offset of the text section
	of the actual binary (not the debug one)

	(bin_file_lookup_symbol): Subtract text_offset before passing
	address to elf parser. 

	* module/sysprof-module.c: Remove include of linux/config.h

2006-08-27  Soren Sandmann <sandmann@redhat.com>

	* binparser.c: Remove old commented out code
	* module/sysprof-module.c: Add commented out code accessing entire
	stack. 

2006-08-27  Soren Sandmann  <sandmann@redhat.com>

	* module/Makefile ($(MODULE).o): Add dependency on sysprof-module.h

	* elfparser.c (elf_parser_get_eh_frame): Add this function.
	Remove some commented out code.

Sat Aug 26 19:05:51 2006  Søren Sandmann  <sandmann@redhat.com>

	* Formatting fixes in header files.

2006-08-26  Soren Sandmann <sandmann@daimi.au.dk>

	* elfparser.c: Update to new API
	
	* binparser.h: Delete commented out declarations. Add new
	functions.

	* binparser.c: Delete ParserFrame, replace with one current
	offset. 
	(convert_uint): Make static
	(bin_parser_get_uint): Delete this function
	(bin_parser_get_string): Change this function to use current
	offset instead of frame offset.
	(bin_parser_goto): New function
	(bin_parser_align): New function
	(bin_parser_get_uint32): New function
	(bin_parser_begin): Delete this function
	(bin_parser_end): Delete this function
	(bin_parser_index): Delete this function
	(bin_record_get_string_indirect): Make this function use _goto()
	instead of _begin()/_end()
	(bin_parser_get_offset): Make this function return current offset

2006-08-26  Soren Sandmann <sandmann@daimi.au.dk>

	* binparser.[ch]: Add new struct BinRecord. Comment out functions
	related to formats. Add new functions to get fields out of
	BinRecords.

	* elfparser.c: Update to new API.

2006-08-26  Soren Sandmann <sandmann@daimi.au.dk>

	* binparser.h: Add new bin_record() functions
	* binparser.c: Implement them.

2006-08-22  Soren Sandmann <sandmann@daimi.au.dk>

	* collector.c (unique_dup): Demangle instead of strdup.

2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* elfparser.[ch]
	(elf_parser_get_sym_name): Rename elf_sym_get_* to
	elf_parser_get_sym_* and make these functions take a parser.
	(parser_from_sym): Delete this function.
	(elf_parser_new): Don't add to all_elf_parsers
	(elf_parser_free): Don't remove from all_elf_parsers
	(elf_parser_new): Rename to parser_new_from_file()
	(elf_parser_new_from_file): Rename to elf_parser_new

	* binfile.c: Update for new elfparser API

	* TODO: updates

2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* binfile.c (struct BinFile): Add ref_count and filename
	(bin_files): Add map from filenames to BinFiles
	(bin_file_new): First look for BinFile in the cache.
	(bin_file_free): If refcount reaches 0, remove BinFile from cache.
	
	* TODO: Updates

2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* process.c (process_lookup_symbol): Pass map->bin_file to
	bin_symbol_get_name.

	* binfile.h (bin_symbol_get_name): Add BinFile parameter

	* elfparser.c (elf_demangle): Use options DMGL_PARAMS | DMGL_ANSI

	* TODO: Updates

	* binfile.c: Rewrite this file to use ElfParser instead of libbfd.

	* configure.ac: Drop dependencies on libbfd and libiberty.

2006-08-21  Soren Sandmann <sandmann@redhat.com>

	* TODO: Update

	* elfparser.c (elf_parser_lookup_symbol): Change sense of size
	check.

2006-08-20  Soren Sandmann <sandmann@redhat.com>

	* elfparser.c (elf_parser_get_crc32): Initialize crc to 0xffffffff
	and invert it before returning.

	* elfparser.h: Declare elf_parser_get_debug_link()

2006-08-20  Soren Sandmann  <sandmann@daimi.au.dk>

	* elfparser.c (elf_parser_get_load_address): Comment out debug spew.
	(elf_parser_lookup_symbol): Add check that address is actually
	within the bounds of the found function.

2006-08-20  Soren Sandmann  <sandmann@daimi.au.dk>

	* process.h: Make process_lookup_symbol() return a string. Delete
	process_lookup_symbol_with_filename().

	* process.c (struct Process): Make "undefined" a string
	(lookup_kernel_symbol): Return a string 
	(process_lookup_symbol): Return a string, not a symbol

	* collector.c (unique_dup): Take a string instead of a
	Symbol. 
	(lookup_symbol): Make sym a string instead of a Symbol.

	* binfile.c (bin_symbol_get_name): New function.

	* binfile.[ch] (struct BinSymbol): Rename Symbol to BinSymbol and
	make it an opaque structure.

	* binfile.[ch]: Remove unused symbol operations

2006-08-20  Soren Sandmann <sandmann@daimi.au.dk>

	* elfparser.c (elf_parser_new_from_file): New function

2006-08-20   Soren Sandmann <sandmann@daimi.au.dk>

	* elfparser.c (elf_parser_get_debug_link): New function

	* elfparser.c: Delete SymbolTable typedef

	* binparser.[ch] (bin_parser_get_data): New function
	(bin_parser_get_length): New function

	* elfparser.[ch] (elf_parser_get_crc32): New function

	* TODO: Updates

	* elfparser.c (elf_parser_lookup_symbol): Offset passed in
	addresses by the load address.

	* elfparser.c (elf_parser_get_load_address): New function to
	compute the load address of the beginning of the file.

2006-08-20  Soren Sandmann  <sandmann@redhat.com>

	* elfparser.c (elf_sym_get_name): Read the name out of the file
	instead of out of the struct.

	* elfparser.c (struct ElfSym): Store an offset instead of the
	name. 

	* elfparser.c (all_elf_parsers): Keep track of all elf parsers
	created.
	
2006-08-20  Soren Sandmann  <sandmann@redhat.com>

	* Makefile.am, demangle.c: New file, made out of files from
	libiberty in binutils.

	* binfile.c: Use the new sysprof_cplus_demangle() function
	
	* elfparser.[ch]: Add code to lookup symbols. Add demangling
	function

	* testelf.c: Various tests

2006-08-19  Soren Sandmann  <sandmann@redhat.com>

	* elfparser.c: Many cleanups.

2006-08-16  Soren Sandmann  <sandmann@redhat.com>

	* testelf.c: Really add this file.

2006-08-15  Soren Sandmann  <sandmann@redhat.com>

	Add beginning of an ELF parser.
	
	* binparser.[ch]: New files
	* elfparser.[ch]: New files
	* testelf.c: New file
	* Makefile.am (testelf_SOURCES): Add new testelf program.

Sat Aug 12 16:13:05 2006  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Make n_samples per-cpu. Add an atomic
	variable in_timer_notify and use it to lock out simultaneous timer
	interrupts.

	* stackstash.c (decorate_node): Make decorate_node() static

	* TODO

Fri Aug 11 11:41:15 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

2006-08-08  Soren Sandmann  <ssp@localhost.localdomain>

	* sysprof.c (main): Make the load_file() idle low priority to
	avoid weird toolbar flash. 

	* TODO, NEWS, README: updates.

2006-07-31  Paolo Borelli  <pborelli@katamail.com>

	* sysprof.c (expand_descendants_tree): small cleanup.

2006-07-31  Soren Sandmann <sandmann@redhat.com>

	* stackstash.[ch]: Add a destroy notifier to StackStash

	* collector.c (collector_create_profile): Pass g_free as destroy
	notifier.

	* collector.c (collector_reset): Pass NULL as destroy notifier

	* profile.c (profile_load): Pass g_free here.

	* profile.c (struct Profile): Remove unused "Node" typedef 

	* collector.c (resolve_symbols): Free the array here.

	* TODO: various updates.
	
2006-07-30  Soren Sandmann <sandmann@redhat.com>

	* signal-handler.c: Simplify this file a bit, and make it not rely
	on atomic pointer writes.

2006-07-18  Bastien Nocera  <hadess@hadess.net>

	* configure.ac: we need at least glib 2.6.0 for the gstdio.h functions

2006-06-05  Soren Sandmann <sandmann@redhat.com>

	* TODO: Updates

Sat Apr 22 15:08:01 2006  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: updates
	* profile.c, sfile.c, sformat.c: Various formatting fixes.

Wed Apr  5 11:26:30 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: updates

Mon Mar 27 23:04:30 2006  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates.

	* sfile.c (handle_{begin,end}_element): Don't generate begin/end
	instructions for value elements.

	* sfile.c (build_instructions): Remove debugging spew.

Mon Mar 27 21:44:04 2006  Soeren Sandmann  <sandmann@redhat.com>

	* sformat.[ch]: New files containing a simplified and sanitized
	version of the state machine and type system from sfile.c.
	
	* sfile.c: Move the state machine and type management to separate
	files. Make the amount of memory used during loading and saving
	less obscene.

	* stackstash.c (stack_stash_new_from_root): Make this function
	store the root again.

Mon Mar 27 09:55:01 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: updates

2006-03-11 Soren Sandmann <sandmann@redhat.com>

	* TODO: updates
	
	* stackstash.[ch]: Make stackstash refcounted

	* collector.c, profile.c: Update for refcounted stackstash, plug
	leak.

	* collector.c (open_fd): Remove FIXME comment

2006-03-05 Soeren Sandmann <sandmann@redhat.com>

	* sysprof-text.c, collector.c, sysprof.c: Do proper
	error-handling.

Fri Mar  3 22:28:03 2006  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (process_lookup_symbol): Check that the inodes match.

	* binfile.c (read_symbols): Read the inode of the file

	* binfile.c (read_symbols): Close the bfd if the symbol table
	could not be read.

Thu Mar  2 22:54:37 2006  Soeren Sandmann  <sandmann@redhat.com>

	* treeviewutils.c (tree_view_foreach_visible): Handle NULL models.

	* sysprof.glade, sysprof.c: Revert back to three pane layout.

2006-02-17  Bastien Nocera  <hadess@hadess.net>

	* configure.ac:
	* module/sysprof-module.c: (timer_notify), (sysprof_open),
	(sysprof_release): more ifdef's to make it work with Red Hat
	Enterprise Linux 4's 2.6.9-based kernel

Sat Feb  4 23:53:05 2006  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.glade: Remove ancestors pane in favor of radiobuttons in
	the right pane.

	* sysprof.c: Corresponding changes.

	* TODO: Updates

Wed Jan 25 11:24:04 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Mon Jan 16 11:12:13 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Sun Jan 15 20:22:20 2006  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (init_module): Print out sysprof version
	at module load time.

Sun Jan 15 00:24:02 2006  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* sysprof.c (build_gui): Rename 'callers' column 'ancestors'

	* profile.c (profile_list_callers): Make this function list all
	ancestors of the function. Also make it report correct numbers
	again. 

	* profile.c (profile_create_descendants): Remove debug spew

Sat Jan 14 18:24:43 2006  Soeren Sandmann  <sandmann@redhat.com>

	* configure.ac, Makefile.am: Only build GUI when the necessary
	dependencies are found.

	* sysprof.c (compute_text_width): Remove unused variable

	* profile.c (build_object_list): Follow next instead of siblings.

Fri Jan 13 23:11:33 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: updates

Fri Jan 13 22:59:48 2006  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (sysprof_open): Initialize retval.

	* module/sysprof-module.c (sysprof_read): Copy contents of trace,
	not tail to the buffer.

Wed Jan 11 20:31:11 2006  Søren Sandmann  <sandmann@redhat.com>

	* process.c (read_maps): Also make offset a gulong (Samuel Mimram)

Wed Jan 11 17:51:54 2006  Søren Sandmann  <sandmann@redhat.com>

	* collector.c: Remove debug spew. 

	* TODO: updates

Mon Jan  9 09:58:25 2006  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (timer_notify): Remove START_OF_STACK
	check.

Mon Jan  9 00:59:21 2006  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (read_maps): Use gulong for addresses. Bug reported by
	Martin Reddy.

Sun Jan  8 03:22:22 2006  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (process_flush_caches): Resurrect this function.

	* collector.c (collector_reset): Call it from here

Sun Jan  8 02:19:34 2006  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: update

Thu Jan  5 17:52:10 2006  Søren Sandmann  <sandmann@redhat.com>

	* TODO: small updates
	* sysprof.c: cosmetic updates
	* module/sysprof-module.c: cosmetic updates

2005-12-20  Kristian Høgsberg  <krh@redhat.com>

	* module/sysprof-module.c: Remove left over debug print out and
	add support for multiple clients (readers).

Tue Dec 20 16:03:29 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* sysprof-text.c (main): Make it try and load the module before
	complaining.

2005-12-20  Kristian Høgsberg  <krh@redhat.com>

	* Makefile.am: Dist and install udev rule.

	* collector.c: (open_fd):
	* sysprof-text.c: (no_module):
	* sysprof.c: (on_start_toggled): Update device filename.

	* 60-sysprof.rules: New udev rule file to set permissions for
	sysprof char device.

	* module/sysprof-module.c: Switch kernel module to use a misc char
	device instead.  Start and stop the timer on device open and
	close instead of module load and unload.

Tue Dec 20 12:19:34 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Add backslashes, pointed out by Ralph Siemsen.

Mon Dec 19 17:39:09 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (add_text): Make the tree tree-shapeed.

Mon Dec 19 15:15:48 2005  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (timer_notify): A few formatting
	fixes. Hopefully make it work with x86-64.

2005-11-29  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_descendants_row_expanded_or_collapsed): New
	function. Update screenshot window when rows are expanded and
	collapsed.

2005-11-23  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (update_screenshot_window): Update the screenshot
	window.

Wed Nov 23 00:44:34 2005  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Various cleanups

	* TODO: updates

Tue Nov 22 23:38:09 2005  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Remove unused pages_present()
	function. 

2005-11-18  Matthias Clasen  <mclasen@redhat.com>

	* configure.ac: Make configure work.

2005-11-13  Soeren Sandmann  <sandmann@redhat.com>

	* process.c: Add some experimental (and unused) code to look up
	kernel symbols.

Sat Nov 12 23:39:29 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (set_sizes): Put the vertical splitter at 3/8 *
	screen_width.

	* configure.ac: Disable warning.

Sat Nov 12 19:44:43 2005  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (read_frame): New function that uses
	copy_from_user_inatomic() as check_user_pages_readable() has
	disappeared in recent kernels.
	
	* module/sysprof-module.c (timer_notify): Use it here.
	
	* TODO: Updates

	* configure.ac: Change the wording of the CVS HEAD warning as this
	change seems to also have fixed the lockup with rawhide kernels.

Wed Nov  9 00:24:11 2005  Soeren Sandmann  <sandmann@redhat.com>

	* treeviewutils.[ch]: Add new tree_view_foreach_visible()
	function.

	* sysprof.c: Add update_screenshot_window() function.

Mon Nov  7 23:42:26 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Add beginning of a screenshot
	window.

	* sysprof.glade: Add screenshot window plus menu items.

	* stackstash.c: Remove unused function stack_node_list_leaves()

 	* xmlstore.c: Various crack

Sun Nov  6 23:03:49 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (add_trace_to_tree): Test for !prev instead of !next.

Sun Nov  6  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: updates

	* collector.c (on_read): Only call back when a new sample actually
	arrived.

	* collector.c (collector_stop): close the filedescriptor

	* sysprof.c (on_start_toggled): Change sense of test.

	* sysprof.c (ensure_profile): Stop the collector.

	* sysprof.c (on_reset_clicked): Stop the collector when state
	becomes INITIAL.

Sun Nov  6 18:31:23 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.c (stack_stash_foreach): 
	* stackstash.c (stack_node_foreach_trace): Make these function
	call back with GLists rather than GSLists.

	* profile.c (add_trace_to_tree): Iterate backwards instead of
	copying the list.

Sun Nov  6 17:06:52 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (add_trace_to_tree): Turn this function into a
	StackFunction. 

	* stackstash.c (stack_node_foreach_trace): Make this function take
	a StackFunction, and reimplement with do_callback().

Sat Nov  5 18:06:40 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (profile_create_descendants): Use callbacks from
	stackstash.

	* stackstash.c (stack_node_foreach_trace): New function
	* stackstash.c (do_node_callback): New function

Sat Nov  5 12:39:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (add_trace_to_tree): Don't compute the total field.

	* profile.h (struct ProfileDescendant): Remove 'total' field. 

	* sysprof.c: Delete DESCENDANTS_TOTAL column and everything
	related to it.

	* profile.c: Remove commented out code

	* sfile.c (handle_text): Don't copy the text

2005-11-04  Soren Sandmann  <sandmann@redhat.com>

	* collector.[ch]: Add copyright statement.

	* collector.c (on_read): Handle time getting set backwards.

	* collector.c: Remove unused empty_filedescriptor() function.

2005-11-03  Soren Sandmann  <sandmann@redhat.com>

	* configure.ac: Make the message about the kernel source package
	more informative. Code from Kjetil Torgrim Homme.

	* sysprof.c (on_start_toggled): Only delete the data if the 
	profiling can actually be started.

2005-11-01  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_start_toggled): Update GUI after showing error
	message.

	* sysprof.glade: Rename File menu Profiler, move
	Start/Profile/Reset here, delete View menu.

Mon Oct 31 23:41:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.h (struct StackNode): Add "total" field.

	* stackstash.c (stack_stash_add_trace): Keep track of the
	aggregate size.

	* profile.c (profile_get_size): Sum the totals of the siblings
	instead of all the children.

	* profile.c (build_object_list): Correctly compute obj->self

	* profile.c (profile_load): Don't ignore the node->total field.

	* profile.c (serialize_call_tree): Save node->total instead of the
	computed total

	* profile.c (compute_total): Use n->total instead of computing it
	from scratch.

	* profile.c: Remove unused sum_children() function.

	* TODO: Updates

	* process.c (process_get_from_pid): Plug leak.

Mon Oct 31 21:36:37 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (fill_main_list): free the profile objects.

	* sysprof.c (struct Application): Remove unused variable.

Mon Oct 31 00:22:58 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (set_application_title): Use APPLICATION_NAME macro

	* sysprof.c (load_file): Don't leak the FileOpenData

	* TODO: updates

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* configure.ac, Makefile.am: Don't link sysprof-text to gtk+.

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* Merge stackstash-reorg branch into HEAD

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* Makefile.am, sysprof.c, sysprof-text.c, collector.[ch]: Rename
	profiler -> collector

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* profile.c (profile_load): Reenable loading. 

2005-10-30  Soren Sandmann <sandmann@redhat.com>

	* profile.c (profile_save): Reenable saving.

Sat Oct 29 21:37:42 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.c (stack_stash_foreach): Rename
	stack_stash_foreach_reversed() to stack_stash_foreach(). Delete
	the old, unused stack_stash_foreach().

	* stackstash.h: Remove stack_stash_foreach_reversed(). 

	* profiler.c: Use new name.	

Sat Oct 29 18:37:37 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Sat Oct 29 17:38:01 2005  Søren Sandmann  <sandmann@redhat.com>

	* stackstash.[ch]: Add stack_stash_get_root(). 

	* profile.c (profile_get_size): Make this function work again. 

Sat Oct 29 16:58:22 2005  Søren Sandmann  <sandmann@redhat.com>

	* profile.c: Delete all the obsolete stuff related to call tree.

	* TODO: update

Sat Oct 29 16:52:32 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* profile.c: Comment out a lot of unused stuff. Also temporarily
	comment out loading and saving.

Sat Oct 29 16:45:34 2005  Søren Sandmann  <sandmann@redhat.com>

	* profile.c (compute_total): New function.

	* profile.c (profile_list_callers): Port this function over to use
	StackNodes instead.

Sat Oct 29 16:22:28 2005  Søren Sandmann  <sandmann@redhat.com>

	* profile.c (build_object_list): Make this function allocate
	the ProfileObjects.

	* stackstash.[ch]: Add stack_stash_foreach_by_address()

	* profile.c (profile_get_objects): Use it here to reimplement 
	profile_get_objects() in terms of the stackstash.

Sat Oct 29 15:33:07 2005  Søren Sandmann  <sandmann@redhat.com>

	* profile.c (profile_new): Add stash field to profile.

	* stackstash.[ch]: Add stack_node_list_leaves();

	* profile.c (profile_create_descendants): Port this function over
	to use StackNodes instead.

Sat Oct 29 14:43:00 2005  Søren Sandmann  <sandmann@redhat.com>

	Fix crash pointed reported by Rudi Chiarito. 
	
	* stackstash.c (stack_stash_add_trace): Just return if
	n_addrs is 0. 

	* sysprof.c (on_read): Only trace if n_addresses != 0. 

Sat Oct 29 03:47:03 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.[ch], sysprof.c: Get rid of ProfileObject for callers
	and descendants.

	* TODO: updates.

Sat Oct 29 02:57:34 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.[ch]: Export the StackNode struct, add new
	nodes_by_data hashtable to StackStash object, keep track of
	whether objects are toplevels.

	* TODO: some updates.

Sat Oct 29 14:29:55 2005  Søren Sandmann  <sandmann@redhat.com>

	* README, TODO: updates

Fri Oct 14 11:44:43 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Add a warning about known bugs in the kernel
	module in this branch.

	* TODO: updates.

Tue Oct 11 22:40:24 2005  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (SAMPLES_PER_SECOND): Add back these
	constants, but this time make sure we won't divide by 0 or
	anything like that.

Mon Oct 10 22:50:57 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Merge in changes from HEAD

Thu Oct  6 22:28:39 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.c (do_callback): Call stack func if node->size > 0,
	not if node->children != NULL
	* stackstash.c (do_reversed_callback): same
	* profile.c (generate_presentation_name): Delete this function
	* profile.c (generate_key): Delete this function.

Wed Oct  5 23:57:08 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* profile.c (generate_call_tree): Delete all the process stuff

	* profile.c (node_add_trace): Delete process argument

	* profile.c (lookup_profile_object): Don't generate a string key,
	just use the address directly.

	* profile.c (ensure_profile_object): Use the address as
	presentation name.

	* profiler.c (profiler_create_profile): Pass in the resolved
	stash. 

Sun Oct  2 21:08:16 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_delete): Work around glib bug 317775

	* sysprof-text.c (signal_handler): Work around glib bug 317775

Sun Oct  2 16:31:37 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.c (stack_stash_foreach_reversed): Add this function

	* process.c: Add a per-process undefined symbol.

	* profiler.c (resolve_symbols): Add code to do symbol resolution
	here.

	* TODO: Updates

Sat Oct  1 18:32:52 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.h, sysprof.c: Remove some unnecessary includes.

Sat Oct  1 18:12:44 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profiler.[ch]: Add profiler_get_n_samples(); add unused
	empty_file_descriptor()

	* profile.h: Add include guards
	
	* process.[ch]: Delete process_flush_caches();

	* helper.[ch]: Remove these files

	* sysprof.c: Use the new profiler class.

	* sysprof-text.c: Use the new profiler class

	* Makefile.am: Various cleanups.

Sat Oct  1 17:05:43 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profiler.[ch]: New files containing a profiler class with code
	that can be shared between gui and command line.
	
	* sysprof.c (main): Remove some commented out code

	* stackstash.c (do_callback): Store the trace on the stack instead
	of allocating it dynamically.

Sat Oct  1 01:50:15 2005  Soeren Sandmann  <sandmann@redhat.com>

	* stackstash.c (sstack_stash_add_trace): Simplify this function a
	lot.

	* helper.c: Include "process.h"

Sat Oct  1 01:29:06 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (generate_object_table, generate_call_tree): Don't
	take the process as an argument. Instead dig it out of the
	stacktrace.
	
	* helper.c (add_trace_to_stash): New file, that adds a stacktrace
	and a process to a stackstash.
	
	* stackstash.[ch]: Remove all traces of the concept of
	Process. Simplify stack_node_add_trace() somewhat.

Mon Oct 10 22:49:03 2005  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Delete lots of commented-out code.

Mon Oct 10 14:33:50 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Add --disable-kernel-module option. Patch from
	Pascal Terjan. 

Mon Oct 10 13:00:20 2005  Robert Love  <rml@novell.com>

	* module/sysprof-module.c: Don't use INTERVAL or SAMPLES_PER_SECOND
	  now that we use register_timer_hook(), which hits off the timer
	  interrupt at HZ freqency (1/250 second on x86).

Sat Oct  1 01:21:57 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Update

Wed Sep 28 12:08:32 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-text.c: Add my name to the copyright statement

Tue Sep 27 01:33:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (process_lookup_symbol): If the address is 0x01, treat
	as kernel, regardless of whether we have a map for that address or
	not.

	* module/sysprof-module.c (timer_notify): Take a stack trace of
	the current process, even when we are in kernel mode. This way we
	can assign kernel activity to individual user space stacktraces.

	* TODO: updates.
	
Sat Sep 24 14:41:23 2005  Soeren Sandmann  <sandmann@redhat.com>

	* configure.ac: Bump version number to 1.1.0

	* signal-handler.c: Many, mostly cosmetic, cleanups

	* sysprof-text.c: uninstall signal handlers when exiting

Sat Sep 24 00:01:42 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Nakefile.am, sysprof-text.c: New non-GUI version, written
	by Lorenzo Colitti, with some changes by me.

	* signal-handler.[ch]: New files that provide a way to get UNIX
	signals into a glib main loop.

	* README: add Lorenzo to credits
	
Fri Sep 23 20:46:40 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): If the glade file doesn't exists pop up 
	an alert suggesting running 'make install'

	* sysprof.c: Remove some commented out code

Sat Sep 17 14:35:32 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Release 1.0 (this comment was added post facto)
	
	* Bump version numbers
	* README: update
	* TODO: Updates

Sun Sep  4 19:38:51 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Tue Aug 30 16:57:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* configure.ac: Complain if we can't find /lib/modules/`uname
	-r`/build/Makefile. 

	* process.c (process_lookup_symbol): Take an address of 0x1 to
	mean "in kernel".

	* module/sysprof-module.c (timer_notify): When reporting in-kernel
	time, give the current pid instead of -1.

	* TODO: updates

Mon Aug 15 20:39:11 2005  Soeren Sandmann  <sandmann@redhat.com>

	* binfile.c, process.c, profile.c: Fix some warnings.

Mon Aug  1 23:49:51 2005  Soeren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (REG_INS_PTR): Add support for
	amd64/x86-64. Patch from Mike Frysinger.

Sun Jul 10 10:51:52 2005  Soeren Sandmann  <sandmann@redhat.com>

	* binfile.c: Various minor clean-ups

Sat Jul  9 23:20:39 2005  Soeren Sandmann  <sandmann@redhat.com>

	* binfile.c (bin_file_new): Cache BinFiles by filename.

	* stackstash.c (stack_stash_free): Plug leak

	* process.c (process_free_maps): Plug leak

	* module/Makefile (install): Check that depmod exists before
	running it.

Sun Jun 19 15:42:34 2005  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c (SAMPLES_PER_SECOND): Set to 200.

	* sysprof.c (on_about_activated): Add version information

	* configure.ac: Bump version to 0.91
	
	* README: Updates

Sat Jun 18 22:45:04 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* configure.ac: Check for Linux 2.6.11

	* process.c (get_pidname): Present pid=-1 as [kernel].

	* module/sysprof-module.c: Use register_timer_hook() instead of
	a kernel timer. Set trace.pid to -1 if interrupt happens in
	kernel.

Sun Jun 12 20:30:37 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): Disable type-ahead search for all the
	tree views.
	
	* sysprof.c (on_object_selection_changed): Call it from here

	* sysprof.c (expand_descendants_tree): New function that
	determines what nodes to expand in the descendatns view. 

Sun Jun 12 13:37:15 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Thu Jun  9 13:28:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Thu May 26 01:10:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_callers_row_activated): Grab focus on the callers
	view, not the descendants view.
	
	* sysprof.c (on_read): Add a short "dead" period after a reset,
	so that 'samples' will actually be 0 for a while.
	
Mon May 23 01:37:26 2005  Soeren Sandmann  <sandmann@redhat.com>

	* README: Remove comment about auto* stuff, link to

		http://www.daimi.au.dk/~sandmann/sysprof/

Sun May 23 16:10:00 2005  Soeren Sandmann  <sandmann@redhat.com>

	-=-=-=-=-=- Release v. 0.9 -=-=-=-=-=-
	
Sun May 22 21:06:36 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Sat May 21 20:58:59 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: update
	
	* sysprof.c (on_menu_item_activated): New function. 

	* sysprof.c (build_gui): Hook up menu items.

	* module/sysprof-module.c (init_module): Remove module_init/exit
	as they cause build failure on kernels < 2.6.11.

Sat May 21 00:59:38 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: update

Wed May 18 22:21:52 2005  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: Remove ref-counting since it didn't
	actually do any good.

	* sysprof.c (load_module): Use g_spawn_command_line_sync() instaed
	of system().

Sun May 15 11:56:30 2005  Søren Sandmann  <sandmann@redhat.com>

	* module/sysprof-module.c: First attempt at making module robust
	agains unloading when in use.

Sun May 15 10:24:09 2005  Soeren Sandmann  <sandmann@redhat.com>

	* Makefile.am, module/Makefile: Do more-or-less what the automake
	manual suggests about foreign subdirectories.

Sat May 14 16:36:32 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (set_application_title): Update the title bar on
	load/save

	* treeviewutils.c, sfile.c: Fix compiler warnings

	* Makefile.am: define PIXMAPDIR
	
Sat May 14 15:49:52 2005  Søren Sandmann  <sandmann@redhat.com>

	Auto*ify.
	
	* TODO: updates

	* AUTHORS, INSTALL, Makefile.am, NEWS, configure.ac: New files

	* module/Makefile: New file

	* module/sysprof-module.c, module/sysprof-module.h: Move these
	files to their own directy, as the kernel build system does not
	work very well with auto*.

	* sysprof.c, autogen.sh: Some auto* changes.
	
Sun May  8 16:31:32 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: more updates

	* sysprof.c: Try loading the module before complaining

Sun May  8 15:45:08 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Restore lost wake_up().

	* sfile.c: Comment out use of bz2.

	* Makefile: Add an install target. Add GLADE_DIR and PIXMAP_DIR

	* sysprof.c (build_gui): use GLADE_DIR and PIXMAP_DIR here.

	* TODO: Updates.

Sat May  7 13:57:17 2005  Søren Sandmann  <sandmann@redhat.com>

	* sfile.c (sfile_output_free): Implement this function
	
	* sfile.c (sfile_input_free): Implement this function

Fri May  6 23:38:48 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Another desparate hack to try
	and prevent the oops.

Sat Apr 30 16:57:23 2005  Soeren Sandmann  <sandmann@redhat.com>

	* process.c (PAGE_SIZE): Use getpagesize()

	* TODO: More updates

Sat Apr 30 15:44:12 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* sysprof-module.c (get_regs): Change the way we get registers for
	a task so that it works with 2.6.11

Sat Apr 23 19:17:18 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Sat Apr 23 19:12:52 2005  Søren Sandmann  <sandmann@redhat.com>

	* profile.c: Store a pointer to the root of the call tree

	* profile.c (profile_load): Call sfile_input_free()

	* sfile.c (sformat_free): Implement this function

Sat Apr 23 18:38:46 2005  Søren Sandmann  <sandmann@redhat.com>

	* sfile.c (post_process_read_instructions): Check pointer types

	* sfile.c (post_process_instructions_recurse): Delete this unused function

Sat Apr 23 17:49:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (page_readable): New function to check if the
	page is readable before reading. Noop on kernel <= 2.6.11

	* sysprof-module.c (get_mm, put_mm): New functions to confine
	#ifdefs. 

Sat Apr 23 17:48:22 2005  Søren Sandmann  <sandmann@redhat.com>

	* Makefile (MODCFLAGS): Disable optimization as I suspect
	the oops is related to miscompilation.

Fri Apr 22 00:09:16 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (read_user_space): On >= 2.6.11 check that the
	pages are present and readable before reading them.

Tue Apr 19 23:26:45 2005  Kristian Høgsberg  <krh@bitplanet.net>

	* Makefile (check): Add simple check target that runs a sanity
	check of the build environment.

Sun Apr 17 00:20:41 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (on_open_clicked): Factor out some stuff in their own
	functions.

	* sysprof.c (load_file): Idle handler to load files given on the
	command line.

	* sysprof.c (main): If a filename is passed on the command line,
	load it in an idle handler.

Sun Apr 17 00:19:03 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

Sat Apr 16 19:51:48 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (read_user_space): Read a whole page at a time.

Sat Apr 16 14:15:55 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Update
	
	* sysprof-module.c (x_access_process_vm): On kernel 2.6.9 and
	later use get_task_mm()/mmput() instead of directly accessing
	task->mm.

Sat Apr 16 01:54:18 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Add backtrace for kernel oops.

Fri Apr 15 16:37:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: updates

	* sysprof.c (sorry): If you hit profile when the module isn't
	loaded, pop up an annoying dialog.

	* sysprof-module.c: Clean-ups, remove various unused abstractions.

Sat Apr  9 17:49:13 2005  Søren Sandmann  <sandmann@redhat.com>

	* COPYING: Add a copy of the GPL

Sat Apr  9 17:04:50 2005  Søren Sandmann  <sandmann@redhat.com>

	* Makefile: Remove debug spew

	* *: Add copyright notices

Fri Apr  8 21:30:02 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: More updates

Fri Apr  8 20:48:58 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): Load the icon, hook up "about"
	activation.

	* sysprof.c (on_about_activated): New function. Show an about
	dialog.

	* sysprof.c (struct Application): Add an icon field

	* TODO: Updates
	
	* sysprof-icon.png: Icon, drawn by Diana Fong

Tue Apr  5 23:01:02 2005  Søren Sandmann  <sandmann@redhat.com>

	* binfile.c (read_symbols): Put back the weird loop, and stop
	pretending I understand this. This time use SEC_ALLOC instead of
	SEC_LOAD.

Tue Apr  5 20:13:44 2005  Søren Sandmann  <sandmann@redhat.com>

	* process.c (process_ensure_map): Add commented out debug spew.

	* process.c (process_lookup_symbol): Remove all should_offset()
	function and all references to it.

	* binfile.c (bin_file_lookup_symbol): Document that address must
	be in file coordinates.

	* binfile.c (read_symbols): Remove misguided code that tried to
	guess the load address of the file. Instead, do all computations
	in "file coordinates". Also fix a memory leak. Add commented out
	debug spew.

	* binfile.c (separate_debug_file_exists): Fix signedness

Tue Apr  5 14:34:43 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (x_access_process_vm): Make it compile with
	kernel 2.6.11

	* TODO: updates

Mon Apr  4 00:57:11 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Busy cursors in many more places.

	* TODO: updates

Sun Apr  3 23:28:45 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Re-schedule the timeout here
	instead of in on_timer().
	
	* sysprof-module.c (on_timer): Only block tasks in the
	TASK_RUNNING state. 

Sun Apr  3 17:03:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (queue_generate_stack_trace): Put current
	process to sleep.

	* sysprof-module.c (do_generate): Wake up the traced process

Thu Mar 31 23:09:09 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): Remove stray %

Thu Mar 31 21:18:13 2005  Søren Sandmann  <sandmann@redhat.com>

	* treeviewutils.c (add_double_format_column): Right justify numbers

	* sysprof.c (build_gui): Add a space after the numbers

	* sysprof.c (on_callers_row_activated): Focus object view

	* sysprof.c (on_descendants_row_activated): Focus new descendants
	tree. 

Thu Mar 31 19:51:51 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c (do_generate): Walk all threads, not just all
	processes.

	* TODO: Add disk profiling ideas

Thu Mar 31 00:19:47 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof.c (set_busy): Make this function work

	* sysprof.c (on_profile_toggled): Use it here

	* sysprof.c (on_object_selection_changed): And here

	* profile.c (add_trace_to_tree): Use GPtrArrays instead of
	GHashTable and GList.

Mon Mar 28 11:09:02 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: updates

Sat Mar 26 19:26:52 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Show the right number of samples afte Open; remove
	shadows from menu bars and toolbars; some other tweaks.

Sat Mar 26 11:26:00 2005  Soeren Sandmann  <sandmann@redhat.com>

	* TODO: Updates

	* sfile.c (add_string): Use g_markup_escape_text() to escape the
	string before adding it to the file.

	* sysprof.c (empty_file_descriptor): New function to make sure 
	samples generated before profiling started are ignored. 
	(set_busy): New commented out function to set a busy cursor.

Fri Mar 25 21:31:08 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (update_sensitivity): Comment out sensitivity of reset button.

Fri Mar 25 21:25:31 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (get_current_object): Return NULL if nothing is
	selected.

Fri Mar 25 20:54:08 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: More updates

Fri Mar 25 20:25:44 2005  Søren Sandmann  <sandmann@redhat.com>

	* README: Require gtk+ 2.6

	* treeviewutils.c (add_plain_text_column): Ellipsisize text columns.

Fri Mar 25 19:39:24 2005  Søren Sandmann  <sandmann@redhat.com>

	* TODO: Remove "loading and saving"

	* sysprof.glade: Add ellipsises to Open and Save menu items.

	* sysprof.c (overwrite_file): Add this function, cutted-and-pasted
	from evince.

	* sysprof.c (on_save_as_clicked, on_open_clicked): Use
	GtkFileChoosers to pick the names.

	* sysprof.c: Various GUI updates.

Fri Mar 25 19:36:28 2005  Søren Sandmann  <sandmann@redhat.com>

	* sfile.c (bz2_compress): Add this function  Don't actually make
	any produce use of it.

	* profile.c (make_hash_table): Get rid of warning

Thu Mar 24 19:09:33 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Various GUI updates 

	* TODO: update
	
	* sfile.[ch] (sformat_new_optional): Add some notes about an
	"optional" construction.

Wed Mar 23 00:04:07 2005  Soeren Sandmann  <sandmann@redhat.com>

	Primitive loading and saving.
	
	* sysprof.c (on_open_clicked): Hook up loading.

	* sfile.c: Add a copy of g_file_replace() from glib CVS HEAD.

	* sfile.c (add_string): Escape and quote the string

	* sfile.c (sfile_load): Initialize current_instruction and
	instructions_by_location

	* sfile.c (post_process_instructions_recurse): Handle NULL
	pointers properly.

	* sfile.c (handle_begin_element, handle_end_element, handle_text):
	Move error handling here from state_transition_begin/text/end.

	* sfile.c (handle_text): Discard whitespace-only strings

	* sfile.c (sfile_get_pointer, sfile_get_integer,
	sfile_get_string): expect both begin, value, and end transitions.

	* sfile.c (hook_up_pointers): Only treat instructions as pointer
	values when they are. Handle NULL targets properly. 

	* sfile.c (get_number): Fix a few read-freed-data bugs

	* profile.c (profile_load): Call sfile_end_get() for the profile;
	build the nodes_by_objects hash table. Build the call tree.

	* profile.c (create_format): Don't store next pointer, but do
	store total, self and toplevel.

	* profile.c (make_hash_table): New function to build
	nodes_by_object hashtable from loaded data

Sat Mar 12 11:05:19 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sysprof-module.c: Fix small bug in add_timeout()
	* sysprof.c (build_gui): More descriptive tree labels
	* TODO: update

Thu Mar 10 16:37:52 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c (build_gui): s/Cummulative/Cumulative/. Pointed out by
	Ian McIntosh.

Mon Mar  7 14:47:09 2005  Søren Sandmann  <sandmann@redhat.com>

	* README: Add note that you need to compile the module with
	the same compiler that compiled the kernel.

Sun Mar  6 22:56:21 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sfile.c: Generate id's for objects and pointers.

Sat Mar  5 01:09:33 2005  Soeren Sandmann  <sandmann@redhat.com>

	* sfile.c: Bug fixes. Add actual generation.

Fri Mar  4 13:47:13 2005  Søren Sandmann  <sandmann@redhat.com>

	* sysprof.c: Remove include of non-existing tracing.h

Thu Mar  3 23:48:13 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.c (profile_load): Write this function.

	* sfile.c: Add support for user defined record and list types.
	Simplify logic a lot.

Wed Mar  2 23:39:50 2005  Soeren Sandmann  <sandmann@redhat.com>

	* profile.[ch], sfile.[ch]: Experiment with a
	file-format-description format.

	* sysprof.c: Add commented out code using /proc/ based
	timeout.
	
Fri Jan 21 11:23:54 2005  Søren Sandmann  <sandmann@redhat.com>

	* README: Some updates - add note about SMP kernels.

	* sysprof-module.c: Go back to just sampling the current
	process.

	* ChangeLog: I guess these do make sense, so start one.