460c5d91f4
And use it in function__print: [acme@newtoy net-2.6.20]$ pfunct -Ti net/ipv4/tcp_ipv4.o tcp_v4_err /* net/ipv4/tcp_ipv4.c:352 */ void tcp_v4_err(struct sk_buff * skb, u32 info); { struct iphdr * iph; // 353 struct tcphdr * th; // 354 struct tcp_sock * tp; // 355 struct inet_sock * inet; // 356 int type; // 357 int code; // 358 struct sock * sk; // 359 __u32 seq; // 360 int err; // 361 inet_lookup(); // 368 inet_iif(); // 368 inet_twsk_put(); // 375 __fswab32(); // 390 do_pmtu_discovery(); // 410 struct request_sock * req; // 424 struct request_sock * * prev; // 424 inet_csk_reqsk_queue_drop(); // 450 tcp_done(); // 462 out: // 493 sock_put(); // 495 } /* size: 1538, variables: 11, goto labels: 1, inline expansions: 10 (1066 bytes) */ Now to support DW_TAG_lexical_block, then to study libelf to fill in the missing parts with assembly (or C snippets automagically rebuilt from the assembly ;) ). Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com> |
||
---|---|---|
Makefile | ||
classes.c | ||
classes.h | ||
codiff.c | ||
list.h | ||
pahole.c | ||
pfunct.c | ||
prefcnt.c |