Skip to content

Commit 6ac1ef4

Browse files
author
Ingo Molnar
committed
Merge branch 'perf/core' into perf/uprobes
Merge in latest upstream (and the latest perf development tree), to prepare for tooling changes, and also to pick up v3.4 MM changes that the uprobes code needs to take care of. Signed-off-by: Ingo Molnar <[email protected]>
2 parents 682968e + a385ec4 commit 6ac1ef4

File tree

10,627 files changed

+523659
-310115
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

10,627 files changed

+523659
-310115
lines changed

Documentation/00-INDEX

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ Please try and keep the descriptions small enough to fit on one line.
77

88
Following translations are available on the WWW:
99

10-
- Japanese, maintained by the JF Project (JF@linux.or.jp), at
11-
http://www.linux.or.jp/JF/
10+
- Japanese, maintained by the JF Project (jf@listserv.linux.or.jp), at
11+
http://linuxjf.sourceforge.jp/
1212

1313
00-INDEX
1414
- this file.
@@ -104,6 +104,8 @@ cpuidle/
104104
- info on CPU_IDLE, CPU idle state management subsystem.
105105
cputopology.txt
106106
- documentation on how CPU topology info is exported via sysfs.
107+
crc32.txt
108+
- brief tutorial on CRC computation
107109
cris/
108110
- directory with info about Linux on CRIS architecture.
109111
crypto/

Documentation/ABI/obsolete/sysfs-class-rfkill

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Date: 09-Jul-2007
77
KernelVersion v2.6.22
88
99
Description: Current state of the transmitter.
10-
This file is deprecated and sheduled to be removed in 2014,
10+
This file is deprecated and scheduled to be removed in 2014,
1111
because its not possible to express the 'soft and hard block'
1212
state of the rfkill driver.
1313
Values: A numeric value.

Documentation/ABI/removed/devfs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What: devfs
22
Date: July 2005 (scheduled), finally removed in kernel v2.6.18
3-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
3+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44
Description:
55
devfs has been unmaintained for a number of years, has unfixable
66
races, contains a naming policy within the kernel that is

Documentation/ABI/stable/sysfs-driver-usb-usbtmc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/bus/usb/drivers/usbtmc/devices/*/interface_capabilities
22
What: /sys/bus/usb/drivers/usbtmc/devices/*/device_capabilities
33
Date: August 2008
4-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
4+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
55
Description:
66
These files show the various USB TMC capabilities as described
77
by the device itself. The full description of the bitfields
@@ -15,7 +15,7 @@ Description:
1515
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_interface_capabilities
1616
What: /sys/bus/usb/drivers/usbtmc/devices/*/usb488_device_capabilities
1717
Date: August 2008
18-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
18+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1919
Description:
2020
These files show the various USB TMC capabilities as described
2121
by the device itself. The full description of the bitfields
@@ -29,7 +29,7 @@ Description:
2929

3030
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermChar
3131
Date: August 2008
32-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
32+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
3333
Description:
3434
This file is the TermChar value to be sent to the USB TMC
3535
device as described by the document, "Universal Serial Bus Test
@@ -42,7 +42,7 @@ Description:
4242

4343
What: /sys/bus/usb/drivers/usbtmc/devices/*/TermCharEnabled
4444
Date: August 2008
45-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
45+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
4646
Description:
4747
This file determines if the TermChar is to be sent to the
4848
device on every transaction or not. For more details about
@@ -53,9 +53,9 @@ Description:
5353

