lttng-dev Archive on lore.kernel.org
 help / color / Atom feed
* babeltrace cannot open the trace but Trace Compass can open
@ 2020-07-22  7:58 Kim, Seongab via lttng-dev
  2020-07-22  7:58 ` [lttng-dev] " Kim, Seongab via lttng-dev
  2020-07-22 15:06 ` Philippe Proulx via lttng-dev
  0 siblings, 2 replies; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-22  7:58 UTC (permalink / raw)
  To: lttng-dev

Hi,

I have a trace which cannot be opened by babeltrace as below, but I can open it with Trace Compass.

skim@d54030999178:/mnt/ssd/work/skim/traces$ babeltrace2  ./kernel/
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR get_unary_unsigned@visitor-generate-ir.c:800 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Invalid constant unsigned integer.
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl_entry@visitor-generate-ir.c:4357 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Unexpected unary expression for clock class's `offset` attribute.
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl@visitor-generate-ir.c:4532 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Cannot visit clock class's entry: ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR ctf_visitor_generate_ir_visit_node@visitor-generate-ir.c:4775 [auto-disc-source-ctf-fs] At line 41 in metadata stream: Cannot visit clock class: ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/DECODER ctf_metadata_decoder_append_content@decoder.c:337 [auto-disc-source-ctf-fs] Failed to visit AST node to create CTF IR objects: mdec-addr=0x22a0d90, ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/SRC.CTF.FS/META ctf_fs_metadata_set_trace_class@metadata.c:128 [auto-disc-source-ctf-fs] Cannot update metadata decoder's content.
07-22 07:49:20.122  5264  5264 E PLUGIN/SRC.CTF.FS ctf_fs_component_create_ctf_fs_trace_one_path@fs.c:1206 [auto-disc-source-ctf-fs] Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
07-22 07:49:20.123  5264  5264 W LIB/GRAPH add_component_with_init_method_data@graph.c:977 Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING, comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0, comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so", comp-input-port-count=0, comp-output-port-count=0
07-22 07:49:20.123  5264  5264 E CLI cmd_run_ctx_create_components_from_config_components@babeltrace2.c:2301 Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
07-22 07:49:20.123  5264  5264 E CLI cmd_run@babeltrace2.c:2480 Cannot create components.

ERROR:    [Babeltrace CLI] (babeltrace2.c:2480)
  Cannot create components.
CAUSED BY [Babeltrace CLI] (babeltrace2.c:2301)
  Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
CAUSED BY [libbabeltrace2] (graph.c:977)
  Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING,
  comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0,
  comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so",
  comp-input-port-count=0, comp-output-port-count=0
CAUSED BY [auto-disc-source-ctf-fs: 'source.ctf.fs'] (fs.c:1206)
  Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.

Could someone can advise me how to open the trace with babeltrace?
I'm using below version.

skim@d54030999178:~/work/tmp$ babeltrace2 -V Babeltrace 2.0.4 "Amqui"

Amqui (/_mkwi_/) is a town in eastern Qu_bec, Canada, at the base of the Gasp_ peninsula in Bas-Saint-Laurent. Located at the confluence of the Humqui and Matap_dia Rivers, its proximity to woodlands makes it a great destination for outdoor activities such as camping, hiking, and mountain biking.

Best regards,
Seongab Kim

^ permalink raw reply	[flat|nested] 12+ messages in thread

* [lttng-dev] babeltrace cannot open the trace but Trace Compass can open
  2020-07-22  7:58 babeltrace cannot open the trace but Trace Compass can open Kim, Seongab via lttng-dev
@ 2020-07-22  7:58 ` Kim, Seongab via lttng-dev
  2020-07-22 15:06 ` Philippe Proulx via lttng-dev
  1 sibling, 0 replies; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-22  7:58 UTC (permalink / raw)
  To: lttng-dev

Hi,

I have a trace which cannot be opened by babeltrace as below, but I can open it with Trace Compass.

