Coder Social home page Coder Social logo

Perfromance debugging issue about ndpi HOT 4 CLOSED

ntop avatar ntop commented on August 23, 2024
Perfromance debugging issue

from ndpi.

Comments (4)

lucaderi avatar lucaderi commented on August 23, 2024

Pavel
first of all please disable -O2 and add -g for debugging.

This said, nDPI is a library, not a networking bridge as ntopng. So I am unable to assist as it is used inside your code. Please try to reproduce the issue with ndpiReader. Thanks.

from ndpi.

pavel-odintsov avatar pavel-odintsov commented on August 23, 2024

Luca, I speaking about another thing :)

Perf top correctly show functions from my code (i.e. I have -g -O0). But I want to build nDPI itself with debug enabled and can't find any options in configure for this.

from ndpi.

lucaderi avatar lucaderi commented on August 23, 2024

Edit src/lib/Makefile after configure and add your options

from ndpi.

pavel-odintsov avatar pavel-odintsov commented on August 23, 2024

What about nice option for configure?=) Folks from Debian have added -dbg package and it's very useful

from ndpi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.