aboutsummaryrefslogtreecommitdiff
path: root/bbot/agent.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-05-12 16:30:45 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-05-12 16:30:45 +0200
commitb0ef18751e233302faabaf64ac0e01f08ff3ac10 (patch)
treeedf0653516681def1e586081f70bcc2f63fe060d /bbot/agent.cxx
parent73546642ff887b0a887d00ac43395afde99577b3 (diff)
Add support for including data with trace object
Diffstat (limited to 'bbot/agent.cxx')
-rw-r--r--bbot/agent.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/bbot/agent.cxx b/bbot/agent.cxx
index 09156f2..80ff475 100644
--- a/bbot/agent.cxx
+++ b/bbot/agent.cxx
@@ -85,7 +85,7 @@ bootstrap_machine (const dir_path& md,
const machine_manifest& mm,
optional<bootstrapped_machine_manifest> obmm)
{
- tracer trace ("bootstrap_machine");
+ tracer trace ("bootstrap_machine", md.string ().c_str ());
bootstrapped_machine_manifest r {
mm,
@@ -252,7 +252,7 @@ static pair<bootstrapped_machine_manifests, dir_paths>
enumerate_machines (const dir_path& machines)
try
{
- tracer trace ("enumerate_machines");
+ tracer trace ("enumerate_machines", machines.string ().c_str ());
bootstrapped_machine_manifests rm;
dir_paths rd;
@@ -544,7 +544,7 @@ perform_task (const dir_path& md,
const task_manifest& tm)
try
{
- tracer trace ("perform_task");
+ tracer trace ("perform_task", md.string ().c_str ());
result_manifest r {
tm.name,