1. 28 10月, 2016 2 次提交
    • A
      perf list: Support matching by topic · 67bdc35f
      Andi Kleen 提交于
      Add support in perf list topic to only show events belonging to a
      specific vendor events topic. For example the following works now:
      
        % perf list frontend
        List of pre-defined events (to be used in -e):
      
          stalled-cycles-frontend OR idle-cycles-frontend    [Hardware event]
      
          stalled-cycles-frontend OR cpu/stalled-cycles-frontend/ [Kernel PMU event]
      
        frontend:
          dsb2mite_switches.count
               [Decode Stream Buffer (DSB)-to-MITE switches]
          dsb2mite_switches.penalty_cycles
               [Decode Stream Buffer (DSB)-to-MITE switch true penalty cycles]
          dsb_fill.exceed_dsb_lines
               [Cycles when Decode Stream Buffer (DSB) fill encounter more than 3 Decode Stream Buffer (DSB)
                lines]
          icache.hit
               [Number of Instruction Cache, Streaming Buffer and Victim Cache Reads. both cacheable and
                noncacheable, including UC fetches]
        ...
      Signed-off-by: NAndi Kleen <ak@linux.intel.com>
      Tested-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Link: http://lkml.kernel.org/r/1476902724-9586-2-git-send-email-andi@firstfloor.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      67bdc35f
    • N
      perf tools: Introduce timestamp__scnprintf_usec() · 99620a5d
      Namhyung Kim 提交于
      Joonwoo reported that there's a mismatch between timestamps in script
      and sched commands.  This was because of difference in printing the
      timestamp.  Factor out the code and share it so that they can be in
      sync.  Also I found that sched map has similar problem, fix it too.
      
      Committer notes:
      
      Fixed the max_lat_at bug introduced by Namhyung's original patch, as
      pointed out by Joonwoo, and made it a function following the scnprintf()
      model, i.e. returning the number of bytes formatted, and receiving as
      the first parameter the object from where the data to the formatting is
      obtained, renaming it from:
      
         char *timestamp_in_usec(char *bf, size_t size, u64 timestamp)
      
      to
      
         int timestamp__scnprintf_usec(u64 timestamp, char *bf, size_t size)
      Reported-by: NJoonwoo Park <joonwoop@codeaurora.org>
      Signed-off-by: NNamhyung Kim <namhyung@kernel.org>
      Cc: David Ahern <dsahern@gmail.com>
      Cc: Jiri Olsa <jolsa@kernel.org>
      Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
      Link: http://lkml.kernel.org/r/20161024020246.14928-3-namhyung@kernel.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      99620a5d
  2. 26 10月, 2016 2 次提交
  3. 25 10月, 2016 6 次提交
  4. 24 10月, 2016 30 次提交