1. 09 2月, 2013 36 次提交
  2. 07 2月, 2013 4 次提交
    • I
      Merge tag 'perf-core-for-mingo' of... · 661e5915
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
      
      Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
      
      . Check for flex and bison before continuing building, from Borislav Petkov.
      
      . Make event_copy local to mmaps, fixing buffer wrap around problems, from
        David Ahern.
      
      . Add option for runtime switching perf data file in perf report, just press
        's' and a menu with the valid files found in the current directory will be
        presented, from Feng Tang.
      
      . Add support to display whole group data for raw columns, from Jiri Olsa.
      
      . Fix SIGALRM and pipe read race for the rwtop perl script. from Jiri Olsa.
      
      . Fix perf_evsel::exclude_GH handling and add a test to catch regressions, from
        Jiri Olsa.
      
      . Error checking fixes, from Namhyung Kim.
      
      . Fix calloc argument ordering, from Paul Gortmaker.
      
      . Fix set event list leader, from Stephane Eranian.
      
      . Add per processor socket count aggregation in perf stat, from Stephane Eranian.
      
      . Fix perf python binding breakage.
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      661e5915
    • A
      perf python: Link with sysfs.o · 88fd2b6a
      Arnaldo Carvalho de Melo 提交于
      So that we fix this regression:
      
      [root@sandy linux]# perf test -v 15
      15: Try 'use perf' in python, checking link problems       :
      --- start ---
      Traceback (most recent call last):
        File "<stdin>", line 1, in <module>
      ImportError: /home/acme/git/build/perf/python/perf.so: undefined symbol: sysfs_find_mountpoint
      ---- end ----
      Try 'use perf' in python, checking link problems: FAILED!
      [root@sandy linux]#
      
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-8pf64bsdywg1gl9m55ul77hg@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      88fd2b6a
    • A
      perf evlist: Pass the event_group info via perf_attr_details · e35ef355
      Arnaldo Carvalho de Melo 提交于
      So that we avoid dragging symbol.o into the python binding.
      
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Jiri Olsa <jolsa@redhat.com>
      Cc: Mike Galbraith <efault@gmx.de>
      Cc: Namhyung Kim <namhyung@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-izjubje7ltd1srji5wb0ygwi@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      e35ef355
    • P
      perf tools: Fix calloc argument ordering · 91b98804
      Paul Gortmaker 提交于
      A sweep of the kernel for regex "kcalloc(sizeof" turned up 2 reversed
      args, fixed in commit d3d09e18 ("EDAC:
      Fix kcalloc argument order") and also fixed in the networking commit
      a1b1add0 ("gro: Fix kcalloc argument
      order").
      
      I know that was the regex used, because on seeing the 1st of these
      changes, I wondered "how many other instances of this are there" and I
      happened to just use "calloc(sizeof" as a regex and it in turn found
      these additional reversed args instances in the perf code.
      
      In the kcalloc cases, the changes are cosmetic, since the numbers are
      simply multiplied.  I had no desire to go data mining in userspace to
      see if the same thing held true there, however.
      Signed-off-by: NPaul Gortmaker <paul.gortmaker@windriver.com>
      Cc: Ingo Molnar <mingo@redhat.com>
      Cc: Joe Perches <joe@perches.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/1359594349-25912-1-git-send-email-paul.gortmaker@windriver.comSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      91b98804