lkml.org 
[lkml]   [2021]   [Dec]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [RFCv1 4/4] perf: arm_spe: Dynamically switch PID tracing to contextidr
    On Fri, Dec 10, 2021 at 03:59:18PM +0800, Leo Yan wrote:

    [...]

    > > You could also check there if the PID is in the root
    > > namespace and avoid setting CONTEXTIDR (or write 0).
    >
    > This could introduce mess. Writing 0 can lead the decoder to take it
    > as idle thread; if skip setting CONTEXTIDR, the tracer might use a
    > stale stale PID number (the previous one ID number).
    >
    > Alternatively, if you accept to always set PID to CONTEXTIDR in
    > contextidr_thread_switch(), it would be fine for me and we can only
    > need to control PID packets in SPE and CoreSight drivers.
    >
    > Please let me know your opinion, thanks!

    Gentle ping, Catalin. If anything is blur and you want me to clarify,
    please let me know. Sorry if you are in holiday and if so we can
    delay after holiday.

    Thanks,
    Leo

    \
     
     \ /
      Last update: 2021-12-17 09:00    [W:5.873 / U:0.064 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site