Created
September 9, 2011 07:41
-
-
Save springmeyer/1205688 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Setup: | |
sudo opcontrol --reset | |
sudo opcontrol --separate=lib --separate=library | |
sudo opcontrol --start | |
Then after running: | |
sudo opcontrol --stop | |
opreport --threshold 4.0 | |
opreport -lt1 | |
$ opreport --threshold 4.0 | |
CPU: Intel Architectural Perfmon, speed 2527.08 MHz (estimated) | |
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000 | |
CPU_CLK_UNHALT...| | |
samples| %| | |
------------------ | |
2189818 86.1985 node | |
CPU_CLK_UNHALT...| | |
samples| %| | |
------------------ | |
866023 39.5477 libmapnik2.so.2.0.0 | |
824471 37.6502 libz.so.1 | |
220409 10.0652 libc-2.5.so | |
63862 2.9163 node | |
44348 2.0252 libstdc++.so.6.0.8 | |
35767 1.6333 libfreetype.so.6.7.1 | |
30748 1.4041 libproj.so.0.6.6 | |
18380 0.8393 libicuuc.so.44 | |
15202 0.6942 libpq.so.5.2 | |
15122 0.6906 postgis.input | |
14029 0.6406 _mapnik.node | |
8126 0.3711 libm-2.5.so | |
5077 0.2318 libpthread-2.5.so | |
2960 0.1352 libpng15.so.15.4.0 | |
1591 0.0727 anon (tgid:4073 range:0x2b5e237ff000-0x2b5e2383f000) | |
1565 0.0715 anon (tgid:4074 range:0x2b362eeae000-0x2b362eeee000) | |
1468 0.0670 anon (tgid:4071 range:0x2b8670a36000-0x2b8670a76000) | |
1467 0.0670 anon (tgid:4068 range:0x2b93df2e2000-0x2b93df322000) | |
1461 0.0667 anon (tgid:4070 range:0x2b7ff1641000-0x2b7ff1681000) | |
1417 0.0647 anon (tgid:4069 range:0x2ac53a00e000-0x2ac53a04e000) | |
1384 0.0632 anon (tgid:4067 range:0x2ac4642a4000-0x2ac4642e4000) | |
1294 0.0591 anon (tgid:4072 range:0x2b659c3e2000-0x2b659c422000) | |
1184 0.0541 anon (tgid:4073 range:0x2b5e2384d000-0x2b5e238e5000) | |
1177 0.0537 anon (tgid:4067 range:0x2ac4642f2000-0x2ac46438a000) | |
1165 0.0532 anon (tgid:4069 range:0x2ac53a05c000-0x2ac53a0f4000) | |
1137 0.0519 anon (tgid:4071 range:0x2b8670a84000-0x2b8670b1c000) | |
1127 0.0515 anon (tgid:4070 range:0x2b7ff168f000-0x2b7ff1727000) | |
1092 0.0499 anon (tgid:4074 range:0x2b362eefc000-0x2b362ef94000) | |
1046 0.0478 anon (tgid:4072 range:0x2b659c430000-0x2b659c4c8000) | |
1027 0.0469 anon (tgid:4068 range:0x2b93df330000-0x2b93df3c8000) | |
931 0.0425 shape.input | |
565 0.0258 anon (tgid:4072 range:0x2b659c6c8000-0x2b659c708000) | |
506 0.0231 anon (tgid:4070 range:0x2b7ff18a7000-0x2b8011641000) | |
476 0.0217 anon (tgid:4074 range:0x2b362f1d4000-0x2b364eeae000) | |
475 0.0217 anon (tgid:4068 range:0x2b93df3c8000-0x2b93ff2e2000) | |
453 0.0207 anon (tgid:4069 range:0x2ac53a274000-0x2ac55a00e000) | |
414 0.0189 anon (tgid:4067 range:0x2ac46438a000-0x2ac4842a4000) | |
393 0.0179 anon (tgid:4071 range:0x2b8670d5c000-0x2b8690a36000) | |
379 0.0173 anon (tgid:4073 range:0x2b5e23ba5000-0x2b5e437ff000) | |
68 0.0031 anon (tgid:4071 range:0x2b8670d1c000-0x2b8670d5c000) | |
16 7.3e-04 anon (tgid:4072 range:0x2b659c708000-0x2b65bc3e2000) | |
8 3.7e-04 anon (tgid:4070 range:0x2b7ff1867000-0x2b7ff18a7000) | |
3 1.4e-04 anon (tgid:4073 range:0x2b5e23b65000-0x2b5e23ba5000) | |
2 9.1e-05 anon (tgid:4069 range:0x2ac53a234000-0x2ac53a274000) | |
2 9.1e-05 anon (tgid:4074 range:0x2b362f194000-0x2b362f1d4000) | |
1 4.6e-05 ld-2.5.so | |
338062 13.3072 no-vmlinux | |
[dane@linux_wms_bm src]$ opreport -lt1 | |
warning: /no-vmlinux could not be found. | |
warning: /sbin/auditd could not be found. | |
warning: /usr/bin/Xorg could not be found. | |
warning: /usr/bin/sudo could not be found. | |
CPU: Intel Architectural Perfmon, speed 2527.08 MHz (estimated) | |
Counted CPU_CLK_UNHALTED events (Clock cycles when not halted) with a unit mask of 0x00 (No unit mask) count 100000 | |
samples % image name app name symbol name | |
544442 21.4310 libz.so.1 node fill_window | |
338062 13.3072 no-vmlinux no-vmlinux /no-vmlinux | |
106673 4.1990 libz.so.1 node longest_match | |
98167 3.8642 libmapnik2.so.2.0.0 node agg::vcgen_stroke::vertex(double*, double*) | |
84958 3.3442 libmapnik2.so.2.0.0 node mapnik::agg_renderer<mapnik::image_32>::process(mapnik::line_symbolizer const&, mapnik::feature<mapnik::geometry<mapnik::vertex<double, 2>, mapnik::vertex_vector>, boost::shared_ptr<mapnik::raster> > const&, mapnik::proj_transform const&) | |
81086 3.1918 libz.so.1 node adler32 | |
72523 2.8547 libmapnik2.so.2.0.0 node void agg::render_scanline_aa_solid<agg::scanline_u8, agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8, agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >, agg::rgba8>(agg::scanline_u8 const&, agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8, agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >&, agg::rgba8 const&)signed int> >, agg::rgba8>(agg::scanline_u8 const&, agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8, agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >&, agg::rgba8 const&) | |
58100 2.2870 libmapnik2.so.2.0.0 node agg::rasterizer_cells_aa<agg::cell_aa>::line(int, int, int, int) | |
46278 1.8217 libc-2.5.so node _int_malloc | |
46077 1.8137 libz.so.1 node deflate_fast | |
45178 1.7784 libmapnik2.so.2.0.0 node agg::math_stroke<agg::pod_bvector<agg::point_base<double>, 6u> >::calc_join(agg::pod_bvector<agg::point_base<double>, 6u>&, agg::vertex_dist const&, agg::vertex_dist const&, agg::vertex_dist const&, double, double) | |
44348 1.7457 libstdc++.so.6.0.8 node /usr/lib64/libstdc++.so.6.0.8 | |
41943 1.6510 libmapnik2.so.2.0.0 node agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip<agg::ras_conv_int> >::add_vertex(double, double, unsigned int) | |
39621 1.5596 libc-2.5.so node memcpy | |
37742 1.4857 libmapnik2.so.2.0.0 node void agg::rasterizer_sl_clip<agg::ras_conv_int>::line_to<agg::rasterizer_cells_aa<agg::cell_aa> >(agg::rasterizer_cells_aa<agg::cell_aa>&, int, int) | |
37462 1.4746 libmapnik2.so.2.0.0 node agg::math_stroke<agg::pod_bvector<agg::point_base<double>, 6u> >::calc_cap(agg::pod_bvector<agg::point_base<double>, 6u>&, agg::vertex_dist const&, agg::vertex_dist const&, double) | |
36745 1.4464 libmapnik2.so.2.0.0 node agg::vcgen_dash::vertex(double*, double*) | |
36366 1.4315 libz.so.1 node compress_block | |
33473 1.3176 libmapnik2.so.2.0.0 node agg::math_stroke<agg::pod_bvector<agg::point_base<double>, 6u> >::calc_miter(agg::pod_bvector<agg::point_base<double>, 6u>&, agg::vertex_dist const&, agg::vertex_dist const&, agg::vertex_dist const&, double, double, double, double, agg::line_join_e, double, double) | |
29466 1.1599 libmapnik2.so.2.0.0 node void agg::render_scanline_aa_solid<agg::scanline_p8, agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8, agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >, agg::rgba8>(agg::scanline_p8 const&, agg::renderer_base<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_plain<agg::rgba8, agg::order_rgba>, agg::row_ptr_cache<unsigned char>, unsigned int> >&, agg::rgba8 const&) | |
28268 1.1127 libmapnik2.so.2.0.0 node .plt | |
25629 1.0088 libc-2.5.so node _int_free |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment