• P
    perf kmem: Add --sort hit and --sort frag · f3ced7cd
    Pekka Enberg 提交于
    This patch adds support for "--sort hit" and "--sort frag" to
    the "perf kmem" tool. The former was already mentioned in the
    help text and the latter is useful for finding call-sites that
    exhibit worst case behavior for SLAB allocators.
    Signed-off-by: NPekka Enberg <penberg@cs.helsinki.fi>
    Cc: Li Zefan <lizf@cn.fujitsu.com>
    Cc: Peter Zijlstra <peterz@infradead.org>
    Cc: Frederic Weisbecker <fweisbec@gmail.com>
    Cc: Steven Rostedt <rostedt@goodmis.org>
    Cc: Eduard - Gabriel Munteanu <eduard.munteanu@linux360.ro>
    Cc: linux-mm@kvack.org <linux-mm@kvack.org>
    LKML-Reference: <1258883880-7149-1-git-send-email-penberg@cs.helsinki.fi>
    Signed-off-by: NIngo Molnar <mingo@elte.hu>
    f3ced7cd
builtin-kmem.c 13.3 KB