Skip to content

[RFC] MYNEWT-430: Segger's SystemView working with Mynewt#344

Merged
michal-narajowski merged 11 commits intoapache:masterfrom
michal-narajowski:systemview
Jun 29, 2017
Merged

[RFC] MYNEWT-430: Segger's SystemView working with Mynewt#344
michal-narajowski merged 11 commits intoapache:masterfrom
michal-narajowski:systemview

Conversation

@michal-narajowski
Copy link

Hi,
this PR adds support for SystemView. It introduces tracing API as an abstraction layer. To test this:

  1. Download Segger's SystemView app from their website
  2. Copy the description file from sys/sysview/SYSVIEW_Mynewt.txt to the /description/
    directory of SystemView, e.g. "/opt/SEGGER/SystemView/Description/"
  3. Build target with OS_SYSVIEW: 1
  4. Launch app and start recording events

Comments are welcome

BR,
Michał

#include <string.h>
#include <errno.h>
#include <assert.h>
#include <syscfg/syscfg.h>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you'll need to keep this include.

Michał Narajowski added 6 commits June 28, 2017 10:41
This file provides descriptions for custom events that the
SystemView app can trace. It should be put inside the /description/
directory of SystemView, e.g. "/opt/SEGGER/SystemView/Description/".
@michal-narajowski
Copy link
Author

Hi, Marko.
Thanks for the comment. Removed unnecessary deletes.
BR,
Michał

@michal-narajowski michal-narajowski merged commit 3eb5cdb into apache:master Jun 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants