summaryrefslogtreecommitdiffstats
path: root/trace/record/client.h
diff options
context:
space:
mode:
Diffstat (limited to 'trace/record/client.h')
-rw-r--r--trace/record/client.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/trace/record/client.h b/trace/record/client.h
index 1bf8d37..274db20 100644
--- a/trace/record/client.h
+++ b/trace/record/client.h
@@ -87,6 +87,8 @@ class Client {
void Destroy();
+ void set_limit(uint64_t limit) { limit_ = limit; }
+
protected:
void Initialize(rtems_record_client_handler handler) {
rtems_record_client_init(&base_, handler, this);
@@ -98,6 +100,7 @@ class Client {
rtems_record_client_context base_;
FileDescriptor input_;
sig_atomic_t stop_ = 0;
+ uint64_t limit_ = 0;
};
#endif // RTEMS_TOOLS_TRACE_RECORD_CLIENT_H_