[prev in list] [next in list] [prev in thread] [next in thread] 

List:       oprofile-list
Subject:    IA64 OProfile support
From:       Will Cohen <wcohen () redhat ! com>
Date:       2002-08-30 10:31:03
[Download RAW message or body]

I have merged Bob Montgomery's IA64 drivers into the current oprofile 
CVS. I have put the patch (ia64g.patch) and some information about the 
IA64 patch support at http://people.redhat.com/wcohen/. The ia64 
oprofile support is work in progress. There are a number of known 
problems with the code (there are problably some unknown problems too):

	-This code will not work with kernels that do not export the
	 syscall table.
	-The code will only work with IA64 SMP kernels.
	-The code needs perfmon support in the kernel.
	-There are problems with determining the executable name from
	 the mmap information in /proc. The IA64 kernel does not put
	 the executable name as the first entry.
	-For some kernels the IA64 oprofile module compilation will
	 generate warnings.
	-OProfile daemon currently only uses the low 32-bits of the
	 address samples may be miss attributed because of the loss of
  	 the upper 32-bits of the address.

2002-08-30  Will Cohen  <wcohen@redhat.com>

	README: Update contact information.
	configure.in: Add test for ia64.
	dae/opd_mapping.c: Change include order.
	libop++/op_print_event.cpp: Change include order.
	dae/oprofiled.c (opd_do_samples): Type cast.
	libop/op_cpu_type.c (cpu_names): Add IA64 to lists.
	(cpu_nr_counters): Include number of IA64 performance counters.
	libop/op_cpu_type.h (op_cpu): Add IA64.
	libop/op_events: Add IA64 flags and events.
	libop/op_events_desc.c: Describe IA64 events.
	libop/op_interface.h (op_sample): Allow for 64-bit eip.
	module/Makefile.in: op_rtc made to target specific.
	module/op_rtc.c: moved to module/x86/op_rtc.c.
	module/x86/op_rtc.c: module/op_rtc.c.
	module/x86/Makefile.in (obj-y): Add op_rtc.o
	module/oprofile.c (evict_op_entry): Conditionally include x86 code.
	(op_do_profile): Eliminate regparm3.
			 Get eip and eflags from the appropriate place.
			 Avoid accessing regs where possible.
	(oprof_read): Return ssize_t.
	(oprof_init_data): Factor out notebufsize.
	module/oprofile.h (regparm3): remove, use FASTCALL instead.
	(INST_PTR): New.
	(STATUS): New.
	utils/op_help.c (main): Additions for IA64 manual information.

	module/ia64/IA64entry.h: New.
	module/ia64/IA64minstate.h: New.
	module/ia64/IA64syscallstub.h: New.
	module/ia64/Makefile: New.
	module/ia64/Makefile.in: New.
	module/ia64/cpu_type.c: New.
	module/ia64/op_apic.c: New.
	module/ia64/op_pmu.c: New.
	module/ia64/op_rtc.c: New.
	module/ia64/op_syscalls.c: New.
	module/ia64/oprofile_stubs.S: New.




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic