Re: [util-linux] readprofile ignores the last element in /proc/profile

William Lee Irwin III
2004-08-30T20:48:27Z

William Lee Irwin III wrote:
>> Well, since I couldn't stop vomiting for hours after I looked at the
>> code for readprofile(1), here's a reimplementation, with various
>> misfeatures removed, included as a MIME attachment.

On Mon, Aug 30, 2004 at 07:27:25PM +0100, Paulo Marques wrote:
> While you're at it, can readprofile work by reading the symbols from
> /proc/kallsyms?
> If it can, this could be added to the list of files that it tries to
> open, so that it could work even if System.map wasn't available.

Well, if it can accept input from a pipe, there's no real need. Since
it would need to be sorted, it would probably bloat the utility too
much to do it internally by creating redundancy with sort(1).

-- wli