xml reporter: support different start node name

Currently the report name is used implicitly as first xml node name for the
report.  This is inconvenient if one component wants to generate various xml
reports under various names (e.g. to steer consumers/clients slightly
differently) but with the same xml node tree structure.

Fixes #1940
This commit is contained in:
Alexander Boettcher
2016-04-18 21:13:47 +02:00
committed by Christian Helmuth
parent ab9fe9cc6c
commit 463b39fc73
6 changed files with 16 additions and 11 deletions

View File

@ -76,7 +76,7 @@ struct Device : List<Device>::Element
static Genode::Reporter &device_list_reporter()
{
static Genode::Reporter _r("devices", 512*1024);
static Genode::Reporter _r("devices", "devices", 512*1024);
return _r;
}