skim@d54030999178:/mnt/ssd/work/skim/traces$ babeltrace2  ./kernel/
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR get_unary_unsigned@visitor-generate-ir.c:800 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Invalid constant unsigned integer.
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl_entry@visitor-generate-ir.c:4357 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Unexpected unary expression for clock class's `offset` attribute.
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl@visitor-generate-ir.c:4532 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Cannot visit clock class's entry: ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR ctf_visitor_generate_ir_visit_node@visitor-generate-ir.c:4775 [auto-disc-source-ctf-fs] At line 41 in metadata stream: Cannot visit clock class: ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/DECODER ctf_metadata_decoder_append_content@decoder.c:337 [auto-disc-source-ctf-fs] Failed to visit AST node to create CTF IR objects: mdec-addr=0x22a0d90, ret=-22
07-22 07:49:20.099  5264  5264 E PLUGIN/SRC.CTF.FS/META ctf_fs_metadata_set_trace_class@metadata.c:128 [auto-disc-source-ctf-fs] Cannot update metadata decoder's content.
07-22 07:49:20.122  5264  5264 E PLUGIN/SRC.CTF.FS ctf_fs_component_create_ctf_fs_trace_one_path@fs.c:1206 [auto-disc-source-ctf-fs] Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
07-22 07:49:20.123  5264  5264 W LIB/GRAPH add_component_with_init_method_data@graph.c:977 Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING, comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0, comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so", comp-input-port-count=0, comp-output-port-count=0
07-22 07:49:20.123  5264  5264 E CLI cmd_run_ctx_create_components_from_config_components@babeltrace2.c:2301 Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
07-22 07:49:20.123  5264  5264 E CLI cmd_run@babeltrace2.c:2480 Cannot create components.

ERROR:    [Babeltrace CLI] (babeltrace2.c:2480)
  Cannot create components.
CAUSED BY [Babeltrace CLI] (babeltrace2.c:2301)
  Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
CAUSED BY [libbabeltrace2] (graph.c:977)
  Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING,
  comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0,
  comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so",
  comp-input-port-count=0, comp-output-port-count=0
CAUSED BY [auto-disc-source-ctf-fs: 'source.ctf.fs'] (fs.c:1206)
  Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.

Could someone can advise me how to open the trace with babeltrace?
I'm using below version.

skim@d54030999178:~/work/tmp$ babeltrace2 -V Babeltrace 2.0.4 "Amqui"

Amqui (/_mkwi_/) is a town in eastern Qu_bec, Canada, at the base of the Gasp_ peninsula in Bas-Saint-Laurent. Located at the confluence of the Humqui and Matap_dia Rivers, its proximity to woodlands makes it a great destination for outdoor activities such as camping, hiking, and mountain biking.

Best regards,
Seongab Kim

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-22  7:58 babeltrace cannot open the trace but Trace Compass can open Kim, Seongab via lttng-dev
  2020-07-22  7:58 ` [lttng-dev] " Kim, Seongab via lttng-dev
@ 2020-07-22 15:06 ` Philippe Proulx via lttng-dev
  2020-07-22 15:06   ` [lttng-dev] " Philippe Proulx via lttng-dev
  2020-07-23  9:08   ` [EXTERNAL] " Kim, Seongab via lttng-dev
  1 sibling, 2 replies; 12+ messages in thread
From: Philippe Proulx via lttng-dev @ 2020-07-22 15:06 UTC (permalink / raw)
  To: Kim, Seongab; +Cc: lttng-dev

Thank you for the bug report.

Can I kindly ask you to create an official issue for this?

Go to <https://bugs.lttng.org/projects/babeltrace/issues/new>.

I'd also like you to attach the offending CTF trace so that I can
analyze it if it doesn't contain sensitive data and is somewhat small.
If it's not possible, do:

    $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel |
grep -A10 '^clock {'

and copy the output to the Redmine issue's description.

BR,

Phil

On Wed, Jul 22, 2020 at 9:17 AM Kim, Seongab via lttng-dev
<lttng-dev@lists.lttng.org> wrote:
>
> Hi,
>
> I have a trace which cannot be opened by babeltrace as below, but I can open it with Trace Compass.
>
> skim@d54030999178:/mnt/ssd/work/skim/traces$ babeltrace2  ./kernel/
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR get_unary_unsigned@visitor-generate-ir.c:800 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Invalid constant unsigned integer.
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl_entry@visitor-generate-ir.c:4357 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Unexpected unary expression for clock class's `offset` attribute.
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl@visitor-generate-ir.c:4532 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Cannot visit clock class's entry: ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR ctf_visitor_generate_ir_visit_node@visitor-generate-ir.c:4775 [auto-disc-source-ctf-fs] At line 41 in metadata stream: Cannot visit clock class: ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/DECODER ctf_metadata_decoder_append_content@decoder.c:337 [auto-disc-source-ctf-fs] Failed to visit AST node to create CTF IR objects: mdec-addr=0x22a0d90, ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/SRC.CTF.FS/META ctf_fs_metadata_set_trace_class@metadata.c:128 [auto-disc-source-ctf-fs] Cannot update metadata decoder's content.
> 07-22 07:49:20.122  5264  5264 E PLUGIN/SRC.CTF.FS ctf_fs_component_create_ctf_fs_trace_one_path@fs.c:1206 [auto-disc-source-ctf-fs] Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
> 07-22 07:49:20.123  5264  5264 W LIB/GRAPH add_component_with_init_method_data@graph.c:977 Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING, comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0, comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so", comp-input-port-count=0, comp-output-port-count=0
> 07-22 07:49:20.123  5264  5264 E CLI cmd_run_ctx_create_components_from_config_components@babeltrace2.c:2301 Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
> 07-22 07:49:20.123  5264  5264 E CLI cmd_run@babeltrace2.c:2480 Cannot create components.
>
> ERROR:    [Babeltrace CLI] (babeltrace2.c:2480)
>   Cannot create components.
> CAUSED BY [Babeltrace CLI] (babeltrace2.c:2301)
>   Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
> CAUSED BY [libbabeltrace2] (graph.c:977)
>   Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING,
>   comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0,
>   comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so",
>   comp-input-port-count=0, comp-output-port-count=0
> CAUSED BY [auto-disc-source-ctf-fs: 'source.ctf.fs'] (fs.c:1206)
>   Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
>
> Could someone can advise me how to open the trace with babeltrace?
> I'm using below version.
>
> skim@d54030999178:~/work/tmp$ babeltrace2 -V Babeltrace 2.0.4 "Amqui"
>
> Amqui (/_mkwi_/) is a town in eastern Qu_bec, Canada, at the base of the Gasp_ peninsula in Bas-Saint-Laurent. Located at the confluence of the Humqui and Matap_dia Rivers, its proximity to woodlands makes it a great destination for outdoor activities such as camping, hiking, and mountain biking.
>
> Best regards,
> Seongab Kim
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [lttng-dev] babeltrace cannot open the trace but Trace Compass can open
  2020-07-22 15:06 ` Philippe Proulx via lttng-dev
@ 2020-07-22 15:06   ` Philippe Proulx via lttng-dev
  2020-07-23  9:08   ` [EXTERNAL] " Kim, Seongab via lttng-dev
  1 sibling, 0 replies; 12+ messages in thread
From: Philippe Proulx via lttng-dev @ 2020-07-22 15:06 UTC (permalink / raw)
  To: Kim, Seongab; +Cc: lttng-dev

Thank you for the bug report.

Can I kindly ask you to create an official issue for this?

Go to <https://bugs.lttng.org/projects/babeltrace/issues/new>.

I'd also like you to attach the offending CTF trace so that I can
analyze it if it doesn't contain sensitive data and is somewhat small.
If it's not possible, do:

    $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel |
grep -A10 '^clock {'

and copy the output to the Redmine issue's description.

BR,

Phil

On Wed, Jul 22, 2020 at 9:17 AM Kim, Seongab via lttng-dev
<lttng-dev@lists.lttng.org> wrote:
>
> Hi,
>
> I have a trace which cannot be opened by babeltrace as below, but I can open it with Trace Compass.
>
> skim@d54030999178:/mnt/ssd/work/skim/traces$ babeltrace2  ./kernel/
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR get_unary_unsigned@visitor-generate-ir.c:800 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Invalid constant unsigned integer.
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl_entry@visitor-generate-ir.c:4357 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Unexpected unary expression for clock class's `offset` attribute.
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR visit_clock_decl@visitor-generate-ir.c:4532 [auto-disc-source-ctf-fs] At line 40 in metadata stream: Cannot visit clock class's entry: ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/IR-VISITOR ctf_visitor_generate_ir_visit_node@visitor-generate-ir.c:4775 [auto-disc-source-ctf-fs] At line 41 in metadata stream: Cannot visit clock class: ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/CTF/META/DECODER ctf_metadata_decoder_append_content@decoder.c:337 [auto-disc-source-ctf-fs] Failed to visit AST node to create CTF IR objects: mdec-addr=0x22a0d90, ret=-22
> 07-22 07:49:20.099  5264  5264 E PLUGIN/SRC.CTF.FS/META ctf_fs_metadata_set_trace_class@metadata.c:128 [auto-disc-source-ctf-fs] Cannot update metadata decoder's content.
> 07-22 07:49:20.122  5264  5264 E PLUGIN/SRC.CTF.FS ctf_fs_component_create_ctf_fs_trace_one_path@fs.c:1206 [auto-disc-source-ctf-fs] Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
> 07-22 07:49:20.123  5264  5264 W LIB/GRAPH add_component_with_init_method_data@graph.c:977 Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING, comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0, comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so", comp-input-port-count=0, comp-output-port-count=0
> 07-22 07:49:20.123  5264  5264 E CLI cmd_run_ctx_create_components_from_config_components@babeltrace2.c:2301 Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
> 07-22 07:49:20.123  5264  5264 E CLI cmd_run@babeltrace2.c:2480 Cannot create components.
>
> ERROR:    [Babeltrace CLI] (babeltrace2.c:2480)
>   Cannot create components.
> CAUSED BY [Babeltrace CLI] (babeltrace2.c:2301)
>   Cannot create component: plugin-name="ctf", comp-cls-name="fs", comp-cls-type=1, comp-name="auto-disc-source-ctf-fs"
> CAUSED BY [libbabeltrace2] (graph.c:977)
>   Component initialization method failed: status=ERROR, comp-addr=0x22a68d0, comp-name="auto-disc-source-ctf-fs", comp-log-level=WARNING,
>   comp-class-type=SOURCE, comp-class-name="fs", comp-class-partial-descr="Read CTF traces from the file sy", comp-class-is-frozen=0,
>   comp-class-so-handle-addr=0x22b0de0, comp-class-so-handle-path="/usr/lib/x86_64-linux-gnu/babeltrace2/plugins/babeltrace-plugin-ctf.so",
>   comp-input-port-count=0, comp-output-port-count=0
> CAUSED BY [auto-disc-source-ctf-fs: 'source.ctf.fs'] (fs.c:1206)
>   Cannot create trace for `/mnt/ssd/work/skim/traces/kernel`.
>
> Could someone can advise me how to open the trace with babeltrace?
> I'm using below version.
>
> skim@d54030999178:~/work/tmp$ babeltrace2 -V Babeltrace 2.0.4 "Amqui"
>
> Amqui (/_mkwi_/) is a town in eastern Qu_bec, Canada, at the base of the Gasp_ peninsula in Bas-Saint-Laurent. Located at the confluence of the Humqui and Matap_dia Rivers, its proximity to woodlands makes it a great destination for outdoor activities such as camping, hiking, and mountain biking.
>
> Best regards,
> Seongab Kim
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev@lists.lttng.org
> https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-22 15:06 ` Philippe Proulx via lttng-dev
  2020-07-22 15:06   ` [lttng-dev] " Philippe Proulx via lttng-dev
@ 2020-07-23  9:08   ` Kim, Seongab via lttng-dev
  2020-07-23  9:08     ` [lttng-dev] " Kim, Seongab via lttng-dev
  2020-07-23 14:00     ` Philippe Proulx via lttng-dev
  1 sibling, 2 replies; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-23  9:08 UTC (permalink / raw)
  To: Philippe Proulx; +Cc: lttng-dev

Hello Phil,

> -----Original Message-----
> From: Philippe Proulx <eeppeliteloop@gmail.com>
> Sent: Wednesday, July 22, 2020 5:06 PM
> To: Kim, Seongab <Seongab.Kim@harman.com>
> Cc: lttng-dev@lists.lttng.org
> Subject: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> Trace Compass can open
> 
> Thank you for the bug report.
> 
> Can I kindly ask you to create an official issue for this?
> 
> Go to
> <https://clicktime.symantec.com/38qgEsYhBTfCNnYpLPoAn647Vc?u=https%
> 3A%2F%2Fbugs.lttng.org%2Fprojects%2Fbabeltrace%2Fissues%2Fnew>.
> 
> I'd also like you to attach the offending CTF trace so that I can analyze it if it
> doesn't contain sensitive data and is somewhat small.

I created an account in Redmine, but I'm still waiting for the account activation mail. I tried to click the resend mail link two times without success.
Also the trace is big (1.4 GB) and it contains sensitive data.

> If it's not possible, do:
> 
>     $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel | grep -
> A10 '^clock {'
> 
> and copy the output to the Redmine issue's description.

Here is the result.

skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-metadata ./kernel | grep -A10 '^clock {'
clock {
        name = "monotonic";
        uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
        description = "Monotonic Clock";
        freq = 1000000000; /* Frequency, in Hz */
        /* clock value offset from Epoch is: offset * (1/freq) */
        offset = -48;
};

