lkml.org 
[lkml]   [2011]   [Jul]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] perf tools: Add automated tests for events parsing
Date
hi,
I'm adding automated test for parse_events function (patch 2/3).
I needed to change the parse_events interface slightly (patch 1/3).
Also using debugfs_path in trace_event__id so the path is not
hardcoded (patch 3/3).

attached patches:
- 1/3 perf tools: De-opt the parse_events function
- 2/3 perf tools: Add automated tests for events parsing
- 3/3 perf tools: Make test use the preset debugfs path

wbr,
jirka
---
tools/perf/builtin-record.c | 2 +-
tools/perf/builtin-stat.c | 2 +-
tools/perf/builtin-test.c | 240 +++++++++++++++++++++++++++++++++++++++-
tools/perf/builtin-top.c | 2 +-
tools/perf/util/parse-events.c | 25 +++--
tools/perf/util/parse-events.h | 6 +-
6 files changed, 261 insertions(+), 16 deletions(-)


\
 
 \ /
  Last update: 2011-07-14 11:29    [W:0.103 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site