Re: [PATCH] perf probe: Add fastpath to do lookup by function name

From: Ingo Molnar
Date: Thu Mar 24 2011 - 04:47:40 EST



* Lin Ming <ming.m.lin@xxxxxxxxx> wrote:

> ./perf stat -r 10 -- ./perf probe -k /home/mlin/vmlinux \
> -s /home/mlin/linux-2.6 \
> --line csum_partial_copy_to_user > tmp.log
>
> before patch applied
> =====================
> 364.535892 task-clock-msecs # 0.997 CPUs
> 865,862,109 cycles # 2375.245 M/sec
> 1,255,259,630 instructions # 1.450 IPC

> after patch applied
> =====================
> 89.896405 task-clock-msecs # 0.991 CPUs
> 214,553,875 cycles # 2386.679 M/sec
> 226,915,559 instructions # 1.058 IPC

That's a very nice speedup :-)

Thanks,

Ingo
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/