This is our old Q&A Site. Please post any new questions and answers at

I'm development on the wireshark1.8.5.

I have to find the function which cost a lot of time when wireshark is running.


asked 28 Feb '13, 18:34

smilezuzu's gravatar image

accept rate: 0%

or how to use performance profile on vs2010 to find out ?

(28 Feb '13, 18:36) smilezuzu

If you are using Linux, you could do 'valgrind --tool=callgrind --trace-children=yes ./wireshark' then afterwards browse the biggest of the resulting callgrind files using kcachegrind.

(28 Feb '13, 18:59) MartinM

On Linux:

Unpack the source code and run configure with the option --enable-profile-build.

./configure --enable-profile-build

Then run Wireshark and do whatever you want to test.

Exit Wireshark and run the following command from the source directory.

libtool --mode=execute gprof wireshark gmon.out


permanent link

answered 14 Jun '13, 11:16

Kurt%20Knochner's gravatar image

Kurt Knochner ♦
accept rate: 15%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 28 Feb '13, 18:34

question was seen: 1,493 times

last updated: 14 Jun '13, 11:16

p​o​w​e​r​e​d by O​S​Q​A