2015-04-18 22:34:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 12:04:17 +08:00
|
|
|
|
2013-01-04 13:05:17 -08:00
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
|
|
|
|
|
2014-02-09 11:41:52 +00:00
|
|
|
|
2015-03-28 21:43:08 +02:00
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
filter: add minimal BPF JIT image disassembler
This is a minimal stand-alone user space helper, that allows for debugging or
verification of emitted BPF JIT images. This is in particular useful for
emitted opcode debugging, since minor bugs in the JIT compiler can be fatal.
The disassembler is architecture generic and uses libopcodes and libbfd.
How to get to the disassembly, example:
1) `echo 2 > /proc/sys/net/core/bpf_jit_enable`
2) Load a BPF filter (e.g. `tcpdump -p -n -s 0 -i eth1 host 192.168.20.0/24`)
3) Run e.g. `bpf_jit_disasm -o` to disassemble the most recent JIT code output
`bpf_jit_disasm -o` will display the related opcodes to a particular instruction
as well. Example for x86_64:
$ ./bpf_jit_disasm
94 bytes emitted from JIT compiler (pass:3, flen:9)
ffffffffa0356000 + <x>:
0: push %rbp
1: mov %rsp,%rbp
4: sub $0x60,%rsp
8: mov %rbx,-0x8(%rbp)
c: mov 0x68(%rdi),%r9d
10: sub 0x6c(%rdi),%r9d
14: mov 0xe0(%rdi),%r8
1b: mov $0xc,%esi
20: callq 0xffffffffe0d01b71
25: cmp $0x86dd,%eax
2a: jne 0x000000000000003d
2c: mov $0x14,%esi
31: callq 0xffffffffe0d01b8d
36: cmp $0x6,%eax
[...]
5c: leaveq
5d: retq
$ ./bpf_jit_disasm -o
94 bytes emitted from JIT compiler (pass:3, flen:9)
ffffffffa0356000 + <x>:
0: push %rbp
55
1: mov %rsp,%rbp
48 89 e5
4: sub $0x60,%rsp
48 83 ec 60
8: mov %rbx,-0x8(%rbp)
48 89 5d f8
c: mov 0x68(%rdi),%r9d
44 8b 4f 68
10: sub 0x6c(%rdi),%r9d
44 2b 4f 6c
[...]
5c: leaveq
c9
5d: retq
c3
Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-20 12:11:47 +00:00
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
|
|
|
|
|
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple
thermal relationship between processor and fan has become past for modern
computers.
As hardware vendors cope with the thermal constraints on their products,
more sensors are added, new cooling capabilities are introduced. The
complexity of the thermal relationship can grow exponentially among cooling
devices, zones, sensors, and trip points. They can also change dynamically.
To expose such relationship to the userspace, Linux generic thermal layer
introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
links, trip point bindings, and device instances. To traverse such
matrix by hand is not a trivial task. Testing is also difficult in that
thermal conditions are often exception cases that hard to reach in
normal operations.
TMON is conceived as a tool to help visualize, tune, and test the
complex thermal subsystem.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-10-14 16:02:27 -07:00
|
|
|
|
2015-06-06 15:42:28 +02:00
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
2012-04-11 18:36:18 +02:00
|
|
|
|
2013-01-29 11:48:11 +01:00
|
|
|
|
2012-04-11 18:36:18 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:17 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 12:04:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2015-03-28 21:43:08 +02:00
|
|
|
|
2013-02-20 16:32:30 +01:00
|
|
|
|
|
|
|
|
|
2014-05-08 13:34:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-18 22:34:38 +02:00
|
|
|
|
2013-12-09 17:14:23 +01:00
|
|
|
|
2013-02-20 16:32:30 +01:00
|
|
|
|
2015-04-18 22:34:39 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-18 22:34:38 +02:00
|
|
|
|
2015-04-18 22:34:39 +02:00
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple
thermal relationship between processor and fan has become past for modern
computers.
As hardware vendors cope with the thermal constraints on their products,
more sensors are added, new cooling capabilities are introduced. The
complexity of the thermal relationship can grow exponentially among cooling
devices, zones, sensors, and trip points. They can also change dynamically.
To expose such relationship to the userspace, Linux generic thermal layer
introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
links, trip point bindings, and device instances. To traverse such
matrix by hand is not a trivial task. Testing is also difficult in that
thermal conditions are often exception cases that hard to reach in
normal operations.
TMON is conceived as a tool to help visualize, tune, and test the
complex thermal subsystem.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-10-14 16:02:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-06 15:42:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-01-15 12:04:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2014-02-09 11:41:52 +00:00
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple
thermal relationship between processor and fan has become past for modern
computers.
As hardware vendors cope with the thermal constraints on their products,
more sensors are added, new cooling capabilities are introduced. The
complexity of the thermal relationship can grow exponentially among cooling
devices, zones, sensors, and trip points. They can also change dynamically.
To expose such relationship to the userspace, Linux generic thermal layer
introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
links, trip point bindings, and device instances. To traverse such
matrix by hand is not a trivial task. Testing is also difficult in that
thermal conditions are often exception cases that hard to reach in
normal operations.
TMON is conceived as a tool to help visualize, tune, and test the
complex thermal subsystem.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-10-14 16:02:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-06 15:42:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-09 11:41:52 +00:00
|
|
|
|
2013-01-04 13:05:17 -08:00
|
|
|
|
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple
thermal relationship between processor and fan has become past for modern
computers.
As hardware vendors cope with the thermal constraints on their products,
more sensors are added, new cooling capabilities are introduced. The
complexity of the thermal relationship can grow exponentially among cooling
devices, zones, sensors, and trip points. They can also change dynamically.
To expose such relationship to the userspace, Linux generic thermal layer
introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
links, trip point bindings, and device instances. To traverse such
matrix by hand is not a trivial task. Testing is also difficult in that
thermal conditions are often exception cases that hard to reach in
normal operations.
TMON is conceived as a tool to help visualize, tune, and test the
complex thermal subsystem.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-10-14 16:02:27 -07:00
|
|
|
|
2015-06-06 15:42:28 +02:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2014-01-15 12:04:17 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
2015-03-28 21:43:08 +02:00
|
|
|
|
2013-02-20 16:32:30 +01:00
|
|
|
|
|
|
|
|
|
2014-05-08 13:34:01 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-04-18 22:34:38 +02:00
|
|
|
|
2013-12-09 17:14:23 +01:00
|
|
|
|
2013-02-20 16:32:30 +01:00
|
|
|
|
2015-04-18 22:34:38 +02:00
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|
2012-11-05 15:15:24 +00:00
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
tools/thermal: Introduce tmon, a tool for thermal subsystem
Increasingly, Linux is running on thermally constrained devices. The simple
thermal relationship between processor and fan has become past for modern
computers.
As hardware vendors cope with the thermal constraints on their products,
more sensors are added, new cooling capabilities are introduced. The
complexity of the thermal relationship can grow exponentially among cooling
devices, zones, sensors, and trip points. They can also change dynamically.
To expose such relationship to the userspace, Linux generic thermal layer
introduced sysfs entry at /sys/class/thermal with a matrix of symbolic
links, trip point bindings, and device instances. To traverse such
matrix by hand is not a trivial task. Testing is also difficult in that
thermal conditions are often exception cases that hard to reach in
normal operations.
TMON is conceived as a tool to help visualize, tune, and test the
complex thermal subsystem.
Signed-off-by: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2013-10-14 16:02:27 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2015-06-06 15:42:28 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-02-09 11:41:52 +00:00
|
|
|
|
2014-01-15 12:04:17 +08:00
|
|
|
|
Staging driver patches for 4.2-rc1
Here's the big, really big, staging tree patches for 4.2-rc1.
Loads of stuff in here, almost all just coding style fixes / churn, and
a few new drivers as well, one of which I just disabled from the build a
few minutes ago due to way too many build warnings.
Other than the one "disable this driver" patch, all of these have been
in linux-next for quite a while with no reported issues.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
iEYEABECAAYFAlWNpc0ACgkQMUfUDdst+ym8EgCg0pL1Qcf9Se3jAc96fLt+itpv
Rd0AoI9uJcq8Qm7d+IXnz3ojLnN9xvN3
=xt0u
-----END PGP SIGNATURE-----
Merge tag 'staging-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
Pull staging driver updates from Greg KH:
"Here's the big, really big, staging tree patches for 4.2-rc1.
Loads of stuff in here, almost all just coding style fixes / churn,
and a few new drivers as well, one of which I just disabled from the
build a few minutes ago due to way too many build warnings.
Other than the one "disable this driver" patch, all of these have been
in linux-next for quite a while with no reported issues"
* tag 'staging-4.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging: (1163 commits)
staging: wilc1000: disable driver due to build warnings
Staging: rts5208: fix CHANGE_LINK_STATE value
Staging: sm750fb: ddk750_swi2c.c: Insert spaces before parenthesis
Staging: sm750fb: ddk750_swi2c.c: Place braces on correct lines
Staging: sm750fb: ddk750_swi2c.c: Insert spaces around operators
Staging: sm750fb: ddk750_swi2c.c: Replace spaces with tabs
Staging: sm750fb: ddk750_swi2c.h: Shorten lines to under 80 characters
Staging: sm750fb: ddk750_swi2c.h: Replace spaces with tabs
Staging: sm750fb: modedb.h: Shorten lines to under 80 characters
Staging: sm750fb: modedb.h: Replace spaces with tabs
staging: comedi: addi_apci_3120: rename 'this_board' variables
staging: comedi: addi_apci_1516: rename 'this_board' variables
staging: comedi: ni_atmio: cleanup ni_getboardtype()
staging: comedi: vmk80xx: sanity check context used to get the boardinfo
staging: comedi: vmk80xx: rename 'boardinfo' variables
staging: comedi: dt3000: rename 'this_board' variables
staging: comedi: adv_pci_dio: rename 'this_board' variables
staging: comedi: cb_pcidas64: rename 'thisboard' variables
staging: comedi: cb_pcidas: rename 'thisboard' variables
staging: comedi: me4000: rename 'thisboard' variables
...
2015-06-26 15:46:08 -07:00
|
|
|
|
|
|
|
|
|
2012-04-11 18:36:16 +02:00
|
|
|
|
|
|
|
|
|