Merge "Extend am profile command to also collect lowoverhead traces." into main