summaryrefslogtreecommitdiffstats
path: root/include/crypto/aead.h
diff options
context:
space:
mode:
authorKan Liang <kan.liang@intel.com>2014-10-07 11:08:51 -0400
committerArnaldo Carvalho de Melo <acme@redhat.com>2014-10-15 16:05:45 -0300
commitba32a4511c65e41958384d2f7a046a6ec6e151e5 (patch)
treed3fb7e8d38f0aaba0cbd611215d1826f81800a4f /include/crypto/aead.h
parentdcb4e1022b40d886027500821a592dd8f8ccde8f (diff)
downloadop-kernel-dev-ba32a4511c65e41958384d2f7a046a6ec6e151e5.zip
op-kernel-dev-ba32a4511c65e41958384d2f7a046a6ec6e151e5.tar.gz
perf tools: Add support to new style format of kernel PMU event
Add new rules for kernel PMU event. Currently, the patch only want to handle the PMU event name as "a-b" and "a". event_pmu: PE_KERNEL_PMU_EVENT sep_dc | PE_PMU_EVENT_PRE '-' PE_PMU_EVENT_SUF sep_dc PE_KERNEL_PMU_EVENT token is for cycles-ct/cycles-t/mem-loads/mem-stores. The prefix cycles is mixed up with cpu-cycles. loads and stores are mixed up with cache event So they have to be hardcode in lex. PE_PMU_EVENT_PRE and PE_PMU_EVENT_SUF tokens are for other PMU events. The lex looks generic identifier up in the table and return the matched token. If there is no match, generic PE_NAME token will be return. Using the rules, kernel PMU event could use new style format without // so you can use: perf record -e mem-loads ... instead of: perf record -e cpu/mem-loads/ Signed-off-by: Kan Liang <kan.liang@intel.com> Acked-by: Jiri Olsa <jolsa@redhat.com> Cc: Andi Kleen <ak@linux.intel.com> Cc: Jiri Olsa <jolsa@redhat.com> Link: http://lkml.kernel.org/r/1412694532-23391-4-git-send-email-kan.liang@intel.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'include/crypto/aead.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud