Skip to contentSkip to conversation

New: Cpufreq stats are not shown in sysfs

Bug 57941 [email protected] 2 participants 5 messages May 10, 2013 – May 13, 2013

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=57941

Summary: Cpufreq stats are not shown in sysfs
Product: Power Management
Version: 2.5
Kernel Version: 3.9
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

Created an attachment (id=101061)
--> (https://bugzilla.kernel.org/attachment.cgi?id=101061)
config.gz

I am missing /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state after switching from 3.8 to 3.9.

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y CONFIG_CPU_FREQ_GOV_COMMON=y CONFIG_CPU_FREQ_STAT=y CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set # CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE is not set CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
# CONFIG_CPU_FREQ_GOV_POWERSAVE is not set
# CONFIG_CPU_FREQ_GOV_USERSPACE is not set CONFIG_CPU_FREQ_GOV_ONDEMAND=y
# CONFIG_CPU_FREQ_GOV_CONSERVATIVE is not set CONFIG_X86_PCC_CPUFREQ=y CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set
#

# x86 CPU frequency scaling drivers
#
CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_PCC_CPUFREQ=y
CONFIG_X86_ACPI_CPUFREQ=y
# CONFIG_X86_ACPI_CPUFREQ_CPB is not set
# CONFIG_X86_POWERNOW_K8 is not set
# CONFIG_X86_SPEEDSTEP_CENTRINO is not set
# CONFIG_X86_P4_CLOCKMOD is not set
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#1 lore raw
Quoted 18 lines · On Fri, May 10, 2013 at 5:37 PM, <[email protected]> wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=57941

Summary: Cpufreq stats are not shown in sysfs
Product: Power Management
Version: 2.5
Kernel Version: 3.9
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

Quoted 6 lines

Created an attachment (id=101061)
--> (https://bugzilla.kernel.org/attachment.cgi?id=101061)
config.gz

I am missing /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state after switching from 3.8 to 3.9.

Only this one is missing or complete stats directory?

#2 lore raw

[Bug 57941] Cpufreq stats are not shown in sysfs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57941

--- Comment #1 from Viresh Kumar <[email protected]> 2013-05-12 15:18:58 ---

Quoted 18 lines · On Fri, May 10, 2013 at 5:37 PM, <[email protected]> wrote:

https://bugzilla.kernel.org/show_bug.cgi?id=57941

Summary: Cpufreq stats are not shown in sysfs
Product: Power Management
Version: 2.5
Kernel Version: 3.9
Platform: All
OS/Version: Linux
Tree: Mainline
Status: NEW
Severity: normal
Priority: P1
Component: cpufreq
AssignedTo: [email protected]
ReportedBy: [email protected]
Regression: Yes

Quoted 1 line

Created an attachment (id=101061)

--> (https://bugzilla.kernel.org/attachment.cgi?id=101061)

Quoted 5 lines

--> (https://bugzilla.kernel.org/attachment.cgi?id=101061)
config.gz

I am missing /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state after switching from 3.8 to 3.9.

Only this one is missing or complete stats directory?

Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#3 lore raw

[Bug 57941] Cpufreq stats are not shown in sysfs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57941

--- Comment #2 from Justin <[email protected]> 2013-05-12 16:16:51 --- (In reply to comment #1)

Quoted 1 line

Only this one is missing or complete stats directory?

You are right. The complete directory is missing.

# ll /sys/devices/system/cpu/cpu0/cpufreq/
total 0
-r--r--r-- 1 root root 4.0K May 12 18:16 affected_cpus
-r-------- 1 root root 4.0K May 12 18:16 cpuinfo_cur_freq
-r--r--r-- 1 root root 4.0K May 12 11:26 cpuinfo_max_freq
-r--r--r-- 1 root root 4.0K May 12 11:26 cpuinfo_min_freq
-r--r--r-- 1 root root 4.0K May 12 18:16 cpuinfo_transition_latency
-r--r--r-- 1 root root 4.0K May 12 18:16 related_cpus
-r--r--r-- 1 root root 4.0K May 12 18:16 scaling_available_governors
-r--r--r-- 1 root root 4.0K May 12 18:16 scaling_driver
-rw-r--r-- 1 root root 4.0K May 12 18:16 scaling_governor
-rw-r--r-- 1 root root 4.0K May 12 11:26 scaling_max_freq
-rw-r--r-- 1 root root 4.0K May 12 18:16 scaling_min_freq
-rw-r--r-- 1 root root 4.0K May 12 18:16 scaling_setspeed
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
#4 lore raw

[Bug 57941] Cpufreq stats are not shown in sysfs

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=57941

Zhang Rui <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

                 CC|                            |[email protected]
         AssignedTo|[email protected]     |[email protected]
Signature · 3 lines
Configure bugmail: https://bugzilla.kernel.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.