1 diff -urN oprofile-0.9.4/daemon/Makefile.am oprofile-0.9.4.new/daemon/Makefile.am
2 --- oprofile-0.9.4/daemon/Makefile.am 2008-04-28 23:23:24.000000000 +0200
3 +++ oprofile-0.9.4.new/daemon/Makefile.am 2009-07-26 15:23:23.000000000 +0200
11 bin_PROGRAMS = oprofiled
14 - liblegacy/liblegacy.a \
18 diff -urN oprofile-0.9.4/daemon/Makefile.in oprofile-0.9.4.new/daemon/Makefile.in
19 --- oprofile-0.9.4/daemon/Makefile.in 2008-07-18 01:14:44.000000000 +0200
20 +++ oprofile-0.9.4.new/daemon/Makefile.in 2009-07-26 15:23:14.000000000 +0200
22 opd_events.$(OBJEXT) opd_mangling.$(OBJEXT) \
23 opd_perfmon.$(OBJEXT) opd_anon.$(OBJEXT) opd_spu.$(OBJEXT)
24 oprofiled_OBJECTS = $(am_oprofiled_OBJECTS)
25 -oprofiled_DEPENDENCIES = liblegacy/liblegacy.a ../libabi/libabi.a \
26 +oprofiled_DEPENDENCIES = ../libabi/libabi.a \
27 ../libdb/libodb.a ../libop/libop.a ../libutil/libutil.a
28 DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)
29 depcomp = $(SHELL) $(top_srcdir)/depcomp
31 sysconfdir = @sysconfdir@
32 target_alias = @target_alias@
34 -SUBDIRS = liblegacy .
40 # -fno-omit-frame-pointer needed for daemon build: see ChangeLog-2004 02-23
41 AM_CFLAGS = @OP_CFLAGS@ -fno-omit-frame-pointer
43 - liblegacy/liblegacy.a \
47 diff -urN oprofile-0.9.4/daemon/oprofiled.c oprofile-0.9.4.new/daemon/oprofiled.c
48 --- oprofile-0.9.4/daemon/oprofiled.c 2008-04-28 23:23:23.000000000 +0200
49 +++ oprofile-0.9.4.new/daemon/oprofiled.c 2009-07-26 15:25:25.000000000 +0200
53 static struct oprofiled_ops * opd_ops;
54 -extern struct oprofiled_ops opd_24_ops;
55 extern struct oprofiled_ops opd_26_ops;
57 #define OPD_IMAGE_FILTER_HASH_SIZE 32
59 static struct oprofiled_ops * get_ops(void)
61 switch (op_get_interface()) {
62 - case OP_INTERFACE_24:
63 - printf("Using 2.4 OProfile kernel interface.\n");
66 printf("Using 2.6+ OProfile kernel interface.\n");