Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
starpu
starpu
Commits
6e11c6f6
Commit
6e11c6f6
authored
Feb 14, 2021
by
Lucas Nesi
Browse files
starpu_fxt_tool: end symbol_list only in the end
and not per mpi trace file, so this will not cause duplicate entries on paje
parent
785fb7ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/debug/traces/starpu_fxt.c
View file @
6e11c6f6
...
...
@@ -4207,18 +4207,6 @@ void _starpu_fxt_parse_new_file(char *filename_in, struct starpu_fxt_options *op
for
(
i
=
0
;
i
<
STARPU_NMAXWORKERS
;
i
++
)
free
(
options
->
worker_archtypes
[
i
].
devices
);
struct
_starpu_symbol_name
*
itor
,
*
next
;
for
(
itor
=
_starpu_symbol_name_list_begin
(
&
symbol_list
);
itor
!=
_starpu_symbol_name_list_end
(
&
symbol_list
);
itor
=
next
)
{
next
=
_starpu_symbol_name_list_next
(
itor
);
_starpu_symbol_name_list_erase
(
&
symbol_list
,
itor
);
free
(
itor
->
name
);
_starpu_symbol_name_delete
(
itor
);
}
_starpu_fxt_component_deinit
();
free_worker_ids
();
...
...
@@ -4608,6 +4596,17 @@ void _starpu_fxt_paje_file_init(struct starpu_fxt_options *options)
static
void
_starpu_fxt_paje_file_close
(
void
)
{
struct
_starpu_symbol_name
*
itor
,
*
next
;
for
(
itor
=
_starpu_symbol_name_list_begin
(
&
symbol_list
);
itor
!=
_starpu_symbol_name_list_end
(
&
symbol_list
);
itor
=
next
)
{
next
=
_starpu_symbol_name_list_next
(
itor
);
_starpu_symbol_name_list_erase
(
&
symbol_list
,
itor
);
free
(
itor
->
name
);
_starpu_symbol_name_delete
(
itor
);
}
if
(
out_paje_file
)
fclose
(
out_paje_file
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment