trace: implement timestamp for ARMv6 and ARMv7
hw: enable performance counter on ARMv6 and ARMv7