1. 18 2月, 2020 2 次提交
  2. 30 1月, 2020 1 次提交
    • L
      perf parse: Refactor 'struct perf_evsel_config_term' · e884602b
      Leo Yan 提交于
      The struct perf_evsel_config_term::val is a union which contains fields
      'callgraph', 'drv_cfg' and 'branch' as string pointers.  This leads to
      the complex code logic for handling every type's string separately, and
      it's hard to release string as a general way.
      
      This patch refactors the structure to add a common field 'str' in the
      'val' union as string pointer and remove the other three fields
      'callgraph', 'drv_cfg' and 'branch'.  Without passing field name, the
      patch simplifies the string handling with macro ADD_CONFIG_TERM_STR()
      for string pointer assignment.
      
      This patch fixes multiple warnings of line over 80 characters detected
      by checkpatch tool.
      Signed-off-by: NLeo Yan <leo.yan@linaro.org>
      Reviewed-by: NAndi Kleen <ak@linux.intel.com>
      Acked-by: NJiri Olsa <jolsa@kernel.org>
      Cc: Adrian Hunter <adrian.hunter@intel.com>
      Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
      Cc: Ian Rogers <irogers@google.com>
      Cc: Mark Rutland <mark.rutland@arm.com>
      Cc: Mathieu Poirier <mathieu.poirier@linaro.org>
      Cc: Mike Leach <mike.leach@linaro.org>
      Cc: Namhyung Kim <namhyung@kernel.org>
      Cc: Peter Zijlstra <peterz@infradead.org>
      Cc: Suzuki Poulouse <suzuki.poulose@arm.com>
      Cc: linux-arm-kernel@lists.infradead.org
      Link: http://lore.kernel.org/lkml/20200117055251.24058-1-leo.yan@linaro.orgSigned-off-by: NArnaldo Carvalho de Melo <acme@redhat.com>
      e884602b
  3. 26 9月, 2019 1 次提交
  4. 25 9月, 2019 3 次提交
  5. 20 9月, 2019 1 次提交
  6. 01 9月, 2019 3 次提交
  7. 30 8月, 2019 1 次提交
  8. 29 8月, 2019 2 次提交
  9. 26 8月, 2019 1 次提交
  10. 22 8月, 2019 2 次提交
  11. 30 7月, 2019 9 次提交
  12. 09 7月, 2019 1 次提交
  13. 26 6月, 2019 1 次提交
  14. 18 6月, 2019 1 次提交
  15. 11 6月, 2019 4 次提交
  16. 06 2月, 2019 2 次提交
  17. 19 4月, 2018 1 次提交
  18. 17 2月, 2018 1 次提交
  19. 28 8月, 2017 1 次提交
  20. 20 6月, 2017 2 次提交