summaryrefslogtreecommitdiff
path: root/simpleperf/record.h
diff options
context:
space:
mode:
Diffstat (limited to 'simpleperf/record.h')
-rw-r--r--simpleperf/record.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/simpleperf/record.h b/simpleperf/record.h
index e002370c..3ba73ec0 100644
--- a/simpleperf/record.h
+++ b/simpleperf/record.h
@@ -327,6 +327,8 @@ struct CommRecord : public Record {
CommRecord(const perf_event_attr& attr, uint32_t pid, uint32_t tid,
const std::string& comm, uint64_t event_id, uint64_t time);
+ void SetCommandName(const std::string& name);
+
protected:
void DumpData(size_t indent) const override;
};