Permalink
Switch branches/tags
Nothing to show
Commits on Jun 6, 2015
  1. bitesize: work with different versions of awk and bash

    yangoliver committed Jun 6, 2015
    This patch tries to fix following bitesize issues,
    
    1. Error flooding messages when array index value is negative.
    2. the smax in gawk was treated as string, that cause bug when
       perf return zero IO count.
    
    Signed-off-by: Yong Yang <yangoliver@gmail.com>
Commits on Jan 29, 2015
  1. Replace split by sub to get pid

    yangoliver committed Jan 29, 2015
    Signed-off-by: Oliver Yang <yangoliver@gmail.com>
Commits on Jan 28, 2015
  1. awk scirpt can't work if process name contains space

    yangoliver committed Jan 28, 2015
    Signed-off-by: Oliver Yang <yangoliver@gmail.com>
Commits on Jan 17, 2015
  1. killsnoop: can't work with mawk

    yangoliver committed Jan 17, 2015
    On Ubuntu Linux release, mawk is used by default. This issue caused
    killsnoop can't work on Ubuntu by default.
    
    There are two issues,
        a. The strtonum is not supported by mawk.
           Try to use int to convert string to number.
           For gawk, int usage need the --non-decimal-data option.
           On very old RHEL release(2.6.18 kernel), the gawk can support
           this option.
        b. killsnoop still has no results due to mawk buffering porblems.
           Using -W interactive could solve this isue.
           The option is available on mawk 1.2, RHEL 4+ should support it.
    
    Signed-off-by: Oliver Yang <yangoliver@gmail.com>