lkml.org 
[lkml]   [2013]   [Jul]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3 v6] cpufreq: Add debugfs directory for cpufreq
On 07/24/2013 06:09 PM, Viresh Kumar wrote:
> On 24 July 2013 14:35, Chanwoo Choi <cw00.choi@samsung.com> wrote:
>> And, I add additional step on below:
>>
>>> - Remove symlink for new policy->cpu, i..e cpu1 in your example
>>> - rename debugfs entry to give it to cpu1 instead of cpu0.
>> - Store renamed cpu0 pointer to cpu1 pointer
>> - Create new link for CPU[2-3] to CPU1's debugfs directory
>> because debugfs use string path to create symbolic link.
>> It isn't automatically connected with new CPU1 debugfs directory.
>
> Honestly speaking I am not the best at debugfs core, but I still think
> the link is connected to a struct debugfs node and not to any path..
> This node is connected to a path though. And so even after rename
> things should stay stable without your new step...
>
> Just try and see if I am right or wrong.. Otherwise what you already
> did is correct as you need to remove links for 2-3 as well..
>

OK, I'll try it according to your suggestion. Thanks.

Best Regards,
Chanwoo Choi


\
 
 \ /
  Last update: 2013-07-24 12:01    [W:0.061 / U:6.628 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site