diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-13 20:26:11 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-07-13 20:26:11 +0200 |
commit | cf088d5dbb077a1f689cfed907d48cbdbe487dc7 (patch) | |
tree | c6a7eb58d14dde8d2ab661192470aa679c561e49 /package/oprofile/patches | |
parent | 10c29e275282911821b228f3898c18cef69dfcff (diff) |
fix oprofile package
Diffstat (limited to 'package/oprofile/patches')
-rw-r--r-- | package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c | 34 | ||||
-rw-r--r-- | package/oprofile/patches/patch-doc_oprofile_1 | 26 |
2 files changed, 60 insertions, 0 deletions
diff --git a/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c b/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c new file mode 100644 index 000000000..226522e40 --- /dev/null +++ b/package/oprofile/patches/patch-daemon_liblegacy_opd_kernel_c @@ -0,0 +1,34 @@ +--- oprofile-0.9.6.orig/daemon/liblegacy/opd_kernel.c 2009-11-24 16:25:17.000000000 +0100 ++++ oprofile-0.9.6/daemon/liblegacy/opd_kernel.c 2010-07-13 18:20:26.727084854 +0200 +@@ -148,6 +148,7 @@ void opd_clear_module_info(void) + */ + static void opd_get_module_info(void) + { ++#if 0 + char * line; + char * cp, * cp2, * cp3; + FILE * fp; +@@ -252,6 +253,7 @@ static void opd_get_module_info(void) + if (line) + free(line); + op_close_file(fp); ++#endif + } + + +@@ -270,6 +272,7 @@ static void opd_get_module_info(void) + */ + static void opd_drop_module_sample(unsigned long eip) + { ++#if 0 + char * module_names; + char * name; + size_t size = 1024; +@@ -307,6 +310,7 @@ static void opd_drop_module_sample(unsig + + if (module_names) + free(module_names); ++#endif + } + + diff --git a/package/oprofile/patches/patch-doc_oprofile_1 b/package/oprofile/patches/patch-doc_oprofile_1 new file mode 100644 index 000000000..2694725cd --- /dev/null +++ b/package/oprofile/patches/patch-doc_oprofile_1 @@ -0,0 +1,26 @@ +--- oprofile-0.9.6.orig/doc/oprofile.1 2009-11-24 16:26:33.000000000 +0100 ++++ oprofile-0.9.6/doc/oprofile.1 2010-07-13 17:55:07.343074887 +0200 +@@ -1,4 +1,4 @@ +-.TH OPROFILE 1 "Tue 24 November 2009" "oprofile 0.9.6" ++.TH OPROFILE 1 "Tue 13 July 2010" "oprofile 0.9.6" + .UC 4 + .SH NAME + oprofile \- a system-wide profiler +@@ -153,7 +153,7 @@ Configuration files + .I /root/.oprofile/daemonrc + Configuration file for opcontrol + .TP +-.I /usr/local/share/oprofile/ ++.I /usr/share/oprofile/ + Event description files used by OProfile. + .TP + .I /var/lib/oprofile/samples/oprofiled.log +@@ -173,7 +173,7 @@ The location of the generated sample fil + This man page is current for oprofile-0.9.6. + + .SH SEE ALSO +-.BR /usr/local/share/doc/oprofile/, ++.BR /usr/share/doc/oprofile/, + .BR opcontrol(1), + .BR opreport(1), + .BR opannotate(1), |