From: Rolf Neugebauer <neugebar@dcs.gla.ac.uk>
To: axp-list@redhat.com
Subject: Re: gprof and iprobe
Date: 11 Jan 2001 11:20:58 +0000 [thread overview]
Message-ID: <ysq66jmjpwl.fsf@therese.dcs.gla.ac.uk> (raw)
In-Reply-To: "T. Daniel Crawford"'s message of "Wed, 10 Jan 2001 14:52:00 -0500 (EST)"
"T. Daniel Crawford" <crawdad@vt.edu> writes:
> Iprobe: The RPMs available at the Compaq site are geared to RH6.0. When I
> run the iprobe binary, it fails and reports an ioctl error. I also tried
> to compile the source myself, but there are numerous header errors and
> incompatibilities to current Linux distributions. From past discussion of
> iprobe on this list, it seems to be the method of choice, if only I could
> get it to work.
Are you trying to compile iprobe under 2.4.0? In that case, you at
least have to change the ipr_fops structure in
./driver/src/linux/driver_linux.c as the file_operations structure has
changed sometime between 2.2.x and 2.4.0 (the owner field has been
added to the beginning of the structure). I tried iprobe with an early
2.4.0-test kernel and changed the ipr_fops structure to:
struct file_operations ipr_fops = {
NULL, /* owner */
NULL, /* llseek */
NULL, /* read */
NULL, /* write */
NULL, /* readdir */
NULL, /* Poll */
ipr_ioctl, /* ioctl */
NULL, /* mmap */
ipr_open, /* just a selector for the real open */
NULL, /* Flush */
ipr_close, /* release */
NULL, /* fsync */
NULL, /* fasync */
NULL, /* lock */
NULL, /* readv */
NULL, /* writev */
};
(maybe the owner should be set to something more sensible)
IIRC this was the only change I made, to get iprobe working on an
upgraded RH6.1 system.
Rolf
PS.: I have already mailed this info to Phillip Ezolt at Compaq who
was named as the contact person for iprobe in September last year.
next prev parent reply other threads:[~2001-01-11 11:21 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-01-10 19:52 gprof and iprobe T. Daniel Crawford
2001-01-10 20:43 ` W Bauske
2001-01-10 21:53 ` T. Daniel Crawford
2001-01-10 23:17 ` Michal Jaegermann
2001-01-10 23:48 ` T. Daniel Crawford
2001-01-11 1:15 ` Michal Jaegermann
2001-01-11 6:29 ` W Bauske
2001-01-10 21:51 ` Jeff Sturm
2001-01-11 11:20 ` Rolf Neugebauer [this message]
2001-01-15 16:00 ` T. Daniel Crawford
2001-01-15 17:36 ` Michal Jaegermann
2001-01-15 17:51 ` T. Daniel Crawford
2001-01-15 18:06 ` Michal Jaegermann
2001-01-15 18:11 ` T. Daniel Crawford
2001-01-15 18:18 ` Peter Rival
2001-01-15 18:22 ` T. Daniel Crawford
2001-01-18 1:01 ` Peter Rival
2001-01-15 17:53 ` Uncle George
2001-01-15 22:13 ` W Bauske
2001-01-22 22:37 ` RH 7.0 install on XP1000's Todd Henderson
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox