<commit_before>#if !defined(FSYSCALL_PRIVATE_H_INCLUDED)
#define FSYSCALL_PRIVATE_H_INCLUDED

#include <stdio.h>
#include <syslog.h>

#define	TRACE(fmt, ...)	do {						\
	printf("%s:%u " fmt "\n", __FILE__, __LINE__, __VA_ARGS__);	\
	fflush(stdout);							\
	syslog(LOG_DEBUG, fmt, __VA_ARGS__);				\
} while (0)
#define	TRACE0(msg)	TRACE("%s", (msg))

#define	array_sizeof(a)	(sizeof(a) / sizeof(a[0]))

#endif<commit_msg>include/fsyscall/private.h (TRACE): Changed to show the program name and pid.<commit_after>#if !defined(FSYSCALL_PRIVATE_H_INCLUDED)
#define FSYSCALL_PRIVATE_H_INCLUDED

#include <sys/types.h>
#include <stdio.h>
#include <stdlib.h>
#include <syslog.h>
#include <unistd.h>

#define	TRACE_HEAD	getprogname(), getpid(), __FILE__, __LINE__
#define	TRACE(fmt, ...)	do {						\
	printf("%s[%d] %s:%u " fmt "\n", TRACE_HEAD, __VA_ARGS__);	\
	fflush(stdout);							\
	syslog(LOG_DEBUG, fmt, __VA_ARGS__);				\
} while (0)
#define	TRACE0(msg)	TRACE("%s", (msg))

#define	array_sizeof(a)	(sizeof(a) / sizeof(a[0]))

#endif
{'fraction_non_alphanumeric': 0.178743961352657, 'fraction_numerical': 0.005797101449275362, 'mean_word_length': 4.954022988505747, 'pattern_counts': {'":': 0, '<': 10, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1044732', 'n_tokens_mistral': 470, 'n_tokens_neox': 443, 'n_words': 84}