summary refs log tree commit diff
path: root/net
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2021-11-25 23:13:05 -0800
committerArnaldo Carvalho de Melo <acme@redhat.com>2022-01-12 15:02:48 -0300
commitc0dd94558d0e473aa92254e1c48a47900c911e69 (patch)
tree4db6fd5db41faf2664ab0a03502aa98911d2698c /net
parentf56ef30a31d388663e78b9be687d67748c9b7297 (diff)
downloadlinux-c0dd94558d0e473aa92254e1c48a47900c911e69.tar.gz
perf pmu-events: Don't lower case MetricExpr
This patch changes MetricExpr to be written out in the same case. This
enables events in metrics to use modifiers like 'G' which currently
yield parse errors when made lower case. To keep tests passing the
literal #smt_on is compared in a non-case sensitive way - #SMT_on is
present in at least SkylakeX metrics.

Signed-off-by: Ian Rogers <irogers@google.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: John Garry <john.garry@huawei.com>
Cc: Kajol Jain <kjain@linux.ibm.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Paul Clarke <pc@us.ibm.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lore.kernel.org/lkml/20211126071305.3733878-1-irogers@google.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions