perf record -g ./my-program
where g instructs perf to create a call graph.
To produce meaningful call-graphs, perf needs a way to read the
call stack. To achieve this it relies on frame-pointers, thus we
| Run `curl -w "@curl-timing.cfg" -o /dev/null -s http://foivos.zakkak.net` where `curl-timing.cfg` contains: | |
| ``` | |
| \n | |
| DNS lookup : %{time_namelookup}\n | |
| Connect to server (TCP) : %{time_connect}\n | |
| Connect to server (HTTP/S) : %{time_appconnect}\n | |
| Time from start until transfer began: %{time_pretransfer}\n | |
| Time for redirection (if any) : %{time_redirect}\n | |
| Total time before transfer started : %{time_starttransfer}\n |
| #!/bin/sh | |
| # | |
| # Arguments: | |
| # $1 - kernel version | |
| # $2 - kernel image file | |
| # $3 - kernel map file | |
| # $4 - default install path (blank if root directory) | |
| # define input variables | |
| # |
| # Maintainer: Foivos S. Zakkak <foivos at zakkak dot net> | |
| pkgname=gnome-shell-extension-workspace-grid | |
| pkgver=1.3.2.r0.geab164c | |
| pkgrel=1 | |
| pkgdesc="Allows to configure your workspaces in a grid" | |
| arch=('i686' 'x86_64') | |
| url="https://github.com/zakkak/workspace-grid-gnome-shell-extension" | |
| license=('unknown') | |
| depends=('gnome-shell') |
| #!/bin/bash | |
| ######################################################################### | |
| # # | |
| # File: backup_settings.sh A sync/backup script # | |
| # # | |
| # ++++++++++++++++++++++++++++++ # | |
| # Copyright (C) 2013 + Author: Foivos S. Zakkak + # | |
| # + Website: foivos.zakkak.net + # | |
| # + Email: foivos@zakkak.net + # |
| #!/usr/bin/env ruby | |
| ################################################################################ | |
| # # | |
| # File: svnkomp.rb # | |
| # ++++++++++++++++++++++++++++++ # | |
| # Copyright (C) 2012 + Author: Foivos S. Zakkak + # | |
| # + Website: foivos.zakkak.net + # | |
| # + Email: foivos@zakkak.net + # | |
| # ++++++++++++++++++++++++++++++ # |
| /****************************************************************************** | |
| * * | |
| * File: hanoi_towers.c * | |
| * * | |
| * This program solves the Towers of Hanoi puzzle recursively * | |
| * * | |
| * For details about that weird \033 staff visit * | |
| * www.linuxdoc.org/HOWTO/Bash-Prompt-HOWTO/c327.html * | |
| * * | |
| * Compile: * |
| /****************************************************************************** | |
| * * | |
| * File: round_knights.c * | |
| * * | |
| * This program solves the knights of the round table math problem with some * | |
| * bitwise logic * | |
| * * | |
| * For details about the problem * | |
| * http://mathforum.org/library/drmath/view/55862.html * | |
| * * |
| #!/usr/bin/env ruby | |
| ################################################################################ | |
| # # | |
| # File: greek2utf8.rb # | |
| # ++++++++++++++++++++++++++++++ # | |
| # Copyright (C) 2012 + Author: Foivos S. Zakkak + # | |
| # + Website: foivos.zakkak.net + # | |
| # + Email: foivos@zakkak.net + # | |
| # ++++++++++++++++++++++++++++++ # |