You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@mynewt.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2016/10/20 16:18:58 UTC

[jira] [Commented] (MYNEWT-447) Unused array `log_modules` in `sys/log.c`

    [ https://issues.apache.org/jira/browse/MYNEWT-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15592249#comment-15592249 ] 

ASF subversion and git services commented on MYNEWT-447:
--------------------------------------------------------

Commit 8334ab22ffe897a48c2b1061527a87b6f76baf23 in incubator-mynewt-core's branch refs/heads/develop from [~peterfs]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-mynewt-core.git;h=8334ab2 ]

Updates for stats and logs

MYNEWT-447 - Unused array log_modules in sys/log.c
MYNEWT-445 - Option to erase stats counter.

Remove vestigial log_modules array (thanks Simon Ratner)
Add STATS_CLEAR macro to zero specified stats counter.
Added stats_reset() to clear all values in specified statistics section.
Remove old debug statements in nffs unit test.


> Unused array `log_modules` in `sys/log.c`
> -----------------------------------------
>
>                 Key: MYNEWT-447
>                 URL: https://issues.apache.org/jira/browse/MYNEWT-447
>             Project: Mynewt
>          Issue Type: Bug
>          Components: OS
>    Affects Versions: v1_0_0_beta1
>            Reporter: Simon Ratner
>            Assignee: Peter Snyder
>            Priority: Minor
>
> Added in https://github.com/apache/incubator-mynewt-core/commit/1fd3fbfe068ed496b92523185a093ecee7c52164?diff=unified#diff-39f1b079e157cf4b8c3f3948cda2b8d2R49
> This is about 1k of memory that doesn't seem to be used anywhere. I removed it with no ill side-effects.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)