Changeset 14a1c097 in rtems-tools


Ignore:
Timestamp:
Jun 1, 2018, 10:32:59 PM (12 months ago)
Author:
Vidushi Vashishth <reachvidu@…>
Branches:
master
Children:
c2d0d0e
Parents:
e04699b
git-author:
Vidushi Vashishth <reachvidu@…> (06/01/18 22:32:59)
git-committer:
Sebastian Huber <sebastian.huber@…> (06/02/18 11:53:31)
Message:

Updating trace buffer configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • linkers/rtld-trace-buffer.ini

    re04699b r14a1c097  
    2727header = "#include <rtems.h>"
    2828header = "#include <rtems/rtems/tasksimpl.h>"
     29header = "#include <rtems/score/threadimpl.h>"
    2930
    3031[trace-buffer-tracers]
     
    8586{
    8687  /* @fixme Add the current CPU for SMP. */
    87   struct Thread_Control* tc = _Thread_Get_executing();
    88   return (tc->current_priority << 8) | tc->real_priority;
     88  Thread_Control* tc = _Thread_Get_executing();
     89  return (_Thread_Get_priority(tc) << 8) | tc->Real_priority.priority;
    8990}
    9091
Note: See TracChangeset for help on using the changeset viewer.