* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include <ust/kernelcompat.h>
#include "tracercore.h"
/* Traces structures */
void ltt_lock_traces(void)
{
- mutex_lock(<t_traces_mutex);
+ pthread_mutex_lock(<t_traces_mutex);
}
void ltt_unlock_traces(void)
{
- mutex_unlock(<t_traces_mutex);
+ pthread_mutex_unlock(<t_traces_mutex);
}
//ust// DEFINE_PER_CPU(unsigned int, ltt_nesting);
//ust// EXPORT_PER_CPU_SYMBOL(ltt_nesting);
-unsigned int ltt_nesting;
+__thread int ltt_nesting;
int ltt_run_filter_default(void *trace, uint16_t eID)
{