# FreeRTOS + trace missing xJustPeeking 10.0.1

**URL:** <https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245>\
**Category:** Kernel\
**Created:** [June 4, 2018, 8:37pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245 "2018-06-04T20:37:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 4, 2018, 8:37pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/1 "2018-06-04T20:37:16Z")

</div>

**[friesen](https://sourceforge.net/u/friesen/)** wrote on [Monday, June 04, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#a07f):

Why are there references to a non existing xJustPeeking in trcKernelPort.h?

This question didn’t really get an answer either. [https://www.freertos.org/FreeRTOS\_Support\_Forum\_Archive/April\_2018/freertos\_xJustPeeking\_Not\_Found\_In\_10.0.1\_a3cdfe72j.html](https://www.freertos.org/FreeRTOS_Support_Forum_Archive/April_2018/freertos_xJustPeeking_Not_Found_In_10.0.1_a3cdfe72j.html)

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 4, 2018, 8:49pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/2 "2018-06-04T20:49:13Z")

</div>

**[friesen](https://sourceforge.net/u/friesen/)** wrote on [Monday, June 04, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#5a2c):

It would appear to me that something didn’t get updated in 10.x.x. This exists in queue.c xQueueGenericReceive in 9.x.x

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [June 4, 2018, 11:23pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/3 "2018-06-04T23:23:38Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Monday, June 04, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#5a2c/ef0e):

Something looks like it is tangled somewhere.

trcKernelPort.h in \FreeRTOS-Plus\Source\FreeRTOS-Plus-Trace\Include has  
two definitions of traceQUEUE\_RECEIVE\_FAILED - one that is used when the  
snapshot recorder is used and one that is used when the streaming  
recorder is used. The version when the streaming recorder is used still  
uses xJustPeeking, which seems wrong. The examples in the download use  
the snapshot recorder.

---

<div class="post-metadata">

**Author:** ![johankraft](https://avatars.discourse-cdn.com/v4/letter/j/e68b1a/32.png) [@johankraft](https://forums.freertos.org/u/johankraft)\
**Post date:** [June 5, 2018, 8:04am UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/4 "2018-06-05T08:04:23Z")

</div>

**[johankraft](https://sourceforge.net/u/johankraft/)** wrote on [Tuesday, June 05, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#6fa6):

This is because the FreeRTOS-Plus directory contains an old version of the trace recorder library, v3.1.2, while the FreeRTOS v10 support was added in v3.3.0.

The latest version is found at [http://percepio.com/docs/FreeRTOS/TraceRecorder.zip](http://percepio.com/docs/FreeRTOS/TraceRecorder.zip)

Note that the recorder library is developed independently of FreeRTOS and is designed to be backwards compatible also with older versions of FreeRTOS. Therefore, the latest trace recorder library still contains one (1) reference to xJustPeeking, but this is only included if the recorder is explicitly configured for FreeRTOS v9.0.0 or older. By default it is configured for FreeRTOS v10.

---

<div class="post-metadata">

**Author:** ![system](https://d2v6vdsk2p900z.cloudfront.net/original/1X/7fc8fdb729c645aab5b20282bbe34e57cb407be6.jpeg) [@system](https://forums.freertos.org/u/system)\
**Post date:** [June 6, 2018, 12:08pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/5 "2018-06-06T12:08:15Z")

</div>

**[friesen](https://sourceforge.net/u/friesen/)** wrote on [Wednesday, June 06, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#4fed):

Any particular reasons that Percepio’s post shows awaiting moderation?

---

<div class="post-metadata">

**Author:** ![rtel](https://d3iykfbgfh8zhg.cloudfront.net/user_avatar/forums.freertos.org/rtel/32/31_2.png) [@rtel](https://forums.freertos.org/u/rtel)\
**Post date:** [June 6, 2018, 2:07pm UTC](https://forums.freertos.org/t/freertos-trace-missing-xjustpeeking-10-0-1/7245/6 "2018-06-06T14:07:52Z")

</div>

**[rtel](https://sourceforge.net/u/rtel/)** wrote on [Wednesday, June 06, 2018](https://sourceforge.net/p/freertos/discussion/382005/thread/1f4aa4a3/#4fed/a050):

The forum is configured such that NO posts should go into moderation,  
yet occasionally some posts inexplicably still do. I can log into the  
admin console and free it.