typealias integer {
        size = 27; align = 1; signed = false;

> 
> BR,
> 
> Phil

Best regards,
Seongab

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [lttng-dev] [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23  9:08   ` [EXTERNAL] " Kim, Seongab via lttng-dev
@ 2020-07-23  9:08     ` Kim, Seongab via lttng-dev
  2020-07-23 14:00     ` Philippe Proulx via lttng-dev
  1 sibling, 0 replies; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-23  9:08 UTC (permalink / raw)
  To: Philippe Proulx; +Cc: lttng-dev

Hello Phil,

> -----Original Message-----
> From: Philippe Proulx <eeppeliteloop@gmail.com>
> Sent: Wednesday, July 22, 2020 5:06 PM
> To: Kim, Seongab <Seongab.Kim@harman.com>
> Cc: lttng-dev@lists.lttng.org
> Subject: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> Trace Compass can open
> 
> Thank you for the bug report.
> 
> Can I kindly ask you to create an official issue for this?
> 
> Go to
> <https://clicktime.symantec.com/38qgEsYhBTfCNnYpLPoAn647Vc?u=https%
> 3A%2F%2Fbugs.lttng.org%2Fprojects%2Fbabeltrace%2Fissues%2Fnew>.
> 
> I'd also like you to attach the offending CTF trace so that I can analyze it if it
> doesn't contain sensitive data and is somewhat small.

I created an account in Redmine, but I'm still waiting for the account activation mail. I tried to click the resend mail link two times without success.
Also the trace is big (1.4 GB) and it contains sensitive data.

> If it's not possible, do:
> 
>     $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel | grep -
> A10 '^clock {'
> 
> and copy the output to the Redmine issue's description.

Here is the result.

skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-metadata ./kernel | grep -A10 '^clock {'
clock {
        name = "monotonic";
        uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
        description = "Monotonic Clock";
        freq = 1000000000; /* Frequency, in Hz */
        /* clock value offset from Epoch is: offset * (1/freq) */
        offset = -48;
};

typealias integer {
        size = 27; align = 1; signed = false;

> 
> BR,
> 
> Phil

Best regards,
Seongab
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23  9:08   ` [EXTERNAL] " Kim, Seongab via lttng-dev
  2020-07-23  9:08     ` [lttng-dev] " Kim, Seongab via lttng-dev
@ 2020-07-23 14:00     ` Philippe Proulx via lttng-dev
  2020-07-23 14:00       ` [lttng-dev] " Philippe Proulx via lttng-dev
                         ` (2 more replies)
  1 sibling, 3 replies; 12+ messages in thread
From: Philippe Proulx via lttng-dev @ 2020-07-23 14:00 UTC (permalink / raw)
  To: Kim, Seongab; +Cc: lttng-dev

On Thu, Jul 23, 2020 at 5:09 AM Kim, Seongab <Seongab.Kim@harman.com> wrote:
>
> Hello Phil,
>
> > -----Original Message-----
> > From: Philippe Proulx <eeppeliteloop@gmail.com>
> > Sent: Wednesday, July 22, 2020 5:06 PM
> > To: Kim, Seongab <Seongab.Kim@harman.com>
> > Cc: lttng-dev@lists.lttng.org
> > Subject: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> > Trace Compass can open
> >
> > Thank you for the bug report.
> >
> > Can I kindly ask you to create an official issue for this?
> >
> > Go to
> > <https://clicktime.symantec.com/38qgEsYhBTfCNnYpLPoAn647Vc?u=https%
> > 3A%2F%2Fbugs.lttng.org%2Fprojects%2Fbabeltrace%2Fissues%2Fnew>.
> >
> > I'd also like you to attach the offending CTF trace so that I can analyze it if it
> > doesn't contain sensitive data and is somewhat small.
>
> I created an account in Redmine, but I'm still waiting for the account activation mail. I tried to click the resend mail link two times without success.
> Also the trace is big (1.4 GB) and it contains sensitive data.
>
> > If it's not possible, do:
> >
> >     $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel | grep -
> > A10 '^clock {'
> >
> > and copy the output to the Redmine issue's description.
>
> Here is the result.
>
> skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-metadata ./kernel | grep -A10 '^clock {'
> clock {
>         name = "monotonic";
>         uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
>         description = "Monotonic Clock";
>         freq = 1000000000; /* Frequency, in Hz */
>         /* clock value offset from Epoch is: offset * (1/freq) */
>         offset = -48;

Thanks, this is enough for us.

When your account gets activated, could you copy this into the new
issue's description?

This way you can receive notifications when the issue gets updated.

Thank you,

Phil

> };
>
> typealias integer {
>         size = 27; align = 1; signed = false;
>
> >
> > BR,
> >
> > Phil
>
> Best regards,
> Seongab

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [lttng-dev] [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23 14:00     ` Philippe Proulx via lttng-dev
@ 2020-07-23 14:00       ` Philippe Proulx via lttng-dev
  2020-07-23 14:03       ` Jonathan Rajotte-Julien via lttng-dev
  2020-07-23 14:10       ` Kim, Seongab via lttng-dev
  2 siblings, 0 replies; 12+ messages in thread
From: Philippe Proulx via lttng-dev @ 2020-07-23 14:00 UTC (permalink / raw)
  To: Kim, Seongab; +Cc: lttng-dev

On Thu, Jul 23, 2020 at 5:09 AM Kim, Seongab <Seongab.Kim@harman.com> wrote:
>
> Hello Phil,
>
> > -----Original Message-----
> > From: Philippe Proulx <eeppeliteloop@gmail.com>
> > Sent: Wednesday, July 22, 2020 5:06 PM
> > To: Kim, Seongab <Seongab.Kim@harman.com>
> > Cc: lttng-dev@lists.lttng.org
> > Subject: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> > Trace Compass can open
> >
> > Thank you for the bug report.
> >
> > Can I kindly ask you to create an official issue for this?
> >
> > Go to
> > <https://clicktime.symantec.com/38qgEsYhBTfCNnYpLPoAn647Vc?u=https%
> > 3A%2F%2Fbugs.lttng.org%2Fprojects%2Fbabeltrace%2Fissues%2Fnew>.
> >
> > I'd also like you to attach the offending CTF trace so that I can analyze it if it
> > doesn't contain sensitive data and is somewhat small.
>
> I created an account in Redmine, but I'm still waiting for the account activation mail. I tried to click the resend mail link two times without success.
> Also the trace is big (1.4 GB) and it contains sensitive data.
>
> > If it's not possible, do:
> >
> >     $ babeltrace2 -o ctf-metadata /mnt/ssd/work/skim/traces/kernel | grep -
> > A10 '^clock {'
> >
> > and copy the output to the Redmine issue's description.
>
> Here is the result.
>
> skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-metadata ./kernel | grep -A10 '^clock {'
> clock {
>         name = "monotonic";
>         uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
>         description = "Monotonic Clock";
>         freq = 1000000000; /* Frequency, in Hz */
>         /* clock value offset from Epoch is: offset * (1/freq) */
>         offset = -48;

Thanks, this is enough for us.

When your account gets activated, could you copy this into the new
issue's description?

This way you can receive notifications when the issue gets updated.

Thank you,

Phil

> };
>
> typealias integer {
>         size = 27; align = 1; signed = false;
>
> >
> > BR,
> >
> > Phil
>
> Best regards,
> Seongab
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23 14:00     ` Philippe Proulx via lttng-dev
  2020-07-23 14:00       ` [lttng-dev] " Philippe Proulx via lttng-dev
@ 2020-07-23 14:03       ` Jonathan Rajotte-Julien via lttng-dev
  2020-07-23 14:03         ` [lttng-dev] " Jonathan Rajotte-Julien via lttng-dev
  2020-07-23 14:10       ` Kim, Seongab via lttng-dev
  2 siblings, 1 reply; 12+ messages in thread
From: Jonathan Rajotte-Julien via lttng-dev @ 2020-07-23 14:03 UTC (permalink / raw)
  To: Seongab.Kim; +Cc: lttng-dev

> When your account gets activated, could you copy this into the new
> issue's description?

I manually activated it. You should be good to go.

> 
> This way you can receive notifications when the issue gets updated.
> 
> Thank you,
> 
> Phil
> 

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [lttng-dev] [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23 14:03       ` Jonathan Rajotte-Julien via lttng-dev
@ 2020-07-23 14:03         ` Jonathan Rajotte-Julien via lttng-dev
  0 siblings, 0 replies; 12+ messages in thread
From: Jonathan Rajotte-Julien via lttng-dev @ 2020-07-23 14:03 UTC (permalink / raw)
  To: Seongab.Kim; +Cc: lttng-dev

> When your account gets activated, could you copy this into the new
> issue's description?

I manually activated it. You should be good to go.

> 
> This way you can receive notifications when the issue gets updated.
> 
> Thank you,
> 
> Phil
> 
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23 14:00     ` Philippe Proulx via lttng-dev
  2020-07-23 14:00       ` [lttng-dev] " Philippe Proulx via lttng-dev
  2020-07-23 14:03       ` Jonathan Rajotte-Julien via lttng-dev
@ 2020-07-23 14:10       ` Kim, Seongab via lttng-dev
  2020-07-23 14:10         ` [lttng-dev] " Kim, Seongab via lttng-dev
  2 siblings, 1 reply; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-23 14:10 UTC (permalink / raw)
  To: Philippe Proulx; +Cc: lttng-dev

Hello Phil,

> -----Original Message-----
> From: Philippe Proulx <eeppeliteloop@gmail.com>
> Sent: Thursday, July 23, 2020 4:00 PM
> To: Kim, Seongab <Seongab.Kim@harman.com>
> Cc: lttng-dev@lists.lttng.org
> Subject: Re: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> Trace Compass can open
> > Here is the result.
> >
> > skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-
> metadata ./kernel | grep -A10 '^clock {'
> > clock {
> >         name = "monotonic";
> >         uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
> >         description = "Monotonic Clock";
> >         freq = 1000000000; /* Frequency, in Hz */
> >         /* clock value offset from Epoch is: offset * (1/freq) */
> >         offset = -48;
> 
> Thanks, this is enough for us.
> 
> When your account gets activated, could you copy this into the new issue's
> description?
> 
> This way you can receive notifications when the issue gets updated.
> 

FYI, I have created an issue, https://bugs.lttng.org/issues/1277.

Best regards,
Seongab

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: [lttng-dev] [EXTERNAL] Re: babeltrace cannot open the trace but Trace Compass can open
  2020-07-23 14:10       ` Kim, Seongab via lttng-dev
@ 2020-07-23 14:10         ` Kim, Seongab via lttng-dev
  0 siblings, 0 replies; 12+ messages in thread
From: Kim, Seongab via lttng-dev @ 2020-07-23 14:10 UTC (permalink / raw)
  To: Philippe Proulx; +Cc: lttng-dev

Hello Phil,

> -----Original Message-----
> From: Philippe Proulx <eeppeliteloop@gmail.com>
> Sent: Thursday, July 23, 2020 4:00 PM
> To: Kim, Seongab <Seongab.Kim@harman.com>
> Cc: lttng-dev@lists.lttng.org
> Subject: Re: [EXTERNAL] Re: [lttng-dev] babeltrace cannot open the trace but
> Trace Compass can open
> > Here is the result.
> >
> > skim@d54030999178:~/ssd_work/traces$ babeltrace2 -o ctf-
> metadata ./kernel | grep -A10 '^clock {'
> > clock {
> >         name = "monotonic";
> >         uuid = "e00bcef2-1ef1-4f02-a241-8561834511fd";
> >         description = "Monotonic Clock";
> >         freq = 1000000000; /* Frequency, in Hz */
> >         /* clock value offset from Epoch is: offset * (1/freq) */
> >         offset = -48;
> 
> Thanks, this is enough for us.
> 
> When your account gets activated, could you copy this into the new issue's
> description?
> 
> This way you can receive notifications when the issue gets updated.
> 

FYI, I have created an issue, https://bugs.lttng.org/issues/1277.

Best regards,
Seongab

_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, back to index

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-22  7:58 babeltrace cannot open the trace but Trace Compass can open Kim, Seongab via lttng-dev
2020-07-22  7:58 ` [lttng-dev] " Kim, Seongab via lttng-dev
2020-07-22 15:06 ` Philippe Proulx via lttng-dev
2020-07-22 15:06   ` [lttng-dev] " Philippe Proulx via lttng-dev
2020-07-23  9:08   ` [EXTERNAL] " Kim, Seongab via lttng-dev
2020-07-23  9:08     ` [lttng-dev] " Kim, Seongab via lttng-dev
2020-07-23 14:00     ` Philippe Proulx via lttng-dev
2020-07-23 14:00       ` [lttng-dev] " Philippe Proulx via lttng-dev
2020-07-23 14:03       ` Jonathan Rajotte-Julien via lttng-dev
2020-07-23 14:03         ` [lttng-dev] " Jonathan Rajotte-Julien via lttng-dev
2020-07-23 14:10       ` Kim, Seongab via lttng-dev
2020-07-23 14:10         ` [lttng-dev] " Kim, Seongab via lttng-dev

lttng-dev Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/lttng-dev/0 lttng-dev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 lttng-dev lttng-dev/ https://lore.kernel.org/lttng-dev \
		lttng-dev@lists.lttng.org
	public-inbox-index lttng-dev

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.lttng.lists.lttng-dev


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git