[Cryptech-Commits] [sw/stm32] branch profiling updated (5ff8c95 -> 7222785)

git at cryptech.is git at cryptech.is
Thu Sep 7 22:42:00 UTC 2017


This is an automated email from the git hooks/post-receive script.

paul at psgd.org pushed a change to branch profiling
in repository sw/stm32.

    from 5ff8c95  Add task_yield_maybe
     add a57dda1  Track API changes in libhal ks9 branch.
     add a93c94f  Stub out hal_allocate_static_memory() to avoid linker error.
     add 0d33ff8  Fix optimization settings in HSM's build of libtfm.
     add 9ffead1  Add a generic SysTick hook, to call a function on every 1ms tick, because it's easier than setting up a dedicated timer.
     add e4302fb  Adapt uart_rx_thread to the post-thread tasking model, because we're still subject to the same forces that made it a good idea in the first place.
     add 8b4fd99  Report UART receive queue length, so we can tune it.
     add d283110  Withdraw SysTick_hook (commit 9ffead1), because it turns out there was already a user-callback mechanism with HAL_SYSTICK_IRQHandler() and HAL_SYSTICK_Callback().
     add ceee420  Cleanup
     new 12585a4  Add some task metrics.
     new 9ecd51a  Copy profiling code from MCUOnEclipse.
     new 358d038  Port profiling code, using a new SysTick hook and new CLI commands.
     new b2858c0  Correct offset to get the PC.
     new 03d7fa2  Sigh, right offset for the wrong register. Get the PC (the address we interrupted) rather than LR (the return address from the function we interrupted).
     new 2913492  Duh, actually build task_metrics
     new 2e1f880  Add task_yield_maybe
     new 7222785  Rebase branch 'profiling' from master

The 8 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Makefile                                           | 21 +++++----
 libraries/libprof/README.txt                       |  2 +-
 libraries/libprof/profil.c                         | 17 ++++---
 libraries/libtfm/Makefile                          | 34 ++++++++++++--
 .../TARGET_CRYPTECH_ALPHA/stm32f4xx_it.c           |  2 +-
 projects/bootloader/bootloader.c                   |  1 +
 projects/cli-test/mgmt-keystore.c                  |  4 +-
 projects/hsm/hsm.c                                 | 52 +++++++++++++++-------
 projects/hsm/mgmt-keystore.c                       |  4 +-
 projects/hsm/mgmt-task.c                           | 13 ++++--
 stm-init.c                                         |  8 ----
 stm-init.h                                         |  4 +-
 stm-uart.c                                         |  2 +-
 13 files changed, 109 insertions(+), 55 deletions(-)



More information about the Commits mailing list