5454
What: /sys/bus/usb/drivers/usbtmc/devices/*/auto_abort
5555
Date: August 2008
56-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
56+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
5757
Description:
58-
This file determines if the the transaction of the USB TMC
58+
This file determines if the transaction of the USB TMC
5959
device is to be automatically aborted if there is any error.
6060
For more details about this, please see the document,
6161
"Universal Serial Bus Test and Measurement Class Specification

Documentation/ABI/stable/sysfs-module

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Description:
66
The name of the module that is in the kernel. This
77
module name will show up either if the module is built
88
directly into the kernel, or if it is loaded as a
9-
dyanmic module.
9+
dynamic module.
1010

1111
/sys/module/MODULENAME/parameters
1212
This directory contains individual files that are each
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
What: /sys/kernel/debug/olpc-ec/cmd
2+
Date: Dec 2011
3+
KernelVersion: 3.4
4+
5+
Description:
6+
7+
A generic interface for executing OLPC Embedded Controller commands and
8+
reading their responses.
9+
10+
To execute a command, write data with the format: CC:N A A A A
11+
CC is the (hex) command, N is the count of expected reply bytes, and A A A A
12+
are optional (hex) arguments.
13+
14+
To read the response (if any), read from the generic node after executing
15+
a command. Hex reply bytes will be returned, *whether or not* they came from
16+
the immediately previous command.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
What: /sys/block/dm-<num>/dm/name
2+
Date: January 2009
3+
KernelVersion: 2.6.29
4+
5+
Description: Device-mapper device name.
6+
Read-only string containing mapped device name.
7+
Users: util-linux, device-mapper udev rules
8+
9+
What: /sys/block/dm-<num>/dm/uuid
10+
Date: January 2009
11+
KernelVersion: 2.6.29
12+
13+
Description: Device-mapper device UUID.
14+
Read-only string containing DM-UUID or empty string
15+
if DM-UUID is not set.
16+
Users: util-linux, device-mapper udev rules
17+
18+
What: /sys/block/dm-<num>/dm/suspended
19+
Date: June 2009
20+
KernelVersion: 2.6.31
21+
22+
Description: Device-mapper device suspend state.
23+
Contains the value 1 while the device is suspended.
24+
Otherwise it contains 0. Read-only attribute.
25+
Users: util-linux, device-mapper udev rules
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
Where: /sys/bus/event_source/devices/<dev>/format
2+
Date: January 2012
3+
Kernel Version: 3.3
4+
Contact: Jiri Olsa <[email protected]>
5+
Description:
6+
Attribute group to describe the magic bits that go into
7+
perf_event_attr::config[012] for a particular pmu.
8+
Each attribute of this group defines the 'hardware' bitmask
9+
we want to export, so that userspace can deal with sane
10+
name/value pairs.
11+
12+
Example: 'config1:1,6-10,44'
13+
Defines contents of attribute that occupies bits 1,6-10,44 of
14+
perf_event_attr::config1.
Lines changed: 75 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
What: /sys/bus/rpmsg/devices/.../name
2+
Date: June 2011
3+
KernelVersion: 3.3
4+
Contact: Ohad Ben-Cohen <[email protected]>
5+
Description:
6+
Every rpmsg device is a communication channel with a remote
7+
processor. Channels are identified with a (textual) name,
8+
which is maximum 32 bytes long (defined as RPMSG_NAME_SIZE in
9+
rpmsg.h).
10+
11+
This sysfs entry contains the name of this channel.
12+
13+
What: /sys/bus/rpmsg/devices/.../src
14+
Date: June 2011
15+
KernelVersion: 3.3
16+
Contact: Ohad Ben-Cohen <[email protected]>
17+
Description:
18+
Every rpmsg device is a communication channel with a remote
19+
processor. Channels have a local ("source") rpmsg address,
20+
and remote ("destination") rpmsg address. When an entity
21+
starts listening on one end of a channel, it assigns it with
22+
a unique rpmsg address (a 32 bits integer). This way when
23+
inbound messages arrive to this address, the rpmsg core
24+
dispatches them to the listening entity (a kernel driver).
25+
26+
This sysfs entry contains the src (local) rpmsg address
27+
of this channel. If it contains 0xffffffff, then an address
28+
wasn't assigned (can happen if no driver exists for this
29+
channel).
30+
31+
What: /sys/bus/rpmsg/devices/.../dst
32+
Date: June 2011
33+
KernelVersion: 3.3
34+
Contact: Ohad Ben-Cohen <[email protected]>
35+
Description:
36+
Every rpmsg device is a communication channel with a remote
37+
processor. Channels have a local ("source") rpmsg address,
38+
and remote ("destination") rpmsg address. When an entity
39+
starts listening on one end of a channel, it assigns it with
40+
a unique rpmsg address (a 32 bits integer). This way when
41+
inbound messages arrive to this address, the rpmsg core
42+
dispatches them to the listening entity.
43+
44+
This sysfs entry contains the dst (remote) rpmsg address
45+
of this channel. If it contains 0xffffffff, then an address
46+
wasn't assigned (can happen if the kernel driver that
47+
is attached to this channel is exposing a service to the
48+
remote processor. This make it a local rpmsg server,
49+
and it is listening for inbound messages that may be sent
50+
from any remote rpmsg client; it is not bound to a single
51+
remote entity).
52+
53+
What: /sys/bus/rpmsg/devices/.../announce
54+
Date: June 2011
55+
KernelVersion: 3.3
56+
Contact: Ohad Ben-Cohen <[email protected]>
57+
Description:
58+
Every rpmsg device is a communication channel with a remote
59+
processor. Channels are identified by a textual name (see
60+
/sys/bus/rpmsg/devices/.../name above) and have a local
61+
("source") rpmsg address, and remote ("destination") rpmsg
62+
address.
63+
64+
A channel is first created when an entity, whether local
65+
or remote, starts listening on it for messages (and is thus
66+
called an rpmsg server).
67+
68+
When that happens, a "name service" announcement is sent
69+
to the other processor, in order to let it know about the
70+
creation of the channel (this way remote clients know they
71+
can start sending messages).
72+
73+
This sysfs entry tells us whether the channel is a local
74+
server channel that is announced (values are either
75+
true or false).

Documentation/ABI/testing/sysfs-bus-usb

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,3 +182,14 @@ Description:
182182
USB2 hardware LPM is enabled for the device. Developer can
183183
write y/Y/1 or n/N/0 to the file to enable/disable the
184184
feature.
185+
186+
What: /sys/bus/usb/devices/.../removable
187+
Date: February 2012
188+
Contact: Matthew Garrett <[email protected]>
189+
Description:
190+
Some information about whether a given USB device is
191+
physically fixed to the platform can be inferred from a
192+
combination of hub decriptor bits and platform-specific data
193+
such as ACPI. This file will read either "removable" or
194+
"fixed" if the information is available, and "unknown"
195+
otherwise.

Documentation/ABI/testing/sysfs-class

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What: /sys/class/
22
Date: Febuary 2006
3-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
3+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44
Description:
55
The /sys/class directory will consist of a group of
66
subdirectories describing individual classes of devices

Documentation/ABI/testing/sysfs-class-net-mesh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ Description:
6565
Defines the penalty which will be applied to an
6666
originator message's tq-field on every hop.
6767

68+
What: /sys/class/net/<mesh_iface>/mesh/routing_algo
69+
Date: Dec 2011
70+
Contact: Marek Lindner <[email protected]>
71+
Description:
72+
Defines the routing procotol this mesh instance
73+
uses to find the optimal paths through the mesh.
74+
6875
What: /sys/class/net/<mesh_iface>/mesh/vis_mode
6976
Date: May 2010
7077
Contact: Marek Lindner <[email protected]>

Documentation/ABI/testing/sysfs-devices

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
What: /sys/devices
22
Date: February 2006
3-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
3+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
44
Description:
55
The /sys/devices tree contains a snapshot of the
66
internal state of the kernel device tree. Devices will

Documentation/ABI/testing/sysfs-devices-power

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,3 +165,21 @@ Description:
165165

166166
Not all drivers support this attribute. If it isn't supported,
167167
attempts to read or write it will yield I/O errors.
168+
169+
What: /sys/devices/.../power/pm_qos_latency_us
170+
Date: March 2012
171+
Contact: Rafael J. Wysocki <[email protected]>
172+
Description:
173+
The /sys/devices/.../power/pm_qos_resume_latency_us attribute
174+
contains the PM QoS resume latency limit for the given device,
175+
which is the maximum allowed time it can take to resume the
176+
device, after it has been suspended at run time, from a resume
177+
request to the moment the device will be ready to process I/O,
178+
in microseconds. If it is equal to 0, however, this means that
179+
the PM QoS resume latency may be arbitrary.
180+
181+
Not all drivers support this attribute. If it isn't supported,
182+
it is not present.
183+
184+
This attribute has no effect on system-wide suspend/resume and
185+
hibernation.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
What: /sys/devices/socX
2+
Date: January 2012
3+
contact: Lee Jones <[email protected]>
4+
Description:
5+
The /sys/devices/ directory contains a sub-directory for each
6+
System-on-Chip (SoC) device on a running platform. Information
7+
regarding each SoC can be obtained by reading sysfs files. This
8+
functionality is only available if implemented by the platform.
9+
10+
The directory created for each SoC will also house information
11+
about devices which are commonly contained in /sys/devices/platform.
12+
It has been agreed that if an SoC device exists, its supported
13+
devices would be better suited to appear as children of that SoC.
14+
15+
What: /sys/devices/socX/machine
16+
Date: January 2012
17+
contact: Lee Jones <[email protected]>
18+
Description:
19+
Read-only attribute common to all SoCs. Contains the SoC machine
20+
name (e.g. Ux500).
21+
22+
What: /sys/devices/socX/family
23+
Date: January 2012
24+
contact: Lee Jones <[email protected]>
25+
Description:
26+
Read-only attribute common to all SoCs. Contains SoC family name
27+
(e.g. DB8500).
28+
29+
What: /sys/devices/socX/soc_id
30+
Date: January 2012
31+
contact: Lee Jones <[email protected]>
32+
Description:
33+
Read-only attribute supported by most SoCs. In the case of
34+
ST-Ericsson's chips this contains the SoC serial number.
35+
36+
What: /sys/devices/socX/revision
37+
Date: January 2012
38+
contact: Lee Jones <[email protected]>
39+
Description:
40+
Read-only attribute supported by most SoCs. Contains the SoC's
41+
manufacturing revision number.
42+
43+
What: /sys/devices/socX/process
44+
Date: January 2012
45+
contact: Lee Jones <[email protected]>
46+
Description:
47+
Read-only attribute supported ST-Ericsson's silicon. Contains the
48+
the process by which the silicon chip was manufactured.
49+
50+
What: /sys/bus/soc
51+
Date: January 2012
52+
contact: Lee Jones <[email protected]>
53+
Description:
54+
The /sys/bus/soc/ directory contains the usual sub-folders
55+
expected under most buses. /sys/bus/soc/devices is of particular
56+
interest, as it contains a symlink for each SoC device found on
57+
the system. Each symlink points back into the aforementioned
58+
/sys/devices/socX devices.

Documentation/ABI/testing/sysfs-driver-samsung-laptop

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
What: /sys/devices/platform/samsung/performance_level
22
Date: January 1, 2010
33
KernelVersion: 2.6.33
4-
Contact: Greg Kroah-Hartman <gregkh@suse.de>
4+
Contact: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
55
Description: Some Samsung laptops have different "performance levels"
66
that are can be modified by a function key, and by this
77
sysfs file. These values don't always make a whole lot
@@ -17,3 +17,21 @@ Description: Some Samsung laptops have different "performance levels"
1717
Specifically, not all support the "overclock" option,
1818
and it's still unknown if this value even changes
1919
anything, other than making the user feel a bit better.
20+
21+
What: /sys/devices/platform/samsung/battery_life_extender
22+
Date: December 1, 2011
23+
KernelVersion: 3.3
24+
Contact: Corentin Chary <[email protected]>
25+
Description: Max battery charge level can be modified, battery cycle
26+
life can be extended by reducing the max battery charge
27+
level.
28+
0 means normal battery mode (100% charge)
29+
1 means battery life extender mode (80% charge)
30+
31+
What: /sys/devices/platform/samsung/usb_charge
32+
Date: December 1, 2011
33+
KernelVersion: 3.3
34+
Contact: Corentin Chary <[email protected]>
35+
Description: Use your USB ports to charge devices, even
36+
when your laptop is powered off.
37+
1 means enabled, 0 means disabled.

0 commit comments

Comments
 (0)