On 10/3/13 11:08 AM, Arnaldo Carvalho de Melo wrote:
And is_valid_tracepoint() is a too big hammer, it traverses the whole
directory looking for a match instead of plain build the path and do an
access, its one of those things I need to ditch at some point. So far I
just try to do a perf_evlist_
Em Thu, Oct 03, 2013 at 07:35:18AM -0600, David Ahern escreveu:
> On 10/3/13 6:38 AM, Ingo Molnar wrote:
> >
> >* Ramkumar Ramachandra wrote:
> >
> >>+ /* Perform a quick sanity check */
> >>+ if (!is_valid_tracepoint("power:cpu_frequency")) {
> >>+ fprintf(stderr, "Error:\tNo permis
On 10/3/13 6:38 AM, Ingo Molnar wrote:
* Ramkumar Ramachandra wrote:
+ /* Perform a quick sanity check */
+ if (!is_valid_tracepoint("power:cpu_frequency")) {
+ fprintf(stderr, "Error:\tNo permissions to read
$debugfs/tracing/events/power/cpu_frequency\n");
+
* Ramkumar Ramachandra wrote:
> Ingo Molnar wrote:
> >> + /* Perform a quick sanity check */
> >> + if (!is_valid_tracepoint("power:cpu_frequency")) {
> >> + fprintf(stderr, "Error:\tNo permissions to read
> >> $debugfs/tracing/events/power/cpu_frequency\n");
> >> +
Ingo Molnar wrote:
>> + /* Perform a quick sanity check */
>> + if (!is_valid_tracepoint("power:cpu_frequency")) {
>> + fprintf(stderr, "Error:\tNo permissions to read
>> $debugfs/tracing/events/power/cpu_frequency\n");
>> + fprintf(stderr, "Hint:\tChange the permis
* Ramkumar Ramachandra wrote:
> + /* Perform a quick sanity check */
> + if (!is_valid_tracepoint("power:cpu_frequency")) {
> + fprintf(stderr, "Error:\tNo permissions to read
> $debugfs/tracing/events/power/cpu_frequency\n");
> + fprintf(stderr, "Hint:\tChange t
6 matches
Mail list logo