The issue is when a cmask is used, the event name is appended the mask and mask-value. Users with same event but multiple masks, won't now which event is with what mask. The request is to add this mask so that uses are able to tell what data values for events go to which masks.
For example
_perf stat -r3 --log-fd=1 -e 'cpu-clock,{cpu/slots,name=topdown_slots/,instructions,cycles,ref-cycles,cpu/topdown-retiring,name=perf_metrics_retiring/,cpu/topdown-bad-spec,name=perf_metrics_bad_speculation/,cpu/topdown-fe-bound,name=perf_metrics_frontend_bound/,cpu/topdown-be-bound,name=perf_metrics_backend_bound/},cpu/event=0xc4,umask=0x40,name=system-entries/u,r2424,cpu/event=0x79,umask=0x8,cmask=1,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=2,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=3,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=4,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=5,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=6,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=7,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=8,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=9,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=10,name=idq_dsbuops/,context-switches,cpu-migrations,page-faults,branches,branch-misses,cycles:k' -- openssl speed -seconds 5 rsa2048
This command that has 10 cmasks for the same event idq_dsb_uops, wont show in the output what mask goes to which event value. See output below.
The issue is when a cmask is used, the event name is appended the mask and mask-value. Users with same event but multiple masks, won't now which event is with what mask. The request is to add this mask so that uses are able to tell what data values for events go to which masks.
For example _perf stat -r3 --log-fd=1 -e 'cpu-clock,{cpu/slots,name=topdown_slots/,instructions,cycles,ref-cycles,cpu/topdown-retiring,name=perf_metrics_retiring/,cpu/topdown-bad-spec,name=perf_metrics_bad_speculation/,cpu/topdown-fe-bound,name=perf_metrics_frontend_bound/,cpu/topdown-be-bound,name=perf_metrics_backend_bound/},cpu/event=0xc4,umask=0x40,name=system-entries/u,r2424,cpu/event=0x79,umask=0x8,cmask=1,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=2,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=3,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=4,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=5,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=6,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=7,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=8,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=9,name=idq_dsb_uops/,cpu/event=0x79,umask=0x8,cmask=10,name=idq_dsbuops/,context-switches,cpu-migrations,page-faults,branches,branch-misses,cycles:k' -- openssl speed -seconds 5 rsa2048
This command that has 10 cmasks for the same event idq_dsb_uops, wont show in the output what mask goes to which event value. See output below.