lkml.org 
[lkml]   [1996]   [Apr]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
SubjectRe: Readprofile and xosview
Here's a patch to readprofile-1.1 that made it work on 1.3.? for me.  Note that
Linus sent a different profile.c program out a while back.

--- readprofile.c- Thu Jan 26 02:47:36 1995
+++ readprofile.c Sat Apr 6 15:09:22 1996
@@ -30,7 +30,7 @@
static char *prgname;

/* These are the defaults and they cna be changed */
-static char defaultmap1[]="/usr/src/linux/System.map";
+static char defaultmap1[]="/boot/System.map";
static char defaultmap2[]="/usr/src/linux/zSystem.map";
static char defaultpro[]="/proc/profile";
static char optstring[]="m:p:itvarV";
@@ -179,6 +179,9 @@
prgname,mapFile, maplineno);
exit(1);
}
+
+ if (strcmp(fn_name[next], "_stext") == 0)
+ add = fn_add[next];

if (!(fn_len=fn_add[next]-fn_add[current]))
continue;

\
 
 \ /
  Last update: 2005-03-22 13:37    [W:0.109 / U:0.528 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site