@@ -76,7 +76,5 @@ enum tracecmd_filters {
struct tracecmd_filter;
struct tracecmd_filter *tracecmd_filter_add(struct tracecmd_input *handle,
const char *filter_str, bool neg);
-enum tracecmd_filters tracecmd_filter_match(struct tracecmd_filter *filter,
- struct tep_record *record);
#endif /* _TRACE_CMD_H */
@@ -49,6 +49,9 @@ struct data_file_write {
unsigned long long file_data_offset;
};
+enum tracecmd_filters tracecmd_filter_match(struct tracecmd_filter *filter,
+ struct tep_record *record);
+
void tracecmd_compress_init(void);
void tracecmd_compress_free(void);
@@ -44,8 +44,8 @@ static bool test_stacktraces(struct tracecmd_filter *filter, struct tep_record *
test_stacktrace(filter, record, filter->user_stacktrace_id);
}
-enum tracecmd_filters tracecmd_filter_match(struct tracecmd_filter *filter,
- struct tep_record *record)
+__hidden enum tracecmd_filters tracecmd_filter_match(struct tracecmd_filter *filter,
+ struct tep_record *record)
{
bool found = false;
int ret;