Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1586539
| From | Alexis Berlemont <alexis.berlemont@gmail.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string |
| Date | 2017-02-23 00:00 +0100 |
| Message-ID | <tdO38-jP-15@gated-at.bofh.it> (permalink) |
| References | <sLB5D-2Ah-1@gated-at.bofh.it> <sO5sB-7Vh-21@gated-at.bofh.it> <sOckp-3DY-21@gated-at.bofh.it> <t2KYW-5NX-13@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Ravi Bangoria wrote: > > > On Wednesday 14 December 2016 01:06 PM, Ingo Molnar wrote: > > * Alexis Berlemont <alexis.berlemont@gmail.com> wrote: > > > >> Hi Masami, > >> > >> Many thanks for your mail. > >> > >> Here is another patch set which tries to fix the points you mentioned: > >> > >> * Skip the arguments containing a constant ($123); > >> * Review the code in charge of the register renaming (search for '%' > >> and parse it); > >> * Minor changes (print the argument in case of error, skipping, check > >> the sdt arg type index); > >> > >> Many thanks, > >> > >> Alexis. > >> > >> Alexis Berlemont (2): > >> perf sdt: add scanning of sdt probles arguments > >> perf probe: add sdt probes arguments into the uprobe cmd string > > I'd like to hijack this thread to report an SDT oddity - one of my boxen reports > > lots of SDT tracepoints in 'perf list': > > > > mem:<addr>[/len][:access] [Hardware breakpoint] > > > > sdt_libc:lll_lock_wait_private [SDT event] > > sdt_libc:longjmp [SDT event] > > sdt_libc:longjmp_target [SDT event] > > sdt_libc:memory_arena_new [SDT event] > > sdt_libc:memory_arena_retry [SDT event] > > sdt_libc:memory_arena_reuse [SDT event] > > sdt_libc:memory_arena_reuse_free_list [SDT event] > > sdt_libc:memory_arena_reuse_wait [SDT event] > > sdt_libc:memory_calloc_retry [SDT event] > > sdt_libc:memory_heap_free [SDT event] > > ... > > > > But none of them work: > > > > Error: No permissions to read /sys/kernel/debug/tracing/events/sdt_libc/longjmp > > Hint: Try 'sudo mount -o remount,mode=755 /sys/kernel/debug/tracing' > > > > ... > > > > Error: File /sys/kernel/debug/tracing/events/sdt_libc/longjmp not found. > > Hint: Perhaps this kernel misses some CONFIG_ setting to enable this feature?. > > > > What kind of patches are required for SDT probes to work? > > Hi Ingo, > > Works for me on my x86 Fedora 25 box. May be some permission issue? > > @Alexis, Planning to progress on it :) ? I would like to prepare patch for > powerpc. Hi, Just a quick mail to apologize. After a few weeks without answer, I forgot to regularly poll this thread during my free time. I've just noticed the patches you sent meanwhile... Once more sorry, Alexis. > > Thanks, > Ravi > > > Thanks, > > > > Ingo > > >
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
Re: [PATCH v5 0/2] perf probe: add sdt probes arguments into the uprobe cmd string Alexis Berlemont <alexis.berlemont@gmail.com> - 2017-02-23 00:00 +0100
csiph-web