SMF supplies two macros that you can use to write records to the SMF data set: SMFWTM and SMFEWTM. These macros differ in the entry method that they use to the record-writing routine.
The SMFWTM macro generates a supervisor call (SVC) instruction. For SMFEWTM BRANCH=NO, the SVC is generated by the code invoked by the SMFEWTM macro.