01 May, 2013

1 commit

  • Pull trivial tree updates from Jiri Kosina:
    "Usual stuff, mostly comment fixes, typo fixes, printk fixes and small
    code cleanups"

    * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial: (45 commits)
    mm: Convert print_symbol to %pSR
    gfs2: Convert print_symbol to %pSR
    m32r: Convert print_symbol to %pSR
    iostats.txt: add easy-to-find description for field 6
    x86 cmpxchg.h: fix wrong comment
    treewide: Fix typo in printk and comments
    doc: devicetree: Fix various typos
    docbook: fix 8250 naming in device-drivers
    pata_pdc2027x: Fix compiler warning
    treewide: Fix typo in printks
    mei: Fix comments in drivers/misc/mei
    treewide: Fix typos in kernel messages
    pm44xx: Fix comment for "CONFIG_CPU_IDLE"
    doc: Fix typo "CONFIG_CGROUP_CGROUP_MEMCG_SWAP"
    mmzone: correct "pags" to "pages" in comment.
    kernel-parameters: remove outdated 'noresidual' parameter
    Remove spurious _H suffixes from ifdef comments
    sound: Remove stray pluses from Kconfig file
    radio-shark: Fix printk "CONFIG_LED_CLASS"
    doc: put proper reference to CONFIG_MODULE_SIG_ENFORCE
    ...

    Linus Torvalds
     

12 Apr, 2013

1 commit


01 Apr, 2013

