perf expr: Add expr.c object
authorJiri Olsa <jolsa@kernel.org>
Fri, 28 Feb 2020 09:36:12 +0000 (10:36 +0100)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 10 Mar 2020 00:43:24 +0000 (21:43 -0300)
commit576a65b6974ddc830a89b6feb6823bd6b5914bde
treedb78e3ca6ff527dee3cc1bfd7c751d2fadc49fb1
parent277ce1efa7b504873cd32a4106654836c2f80e1b
perf expr: Add expr.c object

Add generic expr code into new expr.c object.

The expr.c object will be mainly used in following change that will get
rid of the manual flex code,

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Reviewed-by: Andi Kleen <ak@linux.intel.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Michael Petlan <mpetlan@redhat.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Ravi Bangoria <ravi.bangoria@linux.ibm.com>
Link: http://lore.kernel.org/lkml/20200228093616.67125-2-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/Build
tools/perf/util/expr.c [new file with mode: 0644]
tools/perf/util/expr.y