]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
ctf: set the name of the parent of child modules to "dtrace_ctf"
authorNick Alcock <nick.alcock@oracle.com>
Wed, 25 Jul 2012 20:07:21 +0000 (21:07 +0100)
committerNick Alcock <nick.alcock@oracle.com>
Mon, 29 Jun 2015 21:40:26 +0000 (22:40 +0100)
This is possible now that libdtrace-ctf has grown the ctf_parent_name_set()
function.

Signed-off-by: Nick Alcock <nick.alcock@oracle.com>
scripts/dwarf2ctf/dwarf2ctf.c

index 8153c38d33517ca3499abc77d51cae52f2582978..d34e7b10bab4fee775cf1f438c30d2f524b4cee3 100644 (file)
@@ -871,6 +871,7 @@ static ctf_file_t *init_ctf_table(const char *module_name)
                                ctf_errmsg(ctf_errno(ctf_file)));
                        exit(1);
                }
+               ctf_parent_name_set(ctf_file, "dtrace_ctf");
        }
 
        dw_ctf_trace("Created CTF file for module %s: %p\n",