Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tracecompass-dev] Beginner's (to a point) help needed.
  • From: Bernd Hufmann <bernd.hufmann@xxxxxxxxxxxx>
  • Date: Mon, 30 May 2022 13:19:05 +0000
  • Accept-language: en-CA, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=GenPXsUOwdr9OwvBpjwwZ0NAJlu7/2cD9VaRt7LyEJw=; b=Orlvp0mFONnFnrVwev0+Q+0ZC15fA2+yamkCX7DogKumFMFhO5ky7i15LPoARtbOI+zTeqHRm1Skx7HjfrD1Xl6IDx++/z51qjNdSY92J3YYd2nG6bNqNRAW6pU+lTRt7WOTxy1XR5TLz1i22FzLTiOIWvIv4xA3nznv7iTedUTUwIx4yYZqEVFWYODNoIkPf4SadfSNfF8S3DpKmnf+pLNy13MMdC8BUZzTcJnw4u97fY/9vVfinNRaQbiN2HJl+YGddoxsFG3OiLK7QwxoKyLmUPZVEEqBDZj6VRZY7AlrtH3PcVUxxTJoQj5uE8KVyyibTnykQXiR44SNza+sdw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Y3oFg2zNzOSrJdPPlLw1wxhvbz+P7aP51VIHkQEkd3+fJdlgv1ZlzeJ6hiN8oJdCWmJctuPMQt4h9mm4FL2oqyiJ5qtbWpDvbvFaxJtLKMpm1FE8rCGQeLd9+iKnIlDx6P2+G4mL4Trsv5jBl3O/Dh7u6U88Khwdv89bDNC6lwT68zlwfxKVdK3nZjtbLvaWL7fUI2bmdttT14jJH8Yry6PpwzVr2do0Lc3/JQfkmY8crVWHo4cykucjVMaPKpdZbhjJG8iYINo81/WVUR93UHtLs9430IUVViaHszYMuMwOU6T6wMBJAPhOMXErc/7k/2zO9bx2G+N2fPUpML1jWQ==
  • Delivered-to: tracecompass-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/tracecompass-dev/>
  • List-help: <mailto:tracecompass-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/tracecompass-dev>, <mailto:tracecompass-dev-request@eclipse.org?subject=unsubscribe>
  • Suggested_attachment_session_id: 5a7c93ac-68de-8ed1-3dab-d52263bb7b28
  • Thread-index: AQHYbhnwf0u1PLj3c0K+lhVlmYg81K03cWhI
  • Thread-topic: [tracecompass-dev] Beginner's (to a point) help needed.

Hi Harvey,

thanks for the interest in Trace Compass.

I was browsing the code to understand when this error message is created. I noticed that there might be some errors logged into the Error Log when getting an CTFIterator that will hopefully give us some more information about the root cause of the issue. Could you please provide the error log? It can be found in the Trace Compass workspace under ".metadata/.log". The Trace Compass workspace is, when running the Trace Compass stand-alone RCP by default, "$user.home/.tracecompass", which results in:

$user.home/.tracecompass/.metadata/.log

Best Regards
Bernd


From: tracecompass-dev <tracecompass-dev-bounces@xxxxxxxxxxx> on behalf of Harvey white <madyn@xxxxxxxxxxxxxxxx>
Sent: May 22, 2022 4:23 PM
To: TraceCompass Development <tracecompass-dev@xxxxxxxxxxx>
Subject: [tracecompass-dev] Beginner's (to a point) help needed.
 
ARM processor running FreeRTOS.

I have the trace hooks worked out.  And that calls a specific routine to
generate a trace packet.

I did have it working for task_switched_in and task_switched_out.

Something broke.

The init routine writes the main header and packet context, then writes
one event packet per event.  The ARM processor is single core.

I get the usual error (I suppose): error initializing trace. "Failed to
get CTF Iterator for path (path)"  The path exists, the file is there.

I've searched for a set of error messages with causes, haven't found them.

I've gotten the same error regardless of a number of changes.  To me,
the error message says "file does not exist", which may really mean
"file can't be parsed".  The metadata file seems fine, doesn't generate
any error messages.

So something is wrong, but I'm not sure what, and at this point, don't
know how to find out what.  The binary file output seems correct to me. 
(maybe obviously not).

Processor dumps binary trace data to a 1 mbyte buffer (QSPI RAM), then
that's sent to a file by using the eclipse memory manager. File looks
good.  metadata looks good.

Assistance, please.


Harvey


_______________________________________________
tracecompass-dev mailing list
tracecompass-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/tracecompass-dev

Back to the top