To enable software tracepoints manually, you need to add the sa handler files to your project and modify the kinetis_sysinit.c file. The sa handler file contains the handler for the interrupt inside the code which enables/disables trace collection. The kinetis_sysinit.c file contains the code that instructs the hardware to use a specific handler for each type of interrupt of the application.
You also need to edit the linker control file of your project in which you add the .swtp section. These sections are used by the software tracepoints mechanism to reserve a memory zone to save a table with tracepoints records which are parsed inside the sa_handler to determine whether the interrupt occurred for a start or stop tracepoint.
Two toolchains, Freescale and GCC, are available for enabling and installing software tracepoints manually. You need to select the required option in the Language and Build Tools Options page while creating a Kinetis project.