13 commits

  • Initial motivation was to avoid the confusing exit when when '/' is
    pressed in non verbose mode, as specified in the help line searches
    are only available in verbose mode.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-20xezxim2y4agmkx7f3sucll@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Now that the map browser shares the input routine with the hists
    browser, there is no need for using any libnewt routine, so remove all
    traces except for honouring NO_NEWT=1 on the makefile command line as an
    indication that TUI support is not needed, in fact it just sets
    NO_SLANG=1.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-wae5o7xca9m52bj1re28jc5j@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • Instead of an ad-hoc, libnewt based equivalent.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-elrijp95pijt66y6mmij4xm1@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • The python/perf.so binding lacks dependency for libtraceevent.a so that
    it cause the following error building python/perf.so. This patch
    introduce the dependency for it.

    $ make python/perf.so
    CHK -fstack-protector-all
    CHK -Wstack-protector
    CHK -Wvolatile-register-var
    CHK -D_FORTIFY_SOURCE=2
    CHK bionic
    CHK libelf
    CHK libdw
    CHK libunwind
    CHK -DLIBELF_MMAP
    CHK libaudit
    CHK libnewt
    CHK gtk2
    CHK -DHAVE_GTK_INFO_BAR
    CHK perl
    CHK python
    CHK python version
    CHK libbfd
    CHK -DHAVE_STRLCPY
    CHK -DHAVE_ON_EXIT
    CHK -DBACKTRACE_SUPPORT
    CHK libnuma
    GEN python/perf.so
    x86_64-pc-linux-gnu-gcc: error: ../lib/traceevent/libtraceevent.a: No such file or directory
    error: command 'x86_64-pc-linux-gnu-gcc' failed with exit status 1
    cp: cannot stat 'python_ext_build/lib/perf.so': No such file or directory
    make: *** [python/perf.so] Error 1

    Signed-off-by: Naohiro Aota
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/87wqswzznx.fsf@locke.i-did-not-set--mail-host-address--so-tickle-me
    Signed-off-by: Arnaldo Carvalho de Melo

    Naohiro Aota
     
  • Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-k85ajz97xbrd8fkt2a8pp7q1@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • This reverts commit 0439539f72ea222fbfe511b47318b9c1815a7108.

    This caused this segfault:

    [root@sandy linux]# perf sched rec
    ^C[ perf record: Woken up 1 times to write data ]
    [ perf record: Captured and wrote 1.306 MB perf.data (~57062 samples) ]
    perf
    [root@sandy linux]# perf sched lat
    perf: builtin-sched.c:781: thread_atoms_search: Assertion `!(thread != atoms->thread)' failed.
    Aborted (core dumped)
    [root@sandy linux]#

    Further investigation is needed to check that even with machine__remove_thread()
    not really deleting the thread referenced in the PERF_RECORD_EXIT (it goes to
    machine->dead_threads, because references may still exist to them in things like
    hist, etc) some event later comes for this dead thread and then
    machine__findnew_thread() will create a new thead instance that will not be the
    same as the one referenced by work_atoms->thread in thread_atoms_search().

    For now just revert this patch to get the 'perf sched lat' back working.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    echo Link: http://lkml.kernel.org/n/tip-`ranpwd -l 24`@git.kernel.org
    Link: http://lkml.kernel.org/n/tip-hg4s6e5txiwqe00h8rdg1sin@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • The symbol addresses in a dso have relative offsets from the start of a
    mapping. So in order to ouput correct offset value from @ip, one of
    them should be converted.

    Signed-off-by: Namhyung Kim
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/r/1359040242-8269-19-git-send-email-eranian@google.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Leverages the PERF_RECORD_MISC_MMAP_DATA bit in the RECORD_MMAP record
    header. When the bit is set then the mapping type is set to
    MAP__VARIABLE.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-17-git-send-email-eranian@google.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • This new command is a wrapper on top of perf record and perf report to
    make it easier to configure for memory access profiling.

    To record loads:
    $ perf mem -t load rec .....

    To record stores:
    $ perf mem -t store rec .....

    To get the report:
    $ perf mem -t load rep

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-15-git-send-email-eranian@google.com
    [ Fixed minor conflict with 66857b5 "Sort command-list.txt alphabetically" ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • This patch adds the --mem-mode option to perf report.

    This mode requires a perf.data file created with memory access samples.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-13-git-send-email-eranian@google.com
    [ Removed duplicates in the --sort help, man page needs updating,
    Fixed minor conflict with 328ccda "perf report: Add --no-demangle option" ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • We use the -W option to obtain the cost of the memory accesses.

    Data address sampling is obtained via the -d option.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-14-git-send-email-eranian@google.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • This patch adds the sorting and histogram support
    functions to enable profiling of memory accesses.

    The following sorting orders are added:
    - symbol_daddr: data address symbol (or raw address)
    - dso_daddr: data address shared object
    - locked: access uses locked transaction
    - tlb : TLB access
    - mem : memory level of the access (L1, L2, L3, RAM, ...)
    - snoop: access snoop mode

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-12-git-send-email-eranian@google.com
    [ committer note: changed to cope with fc5871ed, the move of methods to
    machine.[ch], and the rename of dsrc to data_src, to match the change
    made in the PERF_SAMPLE_DSRC in a previous patch. ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • perf record has a new option -W that enables weightened sampling.

    Add sorting support in top/report for the average weight per sample and the
    total weight sum. This allows to both compare relative cost per event
    and the total cost over the measurement period.

    Add the necessary glue to perf report, record and the library.

    v2: Merge with new hist refactoring.
    v3: Fix manpage. Remove value check.
    Rename global_weight to weight and weight to local_weight.
    v4: Readd sort keys to manpage
    v5: Move weight to end
    v6: Move weight to template
    v7: Rename weight key.

    Original patch from Andi modified by Stephane Eranian
    to include ONLY the weight supporting code and apply to pristine 3.8.0-rc4.

    Signed-off-by: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1359040242-8269-6-git-send-email-eranian@google.com
    [ committer note: changed to cope with fc5871ed and the hists_link perf test entry ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Andi Kleen
     

27 Mar, 2013

1 commit

  • It's sometimes useful to see undemangled raw symbol name for example
    other tools using the perf output to do manipulation of binaries.

    Signed-off-by: Namhyung Kim
    Suggested-by: William Cohen
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: William Cohen
    BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=55571
    Link: http://lkml.kernel.org/r/1364203098-17741-1-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

26 Mar, 2013

3 commits

  • This patch adds the --per-core option to perf stat.

    This option is used to aggregate system-wide counts
    on a per physical core basis. On processors with
    hyperthreading, this means counts of all HT threads
    running on a physical core are aggregated.

    This mode is useful to find imblance between physical
    cores running an uniform workload. Cores are identified
    by socket: S0-C1, means physical core 1 on socket 0. Note
    that cores are identified using their physical core id,
    thus their numbering may not be continuous.

    Per core aggregation can be combined with interval printing:

    # perf stat -a --per-core -I 1000 -e cycles sleep 1000
    # time core cpus counts events
    1.000090030 S0-C0 1 4,765,747 cycles
    1.000090030 S0-C1 1 5,580,647 cycles
    1.000090030 S0-C2 1 221,181 cycles
    1.000090030 S0-C3 1 266,092 cycles

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1360846649-6411-4-git-send-email-eranian@google.com
    [ committer note: Remove parts already applied on 86ee6e1 to keep bisectability ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • To make it more obvious what this option does as suggested by Andi on
    LKML.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1360846649-6411-3-git-send-email-eranian@google.com
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     
  • Refactor aggregation code by introducing a single aggr_mode variable and an
    enum for aggregation.

    Also refactor cpumap code having to do with cpu to socket mappings. All in
    preparation for extended modes, such as cpu -> core.

    Also fix socket aggregation and ensure that sockets are printed in increasing
    order.

    Signed-off-by: Stephane Eranian
    Cc: Andi Kleen
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Namhyung Kim
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1360846649-6411-2-git-send-email-eranian@google.com
    [ committer note: Fixup conflicts with a7e191c "--repeat forever" and
    acf2892 "Use perf_evlist__prepare/start_workload()" ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Stephane Eranian
     

22 Mar, 2013

10 commits

  • It's for calculating whole trace data size during reading. However
    relation functions are called only in this file, no need to
    conditionalize it with tricky +1 offset and rename the variable to
    more meaningful name like trace_data_size.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-10-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Convert them to pr_debug() and propagate error code.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-9-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Rename it to do_read and original do_read to __do_read, and check
    their return value.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-8-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Check return value of malloc() and fail if error. Now read_string()
    can return NULL also check its return value and bail out.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-7-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • If pevent allocation in read_trace_init() fails, trace_report() will
    return -1 and *ppevent is set to NULL. Its callers should check this
    case and handle it properly.

    This is also a preparation for the removal of *die() calls.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-6-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Now remove all remaining die() calls and convert them to check return
    value and propagate it.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-5-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Check return value of write and fail if error.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-4-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Check return value of malloc and fail if NULL.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-3-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • So that it can be used by other places.

    Signed-off-by: Namhyung Kim
    Cc: Frederic Weisbecker
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Steven Rostedt
    Link: http://lkml.kernel.org/r/1363850332-25297-2-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • We define it in the Makefile so no need to duplicate it.

    Signed-off-by: Namhyung Kim
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363686376-29525-1-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     

21 Mar, 2013

1 commit

  • …/acme/linux into perf/core

    Conflicts:
    tools/Makefile

    Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:

    . Honor parallel jobs, fix from Borislav Petkov

    . Introduce tools/lib/lk library, initially just removing duplication
    among tools/perf and tools/vm. from Borislav Petkov

    . Fix build on non-glibc systems due to libio.h absence, from Cody P Schafer.

    . Remove some perf_session and tracing dead code, from David Ahern.

    . Introduce perf stat --repeat forever, from Frederik Deweerdt.

    . Add perf test entries for checking --cpu in record and stat, from Jiri Olsa.

    . Add perf test entries for checking breakpoint overflow signal handler issues,
    from Jiri Olsa.

    . Add perf test entry for for checking number of EXIT events, from Namhyung Kim.

    . Simplify some perf_evlist methods and to allow 'stat' to share code with
    'record' and 'trace'.

    . Remove dead code in related to libtraceevent integration, from Namhyung Kim.

    . Event group view for 'annotate' in --stdio, --tui and --gtk, from Namhyung Kim.

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    [ resolved the trivial merge conflict with upstream ]
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     

18 Mar, 2013

3 commits

  • This test case checks frequency conversion of hrtimer-based software
    clock events (cpu-clock, task-clock) have valid (non-1) periods.

    Signed-off-by: Namhyung Kim
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363574507-18808-2-git-send-email-namhyung@kernel.org
    [ committer note: Moved .sample_freq to outside named init block to cope with some gcc versions ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Reducing the noise in the main logic.

    Cc: David Ahern
    Cc: Frederic Weisbecker
    Cc: Jiri Olsa
    Cc: Mike Galbraith
    Cc: Namhyung Kim
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Cc: Stephane Eranian
    Link: http://lkml.kernel.org/n/tip-o219lnci04hlilxi6711wtcr@git.kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Arnaldo Carvalho de Melo
     
  • …it/acme/linux into perf/urgent

    Pull perf/urgent fixes from Arnaldo Carvalho de Melo:

    . perf probe: Fix segfault due to testing the wrong pointer for NULL,
    from Ananth N Mavinakayanahalli.

    . libtraceevent: Remove hard coded include to /usr/local/include in
    Makefile, which causes cross builds to include host header files,
    fix from Jack Mitchell.

    . perf record: Use the right target interface for synthesizing
    threads when --cpu/-C option is used, fix from Jiri Olsa.

    . Check if -DFORTIFY_SOURCE=2 is allowed, as gcc 4.7.2 defines
    it and then the build is broken when it is redefined in perf,
    fix from Marcin Slusarz.

    . Fix build with NO_NEWT=1, that can happen explicitely or when
    the newt-devel package is not installed, from Michael Ellerman.

    . perf/POWER7: Create a sysfs format entry for Power7 events, missing
    patch from a patchseries already merged, from Sukadev Bhattiprolu.

    . Fix LIBNUMA build with glibc 2.12 and older, from Vinson Lee.

    Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
    Signed-off-by: Ingo Molnar <mingo@kernel.org>

    Ingo Molnar
     

16 Mar, 2013

7 commits

  • The following patch causes 'perf stat --repeat 0' to be interpreted as
    'forever', displaying the stats for every run.

    We act as if a single run was asked, and reset the stats in each
    iteration. In this mode SIGINT is passed to perf to be able to stop the
    loop with Ctrl+C.

    Signed-off-by: Frederik Deweerdt
    Cc: Ingo Molnar
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/20130301180227.GA24385@ks398093.ip-192-95-24.net
    Signed-off-by: Arnaldo Carvalho de Melo

    Frederik Deweerdt
     
  • The new test__task_exit() test runs a simple "/usr/bin/true" workload and then
    checks whether the number of EXIT event is 1 or not.

    Signed-off-by: Namhyung Kim
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/87obeljax4.fsf@sejong.aot.lge.com
    [ committer note: Fixup conflicts with f4c66b4 ( bp overflow tests ) ]
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Add missing perf_evlist__close() function.

    Signed-off-by: Namhyung Kim
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363326533-3310-6-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • Add missing evlist cleanup functions.

    Signed-off-by: Namhyung Kim
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363326533-3310-5-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • The error path of calling perf_target__parse_uid wrongly went to
    out_free_fd. Also add missing evlist cleanup routines.

    Signed-off-by: Namhyung Kim
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363326533-3310-4-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • The trace_run() function calls several evlist functions but misses some
    pair-wise cleanup routines on return path. Fix it.

    Signed-off-by: Namhyung Kim
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363326533-3310-3-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim
     
  • It's a pair of perf_evlist__open().

    Signed-off-by: Namhyung Kim
    Cc: David Ahern
    Cc: Ingo Molnar
    Cc: Jiri Olsa
    Cc: Paul Mackerras
    Cc: Peter Zijlstra
    Link: http://lkml.kernel.org/r/1363326533-3310-1-git-send-email-namhyung@kernel.org
    Signed-off-by: Arnaldo Carvalho de Melo

    Namhyung Kim