On 15/03/18 19:21, Alexey Brodkin wrote: > Hi Vineet, > > On Thu, 2018-03-15 at 09:38 -0700, Vineet Gupta wrote: >> On 03/15/2018 02:27 AM, Adrian Hunter wrote: >>> Please try: >>> >>> perf record -a -e mmc:* -- bonnie++ -u root -r 256 -s 512 -x 1 -d /mnt >>> >>> and share the resulting perf.data file when you are able >>> to reproduce the hung task message. >>> >>> You may want to add this patch first: >>> >>> https://marc.info/?l=linux-mmc&m=152110580324200 >> >> While this SoC has perf counters, Unfortunately the overflow interrupts are not >> wired up. We can do perf stats but not sampling. > > I guess here Adrian was asking for pure software MMC-related events which are > orthogonal to CPU's perf interrupts. > > Adrian? Yes, these are mmc tracepoints which are software events. The file is full of them, so it certainly worked.