NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
diddly has quit [Quit: leaving]
diddly has joined #openocd
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 260 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
noperator[m] has quit [Ping timeout: 268 seconds]
shoragan[m] has quit [Ping timeout: 268 seconds]
tsal has quit [Ping timeout: 268 seconds]
tsal has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
nerozero has joined #openocd
wus has joined #openocd
wus has quit [Quit: Ping timeout (120 seconds)]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Haohmaru has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 248 seconds]
noperator[m] has joined #openocd
erhankur has joined #openocd
erhankur_ has joined #openocd
erhankur has quit [Read error: Connection reset by peer]
erhankur_ has quit [Ping timeout: 252 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 268 seconds]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 252 seconds]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<braunr> hello
<braunr> i'm not sure where to ask this so trying here as people might know
<braunr> does anyone with experience with stm32f7 know how to best deal with ldr immediate instructions with regard to performance
<braunr> application note 4667 recmomends to separate code and data (so different busses can be used concurrently), but ldr immediate necessarily uses the same bus for instructions and the address being loaded
<braunr> or do you guys know a better place to ask this somewhere on irc ?
<PaulFertser> braunr: probably ##stm32
<braunr> oh there is such a channel
<braunr> thanks :)
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<Haohmaru> i had the impression that the stm32 folks went <elsewhere> after the freenope incident
<karlp> there was already a telegram group, some people decided to just leave irc behind, but there's still lots of irc people
<Haohmaru> ahumz
<Haohmaru> real men won't quit IRC ;P~
erhankur has joined #openocd
defiant has quit [Quit: defiant]
<braunr> especially not for telegram :P
<borneoa_> PaulFertser: hi, would it be possible for you to make the rc1 release around the end of next week?
<borneoa_> PaulFertser: I will have a set of merge by Monday or Tuesday, then an email to ask for latest pending stuff, and at the end merge checkpatch series.
erhankur has quit [Ping timeout: 268 seconds]
<PaulFertser> borneoa_: sure
erhankur has joined #openocd
<borneoa_> PaulFertser: thank you!
erhankur has quit [Ping timeout: 252 seconds]
erhankur has joined #openocd
Hawk777 has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
losfair[m] has joined #openocd
Haohmaru has quit []
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
nerozero has quit [Ping timeout: 252 seconds]
merethan has quit [Ping timeout: 268 seconds]
zjason``` has joined #openocd
zjason`` has quit [Ping timeout: 268 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
FrancisWalton has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<FrancisWalton> Does anyone know why the maximum profile samples is hardcoded? For reference, line 4326 of https://openocd.org/doc/doxygen/html/target_8c_source.html
<Hawk777> I’ve locally patched OpenOCD to raise that number significantly in my own personal builds; I would personally lean towards suggesting that there be no limit, but I guess someone else would then argue that there should be a limit to prevent OpenOCD from exhausting a lot of RAM and crashing, and that just leads to bikeshedding about how high the limit should be.
<Hawk777> I can see points in favour of both sides.
<FrancisWalton> It looks like it has been set at 10000 for ~9 years, maybe an optional parameter would be good? If unspecified use the 10000 as it has been.
<Hawk777> The command already has a parameter to set the sample count, IIRC; this 10000 is just a cap on that parameter.
<FrancisWalton> My understanding of the code is that the function signature for the profiling function pointer in target_type takes a parameter for max_num_samples, but on line 4346 of target.c it is always called with MAX_PROFILE_SAMPLE_NUM. Also, I am not sure it is a safe assumption in the malloc that all program counters are at most 32 bit. Cortex-A can be 64
<FrancisWalton> bit, but it looks like that target doesn't implement profiling anyway.
<Hawk777> Oh, my mistake, it’s *seconds*, not *samples*, that’s taken on the command line.
<FrancisWalton> I'm not very familiar with sourceforge/mailing list style development, but I'll offer my changes once I get it working, if anyone wants them.
<Hawk777> OpenOCD has a git-backed code review system at <https://review.openocd.org/>.
<Hawk777> The HACKING file (IIRC) explains how to use it.
<FrancisWalton> Great, thanks for the help! Have a good weekend!
FrancisWalton has quit [Quit: Client closed]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
zmatt has joined #openocd