Skip to contentSkip to conversation

Ps.c problems

DISCUSSION Tommy McCabe 1 participant 1 message Apr 17, 2005

lore
Share & tools
lore
#0 lore raw

If anyone has trouble compiling ps.c under BCC
0.16.17, simply add the following to
/usr/lib/bcc/include/linuxmnt/types.h:

struct _registers {
__u16 ksp, sp, ss, ax, bx, cx, dx, di, si, ds, es,
bp, ip, cs, flags;
};

typedef struct _registers __registers;
typedef struct _registers * __pregisters;

typedef __u32 __pptr;

typedef __u32 jiff_t;
typedef __u16 seg_t;
typedef __u32 fd_mask_t;

__________________________________
Do you Yahoo!?
Plan great trips with Yahoo! Travel: Now over 17,000 guides!
http://travel.yahoo.com/p-travelguide