Skip to content

Instantly share code, notes, and snippets.

View vstakhov's full-sized avatar

Vsevolod Stakhov vstakhov

  • Cambridge, UK
  • 09:11 (UTC +01:00)
View GitHub Profile
@vstakhov
vstakhov / jemalloc.md
Created January 12, 2017 12:40
Jemalloc profiler practical sample
  1. Get source package: apt-get source libjemalloc-dev
  2. Install build depends: apt-get build-dep libjemalloc-dev
  3. Go to the source dir and edit debian/rules file adding the following text:
override_dh_auto_configure:
        dh_auto_configure -- --enable-debug --enable-fill --enable-prof --enable-stat
  1. Build packages: dpkg-buildpackage
@octocat
octocat / .gitignore
Created February 27, 2014 19:38
Some common .gitignore configurations
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #