1 2001-12-31 Philippe Elie <ph_e@club-internet.fr>
4 * module/oprofile.c: export cpu type preparing for user space
6 * module/oprofile.h: preparatory work to add support for
9 * pp/oprofpp.cpp: cleanup #if 0 ... #else ... #endif
10 * pp/orofpp_util.cpp: allow to deduce image name from
11 shared lib samples files name produced with
14 * gui/oprof_start.cpp: minor fix
16 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
18 * various files: use op_cpu enum for cpu type
22 * all Makefile.in: hide .d files in .deps directories
24 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
26 * Makefile.in: move config.h.in to maintainerclean - it is included
27 in a tarball so a distclean shouldn't remove it
29 2001-12-31 John Levon <moz@compsoc.man.ac.uk>
33 * gui/ui/oprof_start.base.ui:
35 * doc/oprofile.1.in: small updates
37 * oprofile.c: more detail on locking requirements for wake_up
39 2001-12-31 Michel Dagenais <michel.dagenais@polymtl.ca>
41 * gui/oprof_start.cpp:
42 * gui/oprof_start.h: show total samples so far
44 2001-12-29 Philippe Elie <ph_e@club-internet.fr>
47 * dae/op_start: --separate-samples is working
49 * gui/oprof_start.cpp:
50 * gui/oprof_start_config.cpp:
51 * gui/oprof_start_config.h:
52 * gui/ui/oprof_start.base.ui: handle separating for
53 shared libs, off by default.
56 * doc/oprofile.1.in: document --show-shared-libs
59 * pp/opf_container.cpp: new class samples_files_t
60 to easier access to subset of symbols/samples or
61 source filename from multiple image
68 * pp/oprofpp_util.cpp: implement --show-shared-libs except
72 * util/file_manip.cpp: new function to manipulate sample
73 file name and list of sample file name.
75 2001-12-27 Philippe Elie <ph_e@club-internet.fr>
77 * dae/op_stop: always do an op_dump before stopping
78 * gui/oprof_start.cpp: op_dump before op_stop
81 2001-12-26 Philippe Elie <ph_e@club-internet.fr>
87 * pp/oprofpp_util.cpp:
89 * pp/op_time.c: remove some use of global var
90 samplefile and imagefile
92 * pp/oprofpp.cpp: do_dump_gprof() free memory
93 too soon. (was bugged from 2001-12-05)
95 * doc/oprofile.sgml: remove mention about oprof-thread
97 2001-12-23 Philippe Elie <ph_e@club-internet.fr>
99 * util/string_manip.h:
100 * util/string_manip.cpp: separate_token() new function
105 * pp/oprofpp_util.cpp:
107 * doc/oprofile.sgml: add support for --exclude-symbol
111 2001-12-22 Philippe Elie <ph_e@club-internet.fr>
113 * dae/op_start: add --separate-samples
114 * dae/oprofiled.c: ditto
118 * dae/oprofiled.h: implementation of above
121 * doc/oprfile.sgml: handle and document above
122 * pp/oprofpp_util.cpp: minor change related
124 * dae/oprofiled.c: bug fix while blocking signal
126 * doc/Makefile.in: avoid unecessary build of html doc
128 2001-12-22 Dave Jones <davej@suse.de>
130 * config.h.in: Readd to CVS.
132 2001-12-18 Dave Jones <davej@suse.de>
134 * Makefile.in: Make documentation build again.
136 2001-12-14 Philippe Elie <ph_e@club-internet.fr>
138 * dae/opd_proc.c: memory leak fix in opd_init_images()
140 2001-12-12 Philippe Elie <ph_e@club-internet.fr>
142 * module/oprofile.h: change slightly op_hash()
145 * util/file_manip.cpp:
146 * util/string_manip.h:
147 * util/string_manip.cpp:
148 * util/child_reader.h:
149 * util/child_reader.cpp: cleanup John's FIXME
152 * dae/opd_util.c: move libiberty things to ...
155 * util/Makefile.in: update
159 * doc/Makefile.in: install the html doc
161 2001-12-10 John Levon <moz@compsoc.man.ac.uk>
163 * dae/oprofiled.c: fix sigprocmask() blooper
165 2001-12-09 John Levon <moz@compsoc.man.ac.uk>
169 * util/child_reader.h:
170 * util/child_reader.cpp:
171 * util/file_manip.cpp:
172 * util/string_manip.cpp: pedantic cleanup + FIXMEs
174 2001-12-09 John Levon <moz@compsoc.man.ac.uk>
176 * configure.in: add FIXME comment
178 * util/file_manip.h: add FIXME comment,
179 avoid warning with //
181 2001-12-09 John Levon <moz@compsoc.man.ac.uk>
185 2001-12-09 Philippe Elie <ph_e@club-internet.fr>
187 * dae/opd_proc.c: verbprintf() what cause the
188 deletion of a sample file + minor cleanup
189 * doc/oprofile.sgml: document samples files backup
191 2001-12-07 Philippe Elie <ph_e@club-internet.fr>
194 * dae/opd_proc.c: handle an accessed field of
195 deleted of deleted procs to defer deleting
196 the procs. This greatly reduce the Nr of lost
197 samples due to no proc information.
199 2001-12-06 Philippe Elie <ph_e@club-internet.fr>
202 * dae/opd_proc.c: separate stats for kernel
203 and modules address space and minor cleanup
205 2001-12-05 Philippe Elie <ph_e@club-internet.fr>
209 * events/Makefile.in:
211 * util/Makefile.in: tidy
212 * module/Makefile.in:
213 * gui/Makefile.in: use auto-deps
215 * util/child_reader.h: allow to compile with -ansi
216 * util/child_reader.cpp: fix memory leak fix
217 * pp/oprofpp.cpp: fix memory leak
221 2001-12-05 Philippe Elie <ph_e@club-internet.fr>
223 * autogen.sh: use autoheader to create config.h
224 * configure.in: handle missing libiberty.h and
225 missing xcalloc in libiberty.a
231 * pp/oprof_convert.c:
233 * pp/oprofpp_util.cpp: replace opd_malloc() and related
235 * util/op_popt.c: add call to xmalloc_set_program_name()
236 * ./cvsignore: add config.h, config.h.in
238 2001-12-04 Dave Jones <davej@suse.de>
240 * events/op_events_desc.c:
241 Add recognition for alternative PIII string.
242 Reported by Lev Iserovich <lev@ciprico.com>
244 2001-12-04 Philippe Elie <ph_e@club-internet.fr>
247 * dae/opd_util.c: move common fuctionnality to ...
249 * util/file_manip.c: here
250 * pp/oprof_convert.c: reflect above change
251 * pp/oprof_convert.c:
252 * pp/opf_filter.cpp: ditto + minor cleanup
254 * pp/Makefile.in: reflect above change
256 2001-12-02 Philippe Elie <ph_e@club-internet.fr>
260 * pp/oprofpp_util.cpp:
261 * pp/opf_filter.cpp: small tidies
263 2001-12-01 Philippe Elie <ph_e@club-internet.fr>
265 * Makefile.in: build util sub-dir first
268 * dae/opd_util.c: move opd_GetContext() ...
270 * util/opd_popt.c: in these new files
275 * dae/oprofiled.c: free the poptContext + cleanup popt
278 * events/Makefile.in: use the popt library
280 * pp/oprofpp.cpp: allow to use --output-linenr-info with
283 * doc/oprofile.sgml: reflect it
285 2001-12-01 Philippe Elie <ph_e@club-internet.fr>
290 * dae/oprofiled.c: backup if needed old samples files
291 in a separate directory
294 * pp/oprofpp_util.cpp: cleanup + minor buglet fix
297 * util/file_manip.cpp: create_file_list() new to create
298 a list of all the file in a directory
300 * pp/op_time.cpp: new utility
301 * pp/Makefile.in: handle op_time
304 * doc/oprofile.1.in: Document op_time
306 2001-11-30 Philippe Elie <ph_e@club-internet.fr>
308 * configure.in: cvs add Rules.make.in.
310 2001-11-30 Dave Jones <davej@suse.de>
312 * configure.in: suppress reference to an inexistant
315 2001-11-29 Philippe Elie <ph_e@club-internet.fr>
317 * pp/oprofpp_util.cpp: do not remove leading underscore to
318 avoid C++ demangling failure
320 2001-11-27 Philippe Elie <ph_e@club-internet.fr>
323 * pp/Makefile.in: work-around for gcc 3.0 and bfd pre-1998
325 * doc/oprofile.sgml: typo
327 2001-11-26 Philippe Elie <ph_e@club-internet.fr>
329 * Rules.make.in: new to add autodeps and share commons
331 * all Makefile.in except module, gui: use autodeps
333 * doc/oprofile.1.in: typo
335 * util/filemanip.h: missing std::
337 2001-11-25 Philippe Elie <ph_e@club-internet.fr>
339 * oprofile-tests/understanding/persistent.cpp: new
340 * util/persistent.h: new. An attempt to provide a better
341 configuration saving/restoring library. Not yet linked to
344 2001-11-22 Philippe Elie <ph_e@club-internet.fr>
346 * pp/oprofpp_util.cpp: take care than get_linenr() get
347 line nr and filename info from bfd for the right symbol
348 and not for the nearest symbol with debug info (#484660)
350 2001-11-15 Philippe Elie <ph_e@club-internet.fr>
352 * module/oprofile.h: work around against a gcc
353 2.91.66 code generation bug in oprof_exit()
355 2001-11-14 Philippe Elie <ph_e@club-internet.fr>
357 * dae/op_start: do not pass bufsize, note_bufsize and
358 kernel_only as option to the daemon but ...
359 * dae/oprofiled.c: read them from sysctl
361 * dae/opd_proc.c: in opd_handle_old_sample_file() do not
362 delete sample file if mtime differ but backup it.
365 * pp/oprof_convert.c:
366 * pp/oprofpp_util.cpp: replace session number by
369 * util/string_manip.cpp: fix stupid bug in rtrim()
371 2001-11-13 Philippe Elie <ph_e@club-internet.fr>
374 * gui/oprof_start.cpp:
376 * dae/opd_util.cpp: small cleanup
378 * module/oprofile.c: simplify a little what the
381 * doc/oprofile.sgml: clarify op_to_source options
383 * pp/child_reader.cpp:
384 * pp/child_reader.h: move these ...
385 * util/child_reader.cpp:
386 * util/child_reader.h: here
388 * util/file_manip.cpp: new
390 * gui/oprof_start_util.h:
391 * gui/oprof_start_util.cpp:
393 * pp/opf_filter.cpp: use child_reader and file_manip
395 * pp/oprofpp_util.cpp: change ordering of opening in
396 opp_bfd ctr to avoid cryptic error message
400 2001-11-12 Philippe Elie <ph_e@club-internet.fr>
402 * events: new directory
404 * events/Makefile.in:
405 * events/op_events.c:
406 * events/op_events_desc.c:
407 * events/op_help.c: new, splitted from op_events.c
409 * pp/oprofpp_util.cpp: new, splitted from oprofpp.cpp
414 * all Makefile.in: update
415 * op_events.c: remove
417 2001-11-12 Philippe Elie <ph_e@club-internet.fr>
419 * op_events.c: last commit was bad
421 * pp/oprofpp.c: use sstream
423 2001-11-12 Philippe Elie <ph_e@club-internet.fr>
425 * util: new directory
426 * util/string_manip.cpp:
427 * util/string_manip.h: new
428 * Makefile.in: handle util directory
433 * gui/oprof_start_util.cpp:
434 * gui/oprof_start_util.h: update to use string_manip.cpp
440 * pp/opf_container.cpp: remove dead code
442 2001-11-11 Dave Jones <davej@suse.de>
444 * module/oprofile.[c|h]: Change MSR defines from
445 MSR_IA32_xxx from MSR_P6_xxx, based on info on
446 Linux kernel from Mikael Pettersson that these MSRs
447 don't exist on Pentium 4.
449 2001-11-11 Philippe Elie <ph_e@club-internet.fr>
451 * gui/oprof_start.cpp: fix record_config()
453 * op_user.h: fix one comment
455 2001-11-10 Bob Montgomery <bob_montgomery@hp.com>
457 * module/oprofile.c: fix pid/pgrp filter to reset counter
459 2001-11-08 John Levon <moz@compsoc.man.ac.uk>
463 * configure.in: bump to 0.0.8cvs
465 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
468 * configure.in: fixes for configuration when Qt2 not found
471 * child_reader.cpp: compile with gcc 3.0
473 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
475 * configure.in: bump to 0.0.7
477 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
481 * module/oprofile.c: fail if hard_get_current() exists
484 2001-11-06 Philippe Elie <ph_e@club-internet.fr>
486 * doc/oprofile.1.in: reformat options
487 * doc/oprofile.sgml: clarify options that require argument.
488 Document short option
490 * gui/oprof_start_util.cpp: fix basename()
494 * pp/opf_filter.cpp: better options handling
496 * module/oprofile.c: update one comment
500 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
504 * module/oprofile.c: support for hard_get_current()
506 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
509 * module/oprofile.c: make allow_unload exist for UP
512 2001-11-05 John Levon <moz@compsoc.man.ac.uk>
516 * module/oprofile.c: fix nr_interrupts sysctl
518 2001-11-04 Philippe Elie <ph_e@club-internet.fr>
521 * gui/oprof_start.cpp:
522 * gui/oprof_start_config.cpp:
523 * gui/oprof_start_config.h:
524 * gui/ui/oprof_start.base.ui: handle note table size sysctl
526 * module/op_syscalls.c: handle dname hash coding collision with
531 * module/op_syscalls.c: Use a struct to hold the whole
532 sysctl settable things rather global var.
534 2001-11-03 Philippe Elie <ph_e@club-internet.fr>
536 * modules/oprofile.h: add a sysctl struct to hold
537 all sysctl set-able variable
539 * modules/oprofile.c: two bugs fixes.
541 2001-11-02 Philippe Elie <ph_e@club-internet.fr>
543 * modules/oprofile.h: minor cleanup
544 * modules/oprofile.c: better handling of irq statistics
546 2001-10-31 John Levon <moz@compsoc.man.ac.uk>
548 * module/oprofile.c: add comment about unfixable
551 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
553 * Move module code into module/ subdir. Bye
556 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
558 * op_x86.c: complain properly about lAPIC-less
561 2001-10-26 John Levon <moz@compsoc.man.ac.uk>
565 2001-10-26 H. J. Lu <hjl@users.sf.net>
567 * Makefile.in: use $(LD) not ld
569 2001-10-25 Philippe Elie <ph_e@club-internet.fr>
571 * configure.in: fix version.h checking for gcc 2.91.66
573 2001-10-25 John Levon <moz@compsoc.man.ac.uk>
579 * gui/Makefile.in: add $DESTDIR to prefix (part from
582 2001-10-25 H. J. Lu <hjl@users.sf.net>
584 * configure.in: better version.h workaround
587 * doc/Makefile.in: better .so manpage install
589 2001-10-25 Philippe Elie <ph_e@club-internet.fr>
591 * doc/oprofile.sgml: minor change.
592 * pp/opf_filter.cpp: repair short option -a and -s
594 2001-10-24 Philippe Elie <ph_e@club-internet.fr>
596 * pp/op_to_source: remove from cvs
597 * pp/Makefile.in: opf_filter application renamed to op_to_source
598 * pp/child_reader.h: new
599 * pp/child_reader.cpp: new, allow to fork a child and read
602 * pp/opf_filter.cpp: use child_reader to launch objdump.
603 op_to_source -a and -s must be specified with long
604 form --assembly and --source-with-assembly. This also
605 speed-up assembly output. Doc not updated.
607 2001-10-18 John Levon <moz@compsoc.man.ac.uk>
609 * configure.in: workaround #2, hopefully fixing
610 Mandrake (bug #471448)
612 2001-10-17 John Levon <moz@compsoc.man.ac.uk>
614 * oprofile.c: don't mask when restoring MSR values
616 * doc/Makefile.in: don't use man symlinks
618 2001-10-17 John Levon <moz@compsoc.man.ac.uk>
620 * oprofile.c: save original counter setup
621 and restore on unload (bug #464094)
623 2001-10-16 John Levon <moz@compsoc.man.ac.uk>
626 * oprofile.h: workaround for Mandrake randomly
629 2001-10-16 John Levon <moz@compsoc.man.ac.uk>
632 * gui/oprof_start.cpp:
633 * gui/oprof_start_config.cpp:
634 * gui/oprof_start_config.h:
635 * gui/oprof_start_util.cpp:
636 * pp/opf_container.cpp:
639 * pp/oprof_convert.cpp: add note device to gui,
642 2001-10-16 John Levon <moz@compsoc.man.ac.uk>
644 * oprofile.h: fix likely() macro
646 2001-10-14 John Levon <moz@compsoc.man.ac.uk>
657 * dae/oprofiled.c: use a separate map buffer.
659 2001-10-14 John Levon <moz@compsoc.man.ac.uk>
661 * acinclude.m4: don't give up if we can't find moc
663 2001-10-14 John Levon <moz@compsoc.man.ac.uk>
665 * oprofile.c: merge no-thread code
667 2001-10-14 John Levon <moz@compsoc.man.ac.uk>
673 * op_syscalls.c: use string pool. Prime hash table
674 with common entries. Consider parent in name_hash.
676 2001-10-13 Philippe Elie <ph_e@club-internet.fr>
678 * doc/oprofile.sgml: minor change
679 * pp/opf_filter.cpp: better warning
681 2001-10-13 John Levon <moz@compsoc.man.ac.uk>
683 * configure.in: 0.0.6 has been released -> 0.0.7cvs
685 2001-10-12 John Levon <moz@compsoc.man.ac.uk>
689 * doc/oprofile.sgml: new docs for annotation filter
691 2001-10-12 John Levon <moz@compsoc.man.ac.uk>
693 * pp/opf_filter.cpp: make output filters more like diff (needs doc),
696 2001-10-12 John Levon <moz@compsoc.man.ac.uk>
698 * doc/Makefile.in: add FIXME
700 * gui/oprof_start.cpp: fix std::
702 * acinclude.m4: more fixes
704 2001-10-12 Philippe Elie <ph_e@club-internet.fr>
706 * gui/oprof_start_util.cpp: use select() rather non-blocking
707 mode to read output from the child process
709 2001-10-11 Philippe Elie <ph_e@club-internet.fr>
713 * pp/opf_filter: make --output and --no-output more intuitive
715 2001-10-09 Philippe Elie <ph_e@club-internet.fr>
718 * doc/oprofile.1.in: clarify doc
719 * pp/opf_filter.cpp: corner case fix in --output-dir and
720 --source-dir handling.
722 2001-10-08 John Levon <moz@compsoc.man.ac.uk>
726 * gui/Makefile.in: fix idiot config bug of mine
728 2001-10-06 Philippe Elie <ph_e@club-internet.fr>
731 * pp/op_to_source: small cleanup
733 2001-10-05 Philippe Elie <ph_e@club-internet.fr>
738 * pp/opf_filter.cpp: implement --output and --no-output to
739 allow output file generation filtering
741 2001-10-04 John Levon <moz@compsoc.man.ac.uk>
745 2001-10-03 Philippe Elie <ph_e@club-internet.fr>
750 * pp/opf_filter.cpp: implement --source-dir and --output-dir
751 to generated separated annoted source file.
753 2001-10-03 Philippe Elie <ph_e@club-internet.fr>
757 * pp/opf_filter.cpp: minor cleanup
759 2001-10-03 John Levon <moz@compsoc.man.ac.uk>
763 * Makefile.in: remove generated files on make distclean
765 * acinclude.m4: update from source
767 2001-10-02 Philippe Elie <ph_e@club-internet.fr>
769 * pp/oprofpp.cpp: fix a silly bug in do_list_symbols (oprofpp -l)
771 2001-10-02 John Levon <moz@compsoc.man.ac.uk>
773 * doc/oprofile.sgml: fix
775 * Makefile.in: dist fix
777 2001-10-02 John Levon <moz@compsoc.man.ac.uk>
781 * configure.in: -> 0.0.5 for release
783 2001-10-01 Philippe Elie <ph_e@club-internet.fr>
785 * pp/opf_container.cpp:
786 * pp/opf_filter.h: comment
787 * pp/opf_filter.cpp: speed-up
789 2001-09-30 Philippe Elie <ph_e@club-internet.fr>
791 * pp/opf_container.cpp:
794 * pp/oprofpp.h: cleanup
796 2001-09-30 Philippe Elie <ph_e@club-internet.fr>
798 * gui/oprof_start.cpp:
800 * gui/ui/oprof_start.base.ui: cleanup
802 2001-09-29 Philippe Elie <ph_e@club-internet.fr>
804 * pp/opf_filter.cpp: check if we need debug info to work.
806 * gui/oprof_start.cpp: use one config file by counter. Store
807 selected counter in oprof_start_config
809 * gui/oprof_start.cpp:
810 * gui/persistent_config.h: remove dirty flag in
811 persistent_config_t template class
813 2001-09-29 John Levon <moz@compsoc.man.ac.uk>
817 * gui/oprof_start.cpp:
818 * gui/ui/oprof_start_base.ui:
819 * gui/oprof_start_config.h:
820 * gui/oprof_start_config.cpp: add verbose option
822 * pp/opf_container.cpp:
823 * pp/opf_filter.cpp: some FIXMEs and little cleanups
825 2001-09-29 Philippe Elie <ph_e@club-internet.fr>
827 * pp/oprofpp.cpp: bug fix when calling the bfd lib.
829 2001-09-29 Philippe Elie <ph_e@club-internet.fr>
831 * gui/oprof_start.cpp: two minor fixes.
833 2001-09-28 John Levon <moz@compsoc.man.ac.uk>
835 * various files: the footer is now a header !
837 * dae/opd_start.c: fix msync !!
839 * gui/oprof_start.cpp:
840 * gui/oprof_start_util.h:
841 * gui/oprof_start_util.cpp: better default event count
842 value. Save CPU type to oprofile file.
844 2001-09-28 Philippe Elie <ph_e@club-internet.fr>
846 * pp/opf_filter.c: fix op_to_source [-a] [-s]
848 2001-09-28 Philippe Elie <ph_e@club-internet.fr>
850 * doc/oprofile.sgml: oops, correct bad merging with
853 2001-09-27 Philippe Elie <ph_e@club-internet.fr>
855 * doc/oprofile.1.in: minor change
856 * op_events.c: remove --gui-description stuff
857 * pp/opf_filter.cpp: remove use of temporary array to
858 pass argument to the popt library
860 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
862 * doc/oprofile.sgml: updates
864 * gui/oprof_start_util.cpp: fix compile, revert
865 g++ extension (different on g++ 3.0)
867 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
869 * gui/oprof_start_util.cpp: use g++ extension to
870 avoid using temporary files
872 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
874 * gui/oprof_start_util.cpp: fix crasher bug
876 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
879 * gui/oprof_start.cpp: get per-counter config working
881 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
885 * pp/oprofpp.cpp: rename file
887 2001-09-27 John Levon <moz@compsoc.man.ac.uk>
889 * pp/opf_container.cpp:
891 * pp/oprofpp.c: speed improvements
893 2001-09-26 Philippe Elie <ph_e@club-internet.fr>
897 * pp/oprofpp.c: fix oprofpp -s.
898 Use std::string (work not yet finish)
899 * pp/oprofpp.h: ditto
900 * pp/opf_filter.cpp: ditto
902 2001-09-26 John Levon <moz@compsoc.man.ac.uk>
904 * oprofile.c: add nr_interrupts
907 * gui/oprof_start.cpp:
908 * gui/oprof_start_util.h:
909 * gui/oprof_start_util.cpp:
910 * gui/oprof_start_config.h:
911 * gui/oprof_start_config.cpp:
912 * gui/ui/oprof_start_base.ui: add daemon status
913 display, fix basename()
915 2001-09-26 John Levon <moz@compsoc.man.ac.uk>
917 * configure.in: remove broken bit
919 * pp/Makefile.in: fix options
921 * doc/oprofile.sgml: minor changes
923 2001-09-26 Philippe Elie <ph_e@club-internet.fr>
925 * pp/Makefile.in: increase level of warning
926 * pp/oprof_convert.c: minor fix to avoid warning
927 * dae/opd_util.c: ditto
928 * pp/oprofpp.c: get_linenr() never return null in
929 filename (fix bug #464482). symcomp() ensure
930 correct vma comparison (fix #464093)
931 * dae/opd_util.c: minor fixe in op_poptGetContext()
932 * gui/oprof_start.cpp: minor cleanup
934 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
937 * gui/oprof_start_config.cpp: use pidof instead
939 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
941 * gui/oprof_start_config.cpp: fix is_profiler_started() too
943 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
945 * dae/op_stop: fix terribly stupid error
947 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
949 * op_event.c: whooops
951 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
953 * gui/oprof_start.cpp: std:: fix
956 * op_events.c: robustness fix
958 2001-09-25 John Levon <moz@compsoc.man.ac.uk>
960 * gui/oprof_start.cpp: fix silly bug
962 2001-09-24 John Levon <moz@compsoc.man.ac.uk>
964 * pp/opf_filter.cpp: "fix" compile error
966 2001-09-24 John Levon <moz@compsoc.man.ac.uk>
969 * gui/Makefile.in: remove old gui
971 2001-09-24 John Levon <moz@compsoc.man.ac.uk>
973 * dae/op_start: make a little more robust
975 2001-09-24 John Levon <moz@compsoc.man.ac.uk>
981 * gui/Makefile.in: configure/make fixes
983 * op_events.c: re-order for Athlon
985 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
987 * pp/oprofpp.c: small cleanup
989 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
992 * op_x86.c: support for 2.4.10
994 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
997 * gui/oprof_start.cpp: rework validator stuff a bit
999 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
1001 * gui/oprof_start.cpp: use std::find_if
1003 * gui/oprof_start_config.cpp:
1004 * gui/oprof_start_util.cpp: minor tidies
1006 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
1009 * dae/op_start: echo errors to stderr
1011 * gui/oprof_start_util.h:
1012 * gui/oprof_start_util.cpp:
1013 * gui/oprof_start.cpp: use fork/exec to spawn children
1015 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
1020 * gui/oprof_start_config.h:
1021 * gui/oprof_start_config.cpp:
1022 * gui/oprof_start_util.h:
1023 * gui/oprof_start_util.cpp:
1024 * gui/oprof_start.h:
1025 * gui/oprof_start.cpp: new file for util functions
1027 2001-09-23 John Levon <moz@compsoc.man.ac.uk>
1033 * pp/opf_filter.cpp:
1034 * configure.in: enable __builtin_expect, fix popt problem
1036 * pp/oprof_convert.c: small fixes
1038 * op_events.c: shorten event descriptions for GUI
1040 * gui/*: many more updates
1042 * pp/Makefile.in: fix
1044 2001-09-21 John Levon <moz@compsoc.man.ac.uk>
1046 * dae/opd_proc.c: removed over-verbose line
1050 * oprofile.c: add likely/unlikely, take note lock on dump
1052 2001-09-21 Philippe Elie <ph_e@club-internet.fr>
1054 * pp/opf_filter.h: move declaration of counter_array_t to
1055 * pp/oprofpp.h: here
1056 * pp/oprofpp.c: define and use counter_array_t + minor cleanup
1057 * pp/opf_filter.cpp: remove definition of counter_array_t
1059 2001-09-21 Philippe Elie <ph_e@club-internet.fr>
1061 * Makefile.in: remove aclocal.m4 in distclean
1062 * pp/Makefile.in: use $(CXX) and $(CXXFLAGS)
1064 * pp/opf_container.cpp:
1065 * pp/opf_filter.cpp:
1068 * pp/oprofpp.h: cleanup
1070 2001-09-20 Philippe Elie <ph_e@club-internet.fr>
1072 * Makefile.in: minor change in module building
1073 * pp/Makefile.in: link oprofpp with opf_filter
1074 * pp/op_to_source: avoid pipe from oprofpp to opf_filter
1075 * pp/opf_filter.h: remove a few member function
1076 * pp/opf_container.cpp: ditto + minor cleanup
1077 * pp/opf_filter.cpp: oprofpp is no longer piped to opf_filter
1078 but linked with it. Many change, needs additional cleanup
1079 * pp/oprofpp.c: group all stuff in two class. Rather a
1080 a C with class than a full C++ file for now. Fix a bug
1081 in filename handling.
1082 * pp/oprofpp.h: add opp_bfd and opp_samples_files class.
1084 * dae/opd_util.c: add a few explicit cast for C++ compile
1085 * dae/opd_util.h: wrap function declaratio with extern "C"
1087 2001-09-19 John Levon <moz@compsoc.man.ac.uk>
1089 * oprofile.c: fix silly read valid bug
1091 2001-09-19 John Levon <moz@compsoc.man.ac.uk>
1093 * Makefile.in: whoops, missed op_util.o from build
1095 2001-09-19 John Levon <moz@compsoc.man.ac.uk>
1097 * dae/oprofiled.c: fix little bug, tidy a bit
1101 2001-09-18 John Levon <moz@compsoc.man.ac.uk>
1106 * oprofile.h: move some code around
1108 * oprofile.c: fix a tiny bug
1110 2001-09-18 John Levon <moz@compsoc.man.ac.uk>
1113 * dae/oprofiled.h: implement hashing of images
1115 * doc/oprofile.sgml: fix -- issue and use <screen>
1117 2001-09-18 John Levon <moz@compsoc.man.ac.uk>
1122 * configure.in: small cleanup
1124 * op_init.c: add comment
1128 * op_x86.c: move fixmap stuff, remove disable APIC
1130 * oprofile.c: init failure fix
1132 * doc/oprofile.sgml:
1133 * dae/opd_proc.c: fix handle_old_sample_files() bug,
1134 check mtime hasn't changed on a new map
1136 2001-09-16 John Levon <moz@compsoc.man.ac.uk>
1142 * gui/ui/Makefile.in:
1143 * gui/ui/oprof_start.base.ui:
1144 * gui/oprof_start.h: autoconfiscation for Qt2
1146 * gui/oprof_start_config.cpp: add comments
1148 2001-09-16 Philippe Elie <ph_e@club-internet.fr>
1150 * pp/opf_filter.cpp: fix unrecognized input
1151 * pp/opf_container.cpp: better error messages. put
1152 op_nr_counters in the global namespace (gcc 2.91
1155 2001-09-16 John Levon <moz@compsoc.man.ac.uk>
1157 * pp/oprofpp.cpp: small tidy
1159 2001-09-16 Philippe Elie <ph_e@club-internet.fr>
1161 * pp/opf_filter.cpp: minor tidy
1163 * gui/oprof_start.base.ui: new oprof_start gui
1164 * gui/oprof_start.cpp: new, derived class of oprof_start_base
1165 * gui/oprof_start.h: ditto
1166 * gui/oprof_start_impl.cpp: implementation of oprof_start class
1167 * gui/oprof_start_config.cpp: utilities function for oprof_start
1168 * gui/oprof_start_config.h: ditto
1169 * gui/persistent_config.h: utility template
1170 * gui/oprof_start_main.cpp: main() for oprof_start
1171 * gui/Makefile.in: handle this stuff
1173 2001-09-15 John Levon <moz@compsoc.man.ac.uk>
1175 * pp/oprofpp.c: some cleanup
1177 2001-09-15 John Levon <moz@compsoc.man.ac.uk>
1179 * pp/oprofpp.c: allow non-matching mtimes in order
1180 to allow pp on different machines. Make conflicting
1181 counter specifications a fatal error
1183 2001-09-15 John Levon <moz@compsoc.man.ac.uk>
1185 * all Makefile.in: install should depend on all
1187 * pp/oprofpp.c: fixes for Athlon 4 counters. Enable debug info
1188 for list-symbol. Some stricter checking
1190 2001-09-15 Philippe Elie <ph_e@club-internet.fr>
1192 * op_events.c: some static variable to global
1193 * op_user.h: export these
1195 * oprofile.c: typo in comment
1197 * dae/opd_proc.c: fix size of samples files
1199 2001-09-13 Dave Jones <davej@suse.de>
1201 * doc/oprofile.1.in:
1202 Update so it doesn't say 'Intel only'
1204 Fix output so that it prints [0-3] instead of [0-4[
1206 2001-09-12 Philippe Elie <ph_e@club-internet.fr>
1208 * pp/oprofpp.c: fix cpu type output for opf_filter
1210 * dae/op_stop: return error code properly
1212 2001-09-12 John Levon <moz@compsoc.man.ac.uk>
1214 * pp/oprofpp.c: print name of cpu type
1217 * dae/op_start: re-organise, tidy
1219 2001-09-12 John Levon <moz@compsoc.man.ac.uk>
1221 * oprofile.c: fix small but triggerable
1224 2001-09-12 John Levon <moz@compsoc.man.ac.uk>
1228 * op_x86.c: move some code about
1230 * op_syscalls.c: add comment
1232 2001-09-12 John Levon <moz@compsoc.man.ac.uk>
1234 * configure.in: remove warning
1237 * op_events.c: fix and clean up cpu type detection
1239 * op_init.c: fix email
1241 * oprofile.c: add IRQ stats. Not sure whether to keep...
1243 2001-09-12 John Levon <moz@compsoc.man.ac.uk>
1246 * oprofile.c: use cpu_number_map (pedantry thing)
1248 2001-09-07 Philippe Elie <ph_e@club-internet.fr>
1250 * oprofile.c: remove /proc/.../cpu_type. Check if user
1251 mode cpu type detection is identical to module cpu type
1253 * op_events.c: add op_get_cpu_type(). script can get cpu_type
1254 by op_help --get-cpu-type
1255 * gui/oprofile: use it
1256 * dae/oprofiled.c: ditto
1257 * dae/op_start: ditto, pass expected_cpu_type to module
1258 * doc/oprofile.sgml: update
1259 * doc/oprofile.1.in: update
1260 * pp/oprofpp.c: get cpu_type from samples file
1261 * pp/opf_filter.cpp: get cpu type from stdin
1263 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1265 * dae/opd_proc.c: use j not i in msync !
1267 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1269 * dae/op_start: more sanity checking of options
1271 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1273 * doc/oprofile.sgml: update a bit
1275 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1277 * <most files>: make op_nr_counters a var (no pp support for > 2 yet)
1279 * dae/oprofiled.c: don't print help when counter event etc. are wrong
1281 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1284 * oprofile.c: use MODULE_LICENSE
1286 2001-09-06 John Levon <moz@compsoc.man.ac.uk>
1288 * op_user.h: add missing prototype
1290 * dae/op_start: fix counter extraction
1292 2001-09-05 Philippe Elie <ph_e@club-internet.fr>
1294 * pp/oprofpp.c: fix a few corner case, cleanup.
1295 * dae/opd_proc: ditto.
1297 * dae/op_start: better handling of counter number
1299 * dae/opd_proc: minor change.
1301 * op_user.h: enable support for four counters
1302 * oprofile.c: ditto. Split functions
1304 * op_events.c: expose op_get_cpu_type_str(int) to world.
1306 2001-09-04 John Levon <moz@compsoc.man.ac.uk>
1309 * oprofile.c: don't restore delivery mode to LVTPC (causes
1310 APIC error on SMP). Fix for silly sem hang with do_dump
1312 2001-09-04 John Levon <moz@compsoc.man.ac.uk>
1314 * dae/op_start: fix typo bug
1316 2001-09-04 John Levon <moz@compsoc.man.ac.uk>
1318 * doc/oprofile.sgml: some small tidies
1320 2001-09-04 John Levon <moz@compsoc.man.ac.uk>
1322 * oprofile.c: change lvtpc_apic_restore to be more careful !
1324 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1326 * oprofile.c: don't allow unload on SMP unless allow_unload
1327 is set. Still needs docs (no point till SMP works).
1329 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1331 * dae/op_dump: complain if not root more clearly.
1333 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
1335 * oprofile.c: remove bogus setting for NMI oopser.
1336 smp_apic_restore() -> lvtpc_apic_restore()
1338 2001-09-01 Philippe Elie <ph_e@club-internet.fr>
1340 * oprofile.c: fix pmc_setup()
1343 * dae/Makefile.in: fix uninstall problem
1345 2001-08-31 Philippe Elie <ph_e@club-internet.fr>
1351 * dae/opd_util.h: share commmon declarations, put it in
1352 op_user.h, include op_user.h in other .h when necessary.
1354 * all Makefile.in: update dependancies.
1356 2001-08-30 Philippe Elie <ph_e@club-internet.fr>
1358 * oprofile.c: use loop instead of fixed counter number
1360 2001-08-26 Philippe Elie <ph_e@club-internet.fr>
1362 * op_events.c: add option to op_help for the gui
1363 * gui/oprofile: use op_help to build description
1364 of events, accept Athlon (only 2 counters)
1366 2001-08-25 Philippe Elie <ph_e@club-internet.fr>
1369 * dae/op_start: use loop instead of fixed number of counter.
1371 2001-08-24 Philippe Elie <ph_e@club-internet.fr>
1373 * pp/oprof_convert.c: add v4 --> v5 conversion
1375 2001-08-23 Philippe Elie <ph_e@club-internet.fr>
1377 * oprofile.c: correct some comment.
1379 2001-08-22 Philippe Elie <ph_e@club-internet.fr>
1387 * dae/oprofiled.c: row to column file format, lot of changes.
1389 2001-08-21 Philippe Elie <ph_e@club-internet.fr>
1391 * op_events.c: Add Athlon string/unit maks description
1393 2001-08-20 Philippe Elie <ph_e@club-internet.fr>
1395 * op_events.c: change in handling of search/check events
1401 * pp/oprofpp.h: reflects caller/prototype, lot of changes.
1403 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
1408 * oprofile.c: a prototype detector for SMP hardware,
1411 2001-08-20 Dave Jones <davej@suse.de>
1413 * doc/oprofile.sgml:
1414 Updated to reflect new Athlon/Duron capabilities.
1415 * pp/oprof_convert.c:
1416 * pp/oprofpp.c: use EXIT_FAILURE | EXIT_SUCCESS
1418 * oprofile.c: Make non-exported functions static
1419 and remove duplicate definitions.
1421 2001-08-19 John Levon <moz@compsoc.man.ac.uk>
1423 * dae/op_start: handle celeries in cpu type
1425 2001-08-19 John Levon <moz@compsoc.man.ac.uk>
1429 * oprofile.c: small tidies of the Athlon support
1431 2001-08-19 Dave Jones <davej@suse.de>
1439 * dae/oprofiled.c: initial Athlon support
1441 2001-08-19 Philippe Elie <ph_e@club-internet.fr>
1443 * oprofile.c: use symbolic constant for all apic setup, no generated
1446 2001-08-18 Philippe Elie <ph_e@club-internet.fr>
1452 * gui/Makefile.in: add uninstall target
1454 2001-08-18 John Levon <moz@compsoc.man.ac.uk>
1456 * dae/opd_proc.c: tiny cleanup
1458 2001-08-17 Philippe Elie <ph_e@club-internet.fr>
1461 * TODO: minor cleanup.
1463 2001-08-16 Philippe Elie <ph_e@club-internet.fr>
1467 * doc/oprofile.1.in: document and use op_dump
1469 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1471 * configure.in: bump version to 0.0.5cvs
1473 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
1475 * all Makefile.in: mkdir install files
1477 2001-08-15 Philippe Elie <ph_e@club-internet.fr>
1479 * dae/opd_proc.c: fix a FILE* leak in opd_get_ascii_maps()
1481 2001-08-14 John Levon <moz@compsoc.man.ac.uk>
1483 * op_syscalls.c: don't return negative hashes !
1484 revert dname len "fix"
1485 use a much better hash function
1487 * dae/opd_proc.c: protect against negative hashes
1489 2001-08-14 John Levon <moz@compsoc.man.ac.uk>
1491 * op_syscalls.c: some small fixes
1493 * oprofile.c: add back unmasking code during set_gate, but only
1496 2001-08-11 John Levon <moz@compsoc.man.ac.uk>
1498 * oprofile.h: 2.4.8 doesn't either. *sigh*. looks like we need
1501 2001-08-11 John Levon <moz@compsoc.man.ac.uk>
1503 * oprofile.h: 2.4.7-linus doesn't include the Andrew Morton
1504 complete_and_exit(). Hopefully this will make it into 2.4.8,
1505 I'm banking on this.
1507 2001-08-11 John Levon <moz@compsoc.man.ac.uk>
1510 * doc/oprofile.sgml:
1511 * dae/Makefile.in: a little utility for dumping
1513 2001-08-11 Dave Jones <davej@suse.de>
1516 * oprofile.c: back-compat code and use of new struct completion
1519 2001-08-11 John Levon <moz@compsoc.man.ac.uk>
1521 * oprofile.c: corner case where an a miss against a full count,
1522 we were attributing wrong (reported by Bob Montgomery)
1524 2001-08-11 John Levon <moz@compsoc.man.ac.uk>
1526 * oprofile.c: use a simple cli/sti when installing the NMI
1527 handler. It should work and avoids the unmasking problem.
1529 2001-08-10 John Levon <moz@compsoc.man.ac.uk>
1531 * dae/oprofiled.h: fix header include (from Dave Jones)
1534 * oprofile.c: fix undefined symbol (from Dave Jones)
1536 2001-08-10 John Levon <moz@compsoc.man.ac.uk>
1538 * oprofile.c: small tidy in apic setup
1540 2001-08-02 John Levon <moz@compsoc.man.ac.uk>
1542 * oprofile.c: fix mod unload race, small fixes
1544 * dae/op_start: make sysctl error actually appear
1546 * doc/oprofile.sgml: document need for modutils 2.4.6
1548 * op_syscalls.c: fix stupid mod use count problem
1550 2001-07-28 John Levon <moz@compsoc.man.ac.uk>
1552 * dae/opd_proc.c: d'oh, fat-fingered a slow memleak in the
1553 a-ksymoops modules fix
1555 2001-07-27 Philippe Elie <ph_e@club-internet.fr>
1557 * pp/oprof_convert.c: fix bug when conversion skip more than one
1560 2001-07-27 John Levon <moz@compsoc.man.ac.uk>
1562 * doc/Makefile.in: ln -s -> ln -sf
1564 * dae/opd_util.c: actually include the right header
1566 * dae/opd_util.h: compile freestanding from oprofiled.h
1568 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
1570 * oprofile.c: fix comment
1572 * doc/oprofile.sgml: document symbolless modules not working
1576 * dae/oprofiled.h: catch modules with no symbols via query_module()
1577 and ignore samples for them quickly
1579 2001-07-25 Philippe Elie <ph_e@club-internet.fr>
1581 * dae/op_start: beautify the output of op_start --help
1582 * pp/op_to_source: ditto. better argument checking.
1584 * pp/oprof_convert.c:
1586 * dae/oprofiled.h: fix problem with opd_footer, don't bump
1587 opd_footer version number !
1589 2001-07-25 John Levon <moz@compsoc.man.ac.uk>
1592 * pp/oprof_convert.c: convert to v4
1594 * pp/oprofpp.c: use opd_strdup
1596 2001-07-25 John Levon <moz@compsoc.man.ac.uk>
1598 * dae/opd_util.c: small tidy
1600 2001-07-24 Philippe Elie <ph_e@club-internet.fr>
1603 * dae/opd_util.h: add relative path name to absolute path name stuff
1604 * pp/oprofpp.c: use it.
1605 * pp/op_to_source: simplify code to reflect above change.
1607 2001-07-25 John Levon <moz@compsoc.man.ac.uk>
1609 * dae/opd_proc.c: fix uninitialised pointer access (reported by
1610 <bobm@fc.hp.com>) that could segfault oprofile in case of
1611 module load/unload activity
1621 * pp/oprofpp.h: use mtime() instead of md5sum(). Still doesn't handle
1622 "./a; gcc -o a a.c; ./a"
1624 2001-07-22 Philippe Elie <ph_e@club-internet.fr>
1626 * doc/oprofile.1.in:
1627 * doc/oprofile.sgml:
1629 * pp/opf_filter.cpp:
1630 * pp/opf_container.cpp: implement and document filtering for assembly
1633 2001-07-21 Philippe Elie <ph_e@club-internet.fr>
1635 * doc/oprofile.sgml:
1637 * oprofile.c: remove edge_detect support.
1639 * pp/oprofpp.c: check counter range for each event type.
1640 * oprofile.c: ditto.
1641 * gui/oprofile: ditto and save setup for each event type.
1642 * oprofile.h: op_check_range() : display the allowed range.
1644 2001-07-18 Philippe Elie <ph_e@club-internet.fr>
1646 * dae/op_start: disable all counters before starting the setup.
1648 2001-07-18 John Levon <moz@compsoc.man.ac.uk>
1650 * doc/oprofile.sgml: add in bit I forgot about not profiling ring 0
1652 2001-07-18 John Levon <moz@compsoc.man.ac.uk>
1654 * doc/oprofile.sgml: added a warning about very low counter values
1655 (from Philippe, modified)
1657 2001-07-15 John Levon <moz@compsoc.man.ac.uk>
1663 * doc/oprofile.sgml: remove ability to set different values on
1666 2001-07-15 John Levon <moz@compsoc.man.ac.uk>
1668 * TODO: remove done thing
1670 2001-07-15 John Levon <moz@compsoc.man.ac.uk>
1672 * dae/opd_proc.c: backup old sample files if the profiling
1673 details (count, unit mask etc.) disagree. Fixes #435245
1675 2001-07-15 Philippe Elie <ph_e@club-internet.fr>
1677 * dae/oprofiled.c: fix oprofiled --version to work even if the
1678 profiler is not already started.
1680 * gui/oprofile: many cleanup. Fix bug track #435248. Make the gui more
1681 independant on the number of counter.
1683 * pp/op_to_source: fix bug in command line arguments handling.
1686 * pp/opf_filter.cpp:
1687 * pp/opf_container.cpp: Apply some cleanup suggested by John, principally
1688 change few inheritance to composition.
1690 * pp/oprof_convert.c: fix --version.
1692 2001-07-14 Philippe Elie <ph_e@club-internet.fr>
1694 * doc/oprofile.sgml:
1695 * doc/oprofile.1.in: minor doc fix.
1697 2001-07-14 John Levon <moz@compsoc.man.ac.uk>
1699 * doc/oprofile.sgml: small tidies
1701 2001-07-01 Philippe Elie <ph_e@club-internet.fr>
1703 * doc/oprofile.1.in:
1704 * doc/oprofile.sgml: document op_to_source, oprof_convert and the
1707 * gui/oprofile: onStartProfiling() check that count is in the allowed
1708 range. onStopProfiling() flush the samples
1710 2001-07-14 John Levon <moz@compsoc.man.ac.uk>
1712 * Makefile.in: dist fix
1714 2001-07-14 John Levon <moz@compsoc.man.ac.uk>
1716 * doc/oprofile.sgml: make it clear we want vmlinux not vmlinuz
1718 * doc/html/: remove generated files from CVS
1720 * Makefile.in: changes to create HTML files on dist
1722 2001-06-30 John Levon <moz@compsoc.man.ac.uk>
1724 * pp/Makefile.in: fix the fix
1726 * pp/opf_filter.h: very minor changes
1728 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1730 * pp/Makefile.in: fix up for opf_filter
1732 * configure.in: add AC_PROG_CXX
1734 2001-06-29 Philippe Elie <ph_e@club-internet.fr>
1736 * pp/opf_filter.cpp:
1737 * pp/opf_container.cpp:
1739 * pp/op_to_source: new file which provide a source annotation utility.
1740 * pp/Makefile.in: build and install opf_filter / op_to_source
1742 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
1745 * dae/opd_util.h: hide __attribute__((malloc)) warnings
1746 when necessary. Document --with-cc bug.
1748 2001-06-29 Philippe Elie <ph_e@club-internet.fr>
1750 * gui/oprofile: more saving of the user setup.
1752 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
1754 * dae/opd_util.c: document get_line() restriction
1756 2001-06-27 Philippe Elie <ph_e@club-internet.fr>
1758 * dae/oprofiled.c: fix cpu_speed_str/cpu_speed variable setup logic.
1760 * gui/oprofile: save advanced setup form to persistent storage.
1761 Add many validation.
1763 2001-06-25 John Levon <moz@compsoc.man.ac.uk>
1766 * pp/oprof_convert.c: add missing headers, remove CVS blip
1768 * dae/opd_util.h: specify malloc attribute. gives warnings on
1769 older compilers, who cares. I doubt this will help but it can't
1772 2001-06-25 John Levon <moz@compsoc.man.ac.uk>
1774 * pp/oprof_convert.c: continue if an error with one file occurs
1776 * dae/op_stop: remove rmmod again - it is user's choice on when/whether
1779 2001-06-23 Philippe Elie <ph_e@club-internet.fr>
1781 * pp/op_start: add missing support for specifying the log filename.
1782 Get correct cpu speed information for smp as suggested by John.
1784 * dae/oprofiled.c: Correct a warning with some older version of the
1786 * pp/oprofpp: as above.
1788 * gui/oprofile: advanced setup form added.
1790 * pp/oprof_convert.c: version and help option support.
1792 2001-06-23 John Levon <moz@compsoc.man.ac.uk>
1794 * pp/.cvsignore: add oprof_convert
1796 2001-06-23 Philippe Elie <ph_e@club-internet.fr>
1798 * pp/oprof_convert.c: new utility to convert samples files when the opd_footer
1800 * pp/Makefile.in: reflect the above change. Tidy some unnecessary blank.
1801 * Makefile.in: Tidy some unnecessary blank/tabulation.
1803 2001-06-23 John Levon <moz@compsoc.man.ac.uk>
1807 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1809 * oprofile.c: always have smp_apic_restore()
1811 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1813 * various: made spacing more consistent in C source,
1814 removed unused utility functions.
1816 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1818 * oprofile.c: actually call smp_apic_restore() on UP
1820 * dae/op_start: don't remove the module immediately after
1823 2001-06-22 Philippe Elie <ph_e@club-internet.fr>
1825 * dae/oprofiled.h, pp/oprofpp.h: change the opd_footer struct.
1826 Bump OPD_VERSION to reflect the file format change.
1827 * pp/oprofpp.c: reflect the above change
1828 * dae/oprofiled.c: reflect the above change, many options supressed
1829 because setup is read from the /proc/sys/dev/oprofile files.
1830 * dae/opd_proc: suppress some "extern variable" which no longer exist.
1831 * dae/op_start: reflect the above change
1833 2001-06-22 Philippe Elie <ph_e@club-internet.fr>
1835 * dae/op_start: add --ctr[0|1]-edge-detect
1836 * gui/oprofile: add edge detect stuff
1837 * oprofile.c: add edge-detect stuff, the edge-detect is an
1838 experimental feature which do not work actually (no effect for now).
1839 Because this is experimental no documentation are provided on this
1842 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
1846 * doc/oprofile.sgml:
1850 * oprofile.c: add and document the ability
1851 to make the module unloadable. Not well tested
1852 (but seems to work).
1854 * doc/oprofile.sgml: document compile-time options
1855 better, thank Philippe
1857 2001-06-21 John Levon <moz@compsoc.man.ac.uk>
1859 * oprofile.c: remove stale comments. fix theoretical
1860 memory leaks when setting up the sysctls fails, small tidy
1862 2001-06-19 John Levon <moz@compsoc.man.ac.uk>
1865 * doc/oprofile.sgml:
1866 * doc/html/: s/sourceforge/sf/
1868 2001-06-16 Philippe Elie <ph_e@club-internet.fr>
1870 * op_events.c: op_check_events() fix two bad use of
1871 op_check_unit_mask(). op_get_um_desc() fix a typo.
1873 2001-06-14 Philippe Elie <ph_e@club-internet.fr>
1875 * op_events.c: struct op_unit_mask, struct op_unit_desc allow up to
1876 seven unit masks. Reflect this change in data, op_check_unit_mask()
1877 and callers of op_check_unit_mask().
1879 2001-06-12 John Levon <moz@compsoc.man.ac.uk>
1881 * results/intro: tidy up
1883 * results/kernel-compile/time-aves.pl: fix regexps
1885 * results/latex/: results from the LaTeX runs
1887 2001-06-09 Philippe Elie <ph_e@club-internet.fr>
1889 * dae/op_start: avoid chmod to a non existing directory and setup access
1890 mode from 700 to 755. Replace use of the sysctl utility by a
1891 do_sysctl() function.
1893 * gui/oprofile: some cleanup and bugfix.
1895 * pp/oprofpp.c: add new output options --list-all-symbols-details,
1896 --output-linenr-info
1898 * doc/oprofile.1.in:
1899 * doc/oprofile.sgml: update documentation about the new oprofpp
1902 2001-06-09 John Levon <moz@compsoc.man.ac.uk>
1904 * configure.in: fix build with CONFIG_MODVERSIONS
1907 2001-06-04 John Levon <moz@compsoc.man.ac.uk>
1909 * dae/oprofiled.c: move logfile message to
1910 before close(1) to not need to use stderr
1912 2001-06-03 John Levon <moz@compsoc.man.ac.uk>
1914 * gui/: new directory
1920 * gui/oprofile: Philippe's prototype tcl/tk startup
1921 script. Requires more work.
1923 2001-06-03 John Levon <moz@compsoc.man.ac.uk>
1925 * pp/oprofpp.h: remove libiberty header that was
1926 apparently breaking install on slackware
1928 2001-06-03 John Levon <moz@compsoc.man.ac.uk>
1932 2001-06-03 Philippe Elie <ph_e@club-internet.fr>
1934 * op_events.c: allow unit mask option to be bit mask
1936 2001-06-01 John Levon <moz@compsoc.man.ac.uk>
1938 * dae/opd_proc.c: actually use opd_get_count -
1939 fix bug with counter 1 reported results
1941 * dae/op_start: fix broken shell scripting
1943 * dae/oprofpp.c: fix list-symbols output
1945 2001-04-30 John Levon <moz@compsoc.man.ac.uk>
1947 * dae/op_start: better error reporting
1949 * dae/opd_proc.c: fix indentation
1951 2001-04-08 John Levon <moz@compsoc.man.ac.uk>
1953 * configure.in: 0.0.3 has been released. Bump cvs version
1956 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1958 * dae/opd_proc.c: remove forced dumping. It was
1959 causing overhead spikes
1961 * doc/html/results.html:
1962 * doc/oprofile.sgml:
1963 * dae/op_start: Hopefully document dump clearly enough
1965 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1968 * op_syscalls.c: 2.4.3 and above have a rw mmap_sem
1970 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1972 * doc/html/: added missing files
1974 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1976 * doc/oprofile.sgml:
1977 * doc/html/resources.html: add URLs
1979 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1981 * pp/oprofpp.c: fix gprof output bug. It works OK now,
1982 but MULTIPLIER == 1 will break for some reason
1984 2001-04-05 John Levon <moz@compsoc.man.ac.uk>
1986 * doc/oprofile.sgml:
1987 * doc/html/: finish SGML documentation (for now)
1989 2001-04-04 John Levon <moz@compsoc.man.ac.uk>
1992 * doc/oprofile.sgml:
1993 * doc/oprofile: start SGML documentation
1995 2001-04-04 John Levon <moz@compsoc.man.ac.uk>
2000 * doc/oprofile.1.in: add a manpage
2002 2001-04-04 John Levon <moz@compsoc.man.ac.uk>
2004 * pp/oprofpp.c: get some sort of half-working output
2005 in gprof format. Currently the numbers are screwed up,
2006 need a major trawl through gprof source to see what's
2009 2001-04-04 John Levon <moz@compsoc.man.ac.uk>
2018 * pp/oprofpp.h: use md5sums to verify sample file
2019 integrity. Stored in each sample file footer are
2020 md5sums of the binary. These are checked by the daemon
2021 when re-using an old file, and by the post-processor.
2022 Bump OPD_VERSION to reflect the file format change.
2024 * dae/oprofiled.c: make start up more friendly
2026 * dae/op_start: make script more friendly
2028 2001-03-10 John Levon <moz@compsoc.man.ac.uk>
2030 * dae/opd_proc.c: fixed some error messages
2032 * results/kernel-compile/raw/ccu.gnuplot: add
2034 2001-02-05 John Levon <moz@compsoc.man.ac.uk>
2038 * results/intro: update
2040 * results/kernel-compile/: update, add FIG files
2042 * results/lmbench: lmbench results
2044 * results/output/kernel-ac12-output: add readprofile output
2046 2001-02-04 John Levon <moz@compsoc.man.ac.uk>
2050 * op_syscalls.c: small re-org, some micro-optimisations
2053 * pp/oprofpp.c: clean up --list-symbol output a little
2055 * results/kernel-compile/overhead: update with results
2057 * results/kernel-compile/time-aves.pl: add gnuplot output
2059 * results/kernel-compile/raw/ : raw output files
2061 * results/output/ : new dir for example output
2063 * results/output/libc-2.1.92.so: output from libc profile
2065 * results/output/kernel-ac12-output: output from kernel profile
2067 * results/output/do_anonymous_page: detailed symbol profile
2069 * results/output/oprofile.module: output for oprofile module
2071 2001-02-03 John Levon <moz@compsoc.man.ac.uk>
2076 * op_syscalls.c: make do_hash() non-recursive
2078 * oprofile.c: make thread wake up half as often
2080 * dae/opd_proc.c: quiesce dump sysctl
2081 make resilient against broken sample (don't exceed mmap)
2083 * pp/oprofpp.c: --gcc-demangle -> --demangle, just too
2086 2001-02-01 John Levon <moz@compsoc.man.ac.uk>
2088 * oprofile.h: add op_save_syscalls()
2090 * oprofile.c: let interrupt_sleep_on() die
2091 add kernel_only option
2092 sysctl dumps everything it can now
2094 * op_syscalls.c: add op_save_syscalls()
2098 * dae/op_start: add --kernel-only
2100 * doc/guide.lyx: mention --kernel-only
2104 2001-02-01 John Levon <moz@compsoc.man.ac.uk>
2106 * Makefile.in: split out op_init.c
2108 * autogen.sh: new file
2110 * configure.in: fix --with-cc. Split out op_init.c
2112 * op_init.c: new file, to allow rest -march=i686
2114 * oprofile.c: cut out init stuff to op_init.c
2116 * opd_proc.c: more verbose
2118 * results/kernel-compile/time-aves.pl: work with other
2121 2001-01-25 John Levon <moz@compsoc.man.ac.uk>
2123 * configure.in: add --with-cc option
2125 * pp/oprofpp.c: fix const discard warnings
2127 2001-01-25 John Levon <moz@compsoc.man.ac.uk>
2129 * configure.in: must check for liberty *after*
2132 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
2134 * oprofile.c: we're not using op_check_ctr()
2135 return value, so don't have one
2137 2001-01-23 John Levon <moz@compsoc.man.ac.uk>
2142 * oprofile.h: stripped the NMI error handling stuff
2144 * op_events.c: fixed silly bug in the other place too :P
2146 * dae/oprofiled.c: improved error messages
2148 2001-01-22 John Levon <moz@compsoc.man.ac.uk>
2150 * op_events.c: fix silly bug so you can set both
2153 * oprofile.c: don't disable/enable counters in
2154 the interrupt handler. It's expensive and
2155 doesn't really buy anything.
2156 Fix a silly EBUSY bug when open fails once.
2158 * dae/op_start: don't remove old sample files
2159 pass correct event to daemon for ctr1
2161 2001-01-22 John Levon <moz@compsoc.man.ac.uk>
2163 * op_syscalls.c:do_hash(): use strcpy not strncpy.
2164 It's probably faster, and if d_name.len is corrupted
2165 the kernel has bigger things to worry about.
2167 2001-01-22 John Levon <moz@compsoc.man.ac.uk>
2170 * dae/guide.html: update docs a little
2172 2001-01-22 John Levon <moz@compsoc.man.ac.uk>
2175 * op_user.h: bump up hash table size
2177 * results/kernel-compile/overhead: intro to kernel
2180 * results/kernel-compile/time-aves.pl: script
2181 to generate averages + overheads
2183 * op_syscalls.c: three fixes to do_hash(). It's
2184 going to be a pain to make iterative :(
2186 2001-01-21 John Levon <moz@compsoc.man.ac.uk>
2188 * results/: Started a collection of results
2190 2001-01-20 John Levon <moz@compsoc.man.ac.uk>
2194 * configure.in: add comment
2196 * Makefile.in: moved oprofile_k.c to op_syscalls.c, op_user.h added
2198 * op_syscalls.c: rename of oprofile_k.c
2199 map buffer is dead now
2200 use vmalloc() and friends for hash map
2201 Reworking of hash_map stuff into abb's linked
2204 * op_user.h: new file representing shared structs etc.
2205 between daemon and kernel module
2206 Reworked OP_ flags in count.
2207 Reworked hash map structure
2209 * oprofile.c: get along with the new UP APIC stuff in 2.4.0ac9
2210 remove extraneous lock_kernel()
2211 default buffer size added
2213 Use up_and_exit() in kernel thread to fix zombies :P
2214 Set diethreaddie = 0 in start_thread()
2215 oprof_put_mapping() added
2216 we weren't turning OFF kernel/user counting when asked to
2218 * oprofile.h: move shared stuff to op_user.h
2219 increase the watermark to a much safer 768
2221 * dae/Makefile.in: dependencies on op_user.h and version.h
2223 * dae/op_start: hide confusing output of op_stop
2227 * dae/opd_proc.c: --verbose option
2228 don't insist on new sample files
2230 Be a little more forgiving with unstattable images
2233 * dae/opd_util.c: add fatal flag to opd_get_fsize().
2235 * dae/oprofiled.h: --verbose option
2236 move common code to op_user.h
2238 * dae/oprofiled.c: add --verbose option (very verbose !)
2240 Add code for unpacking mapping notifications, rework
2244 * doc/guide.lyx: some small updates
2246 * pp/oprofpp.c: fix segfault on failure to open binary.
2247 add --verbose option
2249 * pp/oprofpp.h: add --verbose option
2251 2000-01-12 John Levon <moz@compsoc.man.ac.uk>
2253 * oprofile.c: use standard kernel names for MSRs.
2254 Don't re-do fixmap if UP oopser patch is installed.
2255 Allow UP oopser to work if patches enabled, disable
2258 * oprofile.h: use standard kernel names for MSRs.
2260 * oprofile_k.c: only include fixmap code if necessary
2262 * configure.in: bump minor version
2264 2000-12-15 John Levon <moz@compsoc.man.ac.uk>
2266 * configure.in: default to /lib/modules/`uname -r`/build
2267 as kernel source directory
2270 * doc/guide.html: update documentation
2272 2000-12-13 John Levon <moz@compsoc.man.ac.uk>
2274 * configure.in: bump minor version
2276 * oprofile.c: added KERN_<whatever> where needed,
2277 exclude the Pentium IV
2279 * pp/oprofpp.c: allow "oprofpp -l /bin/mv" and friends,
2282 2000-12-12 John Levon <moz@compsoc.man.ac.uk>
2285 * configure.in: approximate working modversions
2288 * op_events.c: op_help INST_RETIRED will print out
2301 * dae/oprofiled.h: ioctl() didn't last long. Replaced with
2302 sysctls. This has had a knock-on effect of moving the
2303 start/stop mechanism into the driver open/close routines
2305 * dae/oprofiled.c: must open devices in "reverse" order now
2307 * oprofile_k.c: fix X86_FEATURE_PGE testing
2309 * oprofile.c: use daemonize()
2311 * pp/oprofpp.c: fix working on constant argv
2313 2000-11-04 John Levon <moz@compsoc.man.ac.uk>
2315 * oprofile.c: what if signal happens later ?
2316 * dae/opd_util.c: clarify opd_read_device() API
2318 2000-11-04 John Levon <moz@compsoc.man.ac.uk>
2320 * ChangeLog: started ChangeLog (cue gc koan)
2321 * op_ioctl.h: added FIXME comment
2322 * oprofile.c: slight cleanup
2323 * oprofile.h: cleanups, use u16 for data->ctrs,
2326 * pp/oprofpp.c: added comments
2327 * pp/oprofpp.h: fixed #defines