I think that this could be implemented extending the mem_options[] in
file builtin-mem.c lines 205-221.
Or else, use 'perf record' directly as Andi suggested.
Alternatively you can just specify the command line perf mem record
would specify directly to perf record, plus -c/-F
$ perf record -Wd -e cpu/mem-loads/pp -F 200 -- ls
$ perf mem report
Wow, thank you for such details! I'll take a look at this!
Best regards.
Thanks,
Namhyung
--
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
http://www.bsc.es/disclaimer
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html