• A
    perf kmem: Resolve symbols · 1b145ae5
    Arnaldo Carvalho de Melo 提交于
    E.g.:
    
      [root@doppio linux-2.6-tip]# perf kmem record sleep 3s
      [ perf record: Woken up 2 times to write data ]
      [ perf record: Captured and wrote 0.804 MB perf.data (~35105 samples) ]
    
      [root@doppio linux-2.6-tip]# perf kmem --stat caller | head -10
      ------------------------------------------------------------------------------
      Callsite                    |Total_alloc/Per | Total_req/Per | Hit  | Frag
      ------------------------------------------------------------------------------
      getname/40                  | 1519616/4096   | 1519616/4096  |   371|   0.000%
      seq_read/a2                 |  987136/4096   |  987136/4096  |   241|   0.000%
      __netdev_alloc_skb/43       |  260368/1049   |  259968/1048  |   248|   0.154%
      __alloc_skb/5a              |   77312/256    |   77312/256   |   302|   0.000%
      proc_alloc_inode/33         |   76480/632    |   76472/632   |   121|   0.010%
      get_empty_filp/8d           |   70272/192    |   70272/192   |   366|   0.000%
      split_vma/8e                |   42064/176    |   42064/176   |   239|   0.000%
      [root@doppio linux-2.6-tip]#
    Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
    Acked-by: NPekka Enberg <penberg@cs.helsinki.fi>
    Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    Cc: Frédéric Weisbecker <fweisbec@gmail.com>
    Cc: linux-mm@kvack.org <linux-mm@kvack.org>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    Cc: Mike Galbraith <efault@gmx.de>
    Cc: Paul Mackerras <paulus@samba.org>
    Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    LKML-Reference: <1259005869-13487-2-git-send-email-acme@infradead.org>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    1b145ae5
builtin-kmem.c 13.4 KB