lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Mon, 29 Aug 2016 09:57:27 -0600
From:   Mathieu Poirier <mathieu.poirier@...aro.org>
To:     Jiri Olsa <jolsa@...hat.com>
Cc:     Peter Zijlstra <peterz@...radead.org>,
        Ingo Molnar <mingo@...hat.com>,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Alexander Shishkin <alexander.shishkin@...ux.intel.com>,
        jolsa@...nel.org,
        "linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
        "linux-arm-kernel@...ts.infradead.org" 
        <linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH V6 5/5] perf tools: adding sink configuration for cs_etm PMU

On 28 August 2016 at 08:16, Jiri Olsa <jolsa@...hat.com> wrote:
> On Thu, Aug 25, 2016 at 02:20:45PM -0600, Mathieu Poirier wrote:
>
> SNIP
>
>>       return NULL;
>>  }
>> +
>> +static FILE *cs_device__open_file(const char *name)
>> +{
>> +     struct stat st;
>> +     char path[PATH_MAX];
>> +     const char *sysfs;
>> +
>> +     sysfs = sysfs__mountpoint();
>> +     if (!sysfs)
>> +             return NULL;
>> +
>> +     snprintf(path, PATH_MAX,
>> +              "%s" CS_BUS_DEVICE_PATH "%s", sysfs, name);
>> +
>> +     printf("path: %s\n", path);
>
> should this be pr_info ?

That's a debug message that slipped through - it shouldn't be there at all.

>
> jirka

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