Go to file
Arnaldo Carvalho de Melo 460c5d91f4 [CLASSES]: Implement DW_TAG_label full support
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>
2006-11-20 16:17:42 -02:00
Makefile [CODIFF]: New tool 2006-11-11 16:31:04 -02:00
classes.c [CLASSES]: Implement DW_TAG_label full support 2006-11-20 16:17:42 -02:00
classes.h [CLASSES]: Implement DW_TAG_label full support 2006-11-20 16:17:42 -02:00
codiff.c [CLASSES]: Introduce struct function & struct parameter 2006-11-18 14:33:48 -02:00
list.h Repository creation. 2006-10-24 20:42:39 -03:00
pahole.c [CLASSES]: Introduce struct tag 2006-11-18 11:54:02 -02:00
pfunct.c [CLASSES]: Enhance function__print 2006-11-20 15:43:39 -02:00
prefcnt.c [CLASSES]: Introduce struct function & struct parameter 2006-11-18 14:33:48 -02:00