Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1222941
| From | Jiri Olsa <jolsa@redhat.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output |
| Date | 2015-09-11 18:20 +0200 |
| Message-ID | <q7zdo-6M4-19@gated-at.bofh.it> (permalink) |
| References | <q6082-ic-11@gated-at.bofh.it> <q6082-ic-13@gated-at.bofh.it> <q749z-2OC-1@gated-at.bofh.it> <q755E-41y-9@gated-at.bofh.it> <q7zdo-6M4-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Sat, Sep 12, 2015 at 01:09:31AM +0900, Namhyung Kim wrote: > Hi Jiri, > > On Thu, Sep 10, 2015 at 10:05:37AM +0200, Jiri Olsa wrote: > > On Thu, Sep 10, 2015 at 04:00:30PM +0900, Namhyung Kim wrote: > > > On Mon, Sep 07, 2015 at 10:38:07AM +0200, Jiri Olsa wrote: > > > > Enhancing parsing events tracepoint error output. Adding > > > > more verbose output when the tracepoint is not found or > > > > the tracing event path cannot be access. > > > > > > > > $ sudo perf record -e sched:sched_krava ls > > > > event syntax error: 'sched:sched_krava' > > > > \___ unknown tracepoint > > > > > > > > Error: File /sys/kernel/debug/tracing//tracing/events/sched/sched_krava not found. > > > > Hint: Perhaps this kernel misses some CONFIG_ setting to enable this feature?. > > > > > > > > Run 'perf list' for a list of valid events > > > > ... > > > > > > > > $ perf record -e sched:sched_krava ls > > > > event syntax error: 'sched:sched_krava' > > > > \___ can't access trace events > > > > > > > > Error: No permissions to read /sys/kernel/debug/tracing//tracing/events/sched/sched_krava > > > > Hint: Try 'sudo mount -o remount,mode=755 /sys/kernel/debug' > > > > > > What about tracefs? On my system, tracefs is mounted on > > > /sys/kernel/debug/tracing thus I cannot access trace events after > > > remounting debugfs with mode=755. > > > > right, patch below keeps the actual mount and > > display proper info.. could you please try? > > Sure, this patch displays the proper tracefs mountpoint. But it also thanks > has a problem - if tracefs is mounted under debugfs, the access mode > of debugfs also affects, so in this case I had to change it both for > debugfs and tracefs.. hum, I wonder the error message needs to be that smart.. jirka -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Namhyung Kim <namhyung@kernel.org> - 2015-09-10 09:10 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Jiri Olsa <jolsa@redhat.com> - 2015-09-10 10:10 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Namhyung Kim <namhyung@kernel.org> - 2015-09-11 18:20 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Jiri Olsa <jolsa@redhat.com> - 2015-09-11 18:20 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Raphaël Beamonte <raphael.beamonte@gmail.com> - 2015-09-11 20:00 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-09-11 21:00 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Raphaël Beamonte <raphael.beamonte@gmail.com> - 2015-09-11 22:00 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Arnaldo Carvalho de Melo <arnaldo.melo@gmail.com> - 2015-09-11 22:30 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Raphaël Beamonte <raphael.beamonte@gmail.com> - 2015-09-12 00:10 +0200
Re: [PATCH 5/5] perf tools: Enhance parsing events tracepoint error output Arnaldo Carvalho de Melo <acme@kernel.org> - 2015-09-14 23:00 +0200
csiph-web