1. 26 3月, 2015 6 次提交
  2. 25 3月, 2015 3 次提交
  3. 24 3月, 2015 16 次提交
  4. 23 3月, 2015 7 次提交
  5. 22 3月, 2015 8 次提交
    • I
      Merge tag 'perf-core-for-mingo-2' of... · 963a70b8
      Ingo Molnar 提交于
      Merge tag 'perf-core-for-mingo-2' 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:
      
        - Handle legacy syscalls tracepoints (David Ahern, Arnaldo Carvalho de Melo)
      
        - Indicate which callchain entries are annotated in the
          TUI hists browser (report/top) (Arnaldo Carvalho de Melo)
      
        - Fix failure to add multiple probes without debuginfo (He Kuang)
      
        - Fix 'trace' summary_only option (David Ahern)
      
        - Fix race in build_id_cache__add_s() in 'buildid-cache' (Milos Vyletel)
      
        - Don't allow empty argument for field-separator, fixing segfault (Wang Nan)
      
      Infrastructure:
      
        - Add destructor for format_field in libtraceevent (David Ahern)
      
        - Prep work for support lzma compressed kernel modules (Jiri Olsa)
      
        - Update .gitignore with recently added/renamed feature detection files (Yunlong Song)
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      963a70b8
    • I
      Merge tag 'perf-core-for-mingo' of... · 08b3f913
      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:
      
      User visible changes:
      
        - Bash completion for subcommands (Yunlong Song)
      
        - Allow annotating entries in callchains in the hists browser (top/report).
          TODO: give some visual cue to what entries in callchains have samples and thus
          can be annotated and/or allow showing the source code for functions without
          samples (Arnaldo Carvalho de Melo)
      
        - Don't allow empty argument for '-t' in perf report, fixing segfault (Wang Nan)
      
      Infrastructure:
      
        - Prep work for moving the perf feature tests build system to tools/build (Jiri Olsa)
      
        - Fix perf-read-vdsox32 not building and lib64 install dir (H.J. Lu)
      
        - ARM64: fix building error and eh/debug frame offset cache fixes (Wang Nan)
      Signed-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Signed-off-by: NIngo Molnar <mingo@kernel.org>
      08b3f913
    • J
      perf tools: Use kmod_path__parse for machine__new_dso · ca33380a
      Jiri Olsa 提交于
      Using kmod_path__parse to get the module name and update the dso short
      name within machine__new_dso function.
      
      This way it's done only first time when dso is created, unlike the
      current way when we update it all the time we process memory map of the
      kernel module.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-8gjmt1ggf5ls1xkk7qi2ko4k@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      ca33380a
    • J
      perf tools: Add machine__module_dso function · da17ea33
      Jiri Olsa 提交于
      Separate the dso object addition and update when adding new kernel
      module.
      
      Currently we update dso's symtab_type any time we find it in the list,
      because we can't distinguish between new and found dso from
      __dsos__findnew function.
      
      Adding machine__module_dso that separates finding and adding new dso
      objects, so there's no superfluous update of dso.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-uvqgs5tyq4wssnq6fm43hgvk@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      da17ea33
    • J
      perf tools: Add dsos__addnew function · 701d8d7f
      Jiri Olsa 提交于
      Separate the creation of new dso object and its addition to the dsos
      list. It will be used in following patch.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-8j43jod97fdt5dwdsushwwae@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      701d8d7f
    • J
      perf tools: Add kmod_path__parse function · 3c8a67f5
      Jiri Olsa 提交于
      Provides united way of parsing kernel module path
      into several components.
      
      The new kmod_path__parse function and few defines:
      
        int __kmod_path__parse(struct kmod_path *m, const char *path,
                               bool alloc_name, bool alloc_ext);
      
        #define kmod_path__parse(__m, __p)      __kmod_path__parse(__m, __p, false, false)
        #define kmod_path__parse_name(__m, __p) __kmod_path__parse(__m, __p, true , false)
        #define kmod_path__parse_ext(__m, __p)  __kmod_path__parse(__m, __p, false, true)
      
      parse kernel module @path and updates @m argument like:
      
        @comp - true if @path contains supported compression suffix,
                false otherwise
        @kmod - true if @path contains '.ko' suffix in right position,
                false otherwise
        @name - if (@alloc_name && @kmod) is true, it contains strdup-ed base name
                of the kernel module without suffixes, otherwise strudup-ed
                base name of @path
        @ext  - if (@alloc_ext && @comp) is true, it contains strdup-ed string
                the compression suffix
      
      It returns 0 if there's no strdup error, -ENOMEM otherwise.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-9t6eqg8j610r94l743hkntiv@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      3c8a67f5
    • J
      perf tools: Add lzma decompression support for kernel module · 80a32e5b
      Jiri Olsa 提交于
      In short, Fedora compresses kernel modules now (since version 21) with
      lzma compression.
      
      Adding lzma decompress support into the dso.c:compressions array
      introduced by Namhyung earlier.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      Link: http://lkml.kernel.org/n/tip-2glp65kdtbrk0gblmirsjsnt@git.kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      80a32e5b
    • J
      tools build: Add feature check for lzma library · 6c6f0f61
      Jiri Olsa 提交于
      Will be used to decompress 'xz' objects. The check detects
      the liblzma.so devel library normally delivered by xz package.
      Signed-off-by: NJiri Olsa <jolsa@kernel.org>
      Acked-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Frederic Weisbecker <fweisbec@gmail.com>
      Cc: Ingo Molnar <mingo@kernel.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Paul Mackerras <paulus@samba.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Cc: Stephane Eranian <eranian@google.com>
      6c6f0f61