Hi folks,
the patch below, to be applied to sound/pci/hda/patch_sigmatel.c fixes the audio
output on the Fujiutsu/Siemens lifebook T4210 (and probably on others). It is
suitable for the kernel 2.6.23-rc4 (and probably others).
Without the patch, audio fails and the hda driver fails to load with
ioctl JSIOCSDIGITAL for joydev allows to adjusts this
on the running driver.
Greetings,
Thomas Richter
Patch for drivers/input/joydev.c:
/* snip */
--- ../linux-2.4.31/drivers/input/joydev.c 2003-06-13 16:51:34.0
+0200
+++ drivers/input/joydev.c 2005-07-06 22:37
Hi Andrew,
I'm inclined to simply revert that change.
In case the mentioned lines do cause problems, please do not hesitate
to remove them. As the comments indicate, the patch was completely
untested as I haven't had the cards available. However, please ensure
that the parallel port remains
Hi folks, hi Daniel,
there is still an issue with flicker on panning with the 835GM chipset.
As already explained, the flicker only appears if the panning position
satisfies certain alignment constraints, in specific. As long as the
plane pointer is aligned to 64 byte boundaries, everything
On 22.09.2013 22:03, Daniel Vetter wrote:
Hm, that sounds a bit more like the ddx is having fun with rendering.
Have you tried switching the backed from to either SNA or UXA? Also
adding relevant mailing lists ...
No, whether I use uxa or sna makes no difference, same problem. I don't
think
Hi Daniel, hi others,
On 22.09.2013 22:03, Daniel Vetter wrote:
Hm, that sounds a bit more like the ddx is having fun with rendering.
Have you tried switching the backed from to either SNA or UXA? Also
adding relevant mailing lists ...
No, whether I use uxa or sna makes no difference, same
Hi folks,
Can you please test with
Option LinearFramebuffer true?
Thanks, Daniel
Tested again. Yes, indeed, LinearFramebuffer does make a difference.
Without it, panning to the right causes flicker, with it, moving the
mouse to the right - panning right (thus scrolling the screen
Hi Alan, hi Dominik,
maybe you want me to help out a bit - I'm having trouble getting a
Delock PCMCIA to USB-2 adapter to work under linux, with strange
behavior in some situations. The trouble is that while I can *read* via
fast (usb 2.0) transfers from the port, an ehci-triggered write just
On 09.08.2013 19:46, Alan Stern wrote:
On Fri, 9 Aug 2013, Thomas Richter wrote:
Hi Alan, hi Dominik,
maybe you want me to help out a bit - I'm having trouble getting a
Delock PCMCIA to USB-2 adapter to work under linux, with strange
behavior in some situations. The trouble is that while I
On 10.08.2013 03:07, Alan Stern wrote:
Nope. udevd refuses to start and says that it requires at least 2.6.32,
which means that apparently something changed in the kernel-userland
interface in 2.6.32. Thus, my conclusion that there's probably something
nasty going on in userland with udev.
Hi Alan,
later... ok, bisected this even more. 2.6.31.14 kernel, old udev works
fine. Then removed /etc/rcS.d/S02udev to be sure the 2.6.32 kernel would
not pull the new udev. Rebuild 2.6.32.1 with *identical* kernel
configuration, booted up, manually started the *old* udev as in
2.6.31.14,
On 10.08.2013 14:04, Alan Stern wrote:
On Sat, 10 Aug 2013, Thomas Richter wrote:
What about other usb modules? I would
probably need a short recap on through which modules the user data flows
before the write is triggered, and which modules are involved in the
configuration of the NEC
Hi Josep,
Have you tried to wait for 5 minutes? It could also be related to it
what happens to my kernel 3.11.0-rc4 (and rc3) and USB
I plug the drive. Only after 5 minutes of high-speed of USb bus, it mounts.
No, currently I don't even depend on gnome mounting it. I don't run a
desktop. I
On 10.08.2013 22:03, Josep Lladonosa wrote:
I add that some usb pendrives mount immediately and some others don't...
Nope, all the same here... None works. Pen drive, hard disk, does not
matter.
Greetings,
Thomas
--
To unsubscribe from this list: send the line unsubscribe
Hi Josep,
Perhaps both cases are related, and if you waited after those 5
minutes of resets, your pen would work fine...
Have you checked your /var/log/messages after insertion of pen?
My automount is under XFCE, not Gnome... ;)
Unclear. Messages I get seem to make sense. First, it detects
On 11.08.2013 03:46, Alan Stern wrote:
On Sat, 10 Aug 2013, Thomas Richter wrote:
Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and
yenta_socket as well. No changes were necessary. Also replaced ehci-hcd,
Do you mean that you took the source code for ehci-hcd from
On 11.08.2013 03:46, Alan Stern wrote:
On Sat, 10 Aug 2013, Thomas Richter wrote:
Sorry, need to look further. I replaced ehci-pci from 2.6.31.14, and
yenta_socket as well. No changes were necessary. Also replaced ehci-hcd,
Do you mean that you took the source code for ehci-hcd from
Dear Alan, Josep, David, dear PCMCIA maintainers,
this is on followup of a hang I reported earlier when using a delock
(NEC-based) PCMCIA card in a O2Micro slot of an oldish E7110 Fujitsu
laptop. The phenomenon is that read accesses through the ehci interface
of the USB host adapter are
Hi Ville, hi Daniel,
still experimenting with the resume from suspend on the Fujitsu S6010. I
can, however, still create a kernel oops. The kernel source comes from
alm_fixes5, kernel 3.15.0-rc7+. For that, do the following:
1) Shut down X,
2) Unbind the consoles:
echo 0
Am 02.07.2014 23:22, schrieb Pavel Machek:
Hi!
still experimenting with the resume from suspend on the Fujitsu
S6010. I can, however, still create a kernel oops. The kernel source
comes from alm_fixes5, kernel 3.15.0-rc7+. For that, do the
following:
1) Shut down X,
2) Unbind the consoles:
next_id->fd) 0 nsec
test_bpf_obj_id:PASS:check total map id found by get_next_id 0 nsec
test_pkt_md_access:PASS: 277 nsec
Summary: 30 PASSED, 0 FAILED
[root@s8360046 bpf]#
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/testing/selftests/bpf/test_pkt_md_access.c | 11 +++
1
[root@s8360046 timers]# ./freq-step
CLOCK_MONOTONIC_RAW+CLOCK_MONOTONIC precision: 348 ns [SKIP]
1..0 # Skipped: [SKIP]
[root@s8360046 timers]#
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/testing/selftests/timers/freq-step.c | 2 +-
1 file changed, 1 insertion
: BPF prologue generation : Ok
38.4: BPF relocation checker : Ok
[root@s8360046 perf]#
Signed-off-by: Wang Nan <wangn...@huawei.com>
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/tests/bpf-script-test-prologue.c | 4 ++-
On Wed, Aug 09, 2017 at 05:00:49PM +0200, Jiri Olsa wrote:
> On Mon, Jul 03, 2017 at 04:50:30PM +0200, Jiri Olsa wrote:
> > The perf_event_attr::task is 1 by default for first (tracking)
> > event in the session. Setting task=1 as default and adding
> > task=0 for cases that need it.
>
> hm,
: BPF prologue generation : Ok
38.4: BPF relocation checker : Ok
[root@s8360046 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Signed-off-by: Wang Nan <wangn...@huawei.com>
Acked-by: Wang Nan <wangn...@huawei.com>
Tested-b
[s390x] './tests/attr//test-stat-C1' <--- new
The test is skipped with return code 0.
Suggested-by: Jiri Olsa <jo...@redhat.com>
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Jiri Olsa <jo...@redhat.com>
Reviwed-by: Arnaldo Carvalho de Melo <a...@ker
.
This value is given as parameter to the exit() function which
can only handle values 0-0xff.
The child process terminates with exit value of 0 and the parent
does not detect any error.
This patch corrects the error reporting and prints the
correct test result.
Signed-off-by: Thomas Richter <t
to a value well below the
sysctl kernel.perf_event_max_sample_rate value.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/tests/task-exit.c | 4
1 file changed, 4 insertions(+)
diff --git a/tools/per
tions
entered into the array is 56 which is sensible.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/arch/s390/annotate/instructions.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
di
to function comment__symbol()
by one byte before invocation and add an error check after strtoull()
has been called.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/util/annotate.c | 8 +---
1 file cha
s/kernel/debug/tracing/uprobe_events
p:probe_libc/inet_pton /usr/lib64/libc-2.26.so:0x00142060
# linux/tools/perf/perf probe -l
probe_libc:inet_pton (on __inet_pton@resolv/inet_pton.c
in /usr/lib64/libc-2.26.so)
Signed-off-by: Thomas Richter &l
s/kernel/debug/tracing/uprobe_events
p:probe_libc/inet_pton /usr/lib64/libc-2.26.so:0x00142060
# linux/tools/perf/perf probe -l
probe_libc:inet_pton (on __inet_pton@resolv/inet_pton.c
in /usr/lib64/libc-2.26.so)
Signed-off-by: Thomas Richter &l
inode() into callers")
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
fs/debugfs/inode.c | 5 -
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index 13b01351dd1
r-x] events
# │ ├── [drwxr-xr-x] alarmtimer
Fixes: edac65eaf8d5c ("debugfs: take mode-dependent parts of
debugfs_get_inode() into callers")
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org>
---
fs/debugfs/inode.c
cket_id number is too big.You may need to upgrade the perf tool.
end
Session topology: Skip
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.ibm.com>
---
tools/perf/tests/topology.c | 12 ++--
g PMU cpu tests
omitting PMU cpu tests
running test 0 'config=10,config1,config2=3,umask=1'
end
Parse event definition strings: FAILED!
Fixes: b3f58c8da64b ("perf tests parse-events: Add intel_pt parse test")
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools
1':
1 tx_nc_tend
0.000961134 seconds time elapsed
[root@s35lp76 perf]#
Signed-off-by: Thomas Richter
---
tools/perf/util/pmu.c | 71 ++-
1 file changed, 70 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/p
ble.
s390 for example has terms specified as
event=0x0091 (read from files ..//events/
and terms specified as event=0x91 (read from JSON files).
Signed-off-by: Thomas Richter
---
tools/perf/util/pmu.c | 25 -
1 file changed, 24 insertions(+), 1 deletion(-)
diff --
Remove a trailing newline when reading sysfs file contents
such as /sys/devices/cpum_cf/events/TX_NC_TEND.
This show when verbose option -v is used.
Output before:
tx_nc_tend -> 'cpum_cf'/'event=0x008d
'/
Output after:
tx_nc_tend -> 'cpum_cf'/'event=0x8d'/
Signed-off-by: Thomas R
ble.
s390 for example has terms specified as
event=0x0091 (read from files ..//events/
and terms specified as event=0x91 (read from JSON files).
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
Cc: Jiri Olsa
---
tools/perf/util/pmu.c | 25 -
1 file changed,
Remove a trailing newline when reading sysfs file contents
such as /sys/devices/cpum_cf/events/TX_NC_TEND.
This shows when verbose option -v is used.
Output before:
tx_nc_tend -> 'cpum_cf'/'event=0x008d
'/
Output after:
tx_nc_tend -> 'cpum_cf'/'event=0x8d'/
Signed-off-by: Thomas R
1':
1 tx_nc_tend
0.000961134 seconds time elapsed
[root@s35lp76 perf]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
Cc: Jiri Olsa
---
tools/perf/util/pmu.c | 71 ++-
1 file changed, 70 insertions(
-1, Socket ID -1
...
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/util/header.c | 10 +-
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index a8bff2178fbc..34e9d6b9d945
: c84974ed9fb6 ("perf test: Add entry to test cpu topology")
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/tests/topology.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/tools/perf/tests/topology.c b/tools/perf/tests/topology.c
index 40e30a26b23c..94
This reverts commit 95cde3c59966f6371b6bcd9e4e2da2ba64ee9775.
It breaks the ioctl(KVM_CREATE_VM) interface.
Signed-off-by: Thomas Richter
---
fs/debugfs/inode.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/fs/debugfs/inode.c b/fs/debugfs/inode.c
index a913b12fc7f8
Use the header file util/debug.h instead of
declaration of verbose variable.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
tools/perf/tests/python-use.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/tools/perf/tests/python-use.c b/tools/perf/tests/python
Fix the section HEADER_CPUDESC so the documentation
matches code. Swap the two members of struct nr_cpus.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
tools/perf/Documentation/perf.data-file-format.txt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tool
cket_id number is too big.You may need to upgrade the perf tool.
end
Session topology: Skip
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
---
tools/perf/tests/topology.c | 30 --
1 file changed, 24 insertions(+), 6 dele
Add an explanation of each cpu's core and socket
identifier to the documentation.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
tools/perf/Documentation/perf.data-file-format.txt | 8
1 file changed, 8 insertions(+)
diff --git a/tools/perf/Documentation/perf.dat
tx_nc_tend
11 tx_nc_tabort
0 tx_c_tabort_special
0 tx_c_tabort_no_special
0.001070109 seconds time elapsed
[root@s35lp76 perf]#
Suggested-by: Andi Kleen
Signed-off-by: Thomas Richter
Suggested-by: Hendrik Brueckner
Reviewed-by: H
11 tx_nc_tabort
0 tx_c_tabort_special
0 tx_c_tabort_no_special
0.001070109 seconds time elapsed
[root@s35lp76 perf]#
Suggested-by: Andi Kleen
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
Acked-by: Andi Kleen
Acked-
ial
0.001070109 seconds time elapsed
[root@s35lp76 perf]#
Suggested-by: Andi Kleen
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/builtin-stat.c | 11 +++
1 file changed, 11 insertions(+)
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
in
This reverts commit 038586c34301578e538f6c5aa79ca82bce1b9152.
Fix the support of detailed/verbose PMU event description
by using the "Unit": keyword in the json files to address
event names refering to the /sys/devices/cpum_[cs]f
devices.
Signed-off-by: Thomas Richter
Reviewed-b
Correct the support of detailed/verbose PMU event description
by using the "Unit": keyword in the json files to address
event names refering to the /sys/devices/cpum_[cs]f
devices.
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/pmu-events/arch/s
nds time elapsed
[root@s35lp76 perf]#
Suggested-by: Andi Kleen
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/pmu-events/arch/s390/cf_z13/transaction.json | 7 +++
tools/perf/pmu-events/arch/s390/cf_z14/transaction.json | 7 +++
tools/perf/pmu-events/a
47e8 __inet_pton (inlined)
f19d7 gaih_inet.constprop.5 (/usr/lib64/libc-2.24.so)
f4c3f __GI_getaddrinfo (inlined)
410b main (/usr/bin/ping)
Allow __inet_pton listed as inline.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
o: Masami Hiramatsu <mhira...@kernel.org>
To: Andrew Morton <a...@linux-foundation.org>
To: a...@kernel.org
To: Steven Rostedt <rost...@goodmis.org>
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 del
]# ./perf trace --no-syscalls --call-graph dwarf,4096,4
callchain: No more arguments needed for --call-graph dwarf[,xxx]
Please specify something to trace.
[root@s35lp76 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/util/callchain.c | 4
1 file chan
e runs unchanged and succeeds.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
.../perf/tests/shell/trace+probe_libc_inet_pton.sh | 23 +-
1 file changed, 18 insertions(+), 5 deletions(-)
d
aph=fp the kernel stack unwinder
is used and it stops after unwinding x entries.
For dwarf the complete stack data is returned and the unwinding
is done by perf itself and it uses --max-stack
command line flag.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-b
compare function named strcmp_cpuid_str()
The currently used regex algorithm is defined as the
weak default and will be used if no platform specific
one is defined. This matches the current behavior.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner &
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/arch/s390/util/header.c | 126 +++--
1 file changed, 121 insertions(+), 5 deletions(-)
diff --git a/tools/perf/arch/s390/
Scan the cpuid string and extract the type number for later
use.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/arch/s390/annotate/instructions.c | 27 ++-
1 file
which contains an indication of the
cpu counter facility availability.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/tests/code-reading.c | 33 +
1 file changed, 2
)
gaih_inet.constprop.7 (/usr/lib64/libc-2.26.so)
...
Fix this by being less strict on 'inlined' verses library
name and accept both
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/tests/shell/trace+probe_libc_inet_pton.sh | 6 +++---
1 file changed, 3 insertions
Commit feb3d2d955c8 (perf record: Provide detailed information
on s390 CPU") fixed a build error on Ubuntu. However the
fix uses the wrong size to print the model information.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/arch/s390/util/header.c | 2
ial
0.001070109 seconds time elapsed
[root@s35lp76 perf]#
Suggested-by: Andi Kleen
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/builtin-stat.c | 12
1 file changed, 12 insertions(+)
diff --git a/tools/perf/builtin-stat.c b/tools/perf/builtin-stat.c
in
: Ok
40.2: BPF pinning : Ok
40.3: BPF prologue generation : Ok
40.4: BPF relocation checker : Ok
[root@p23lp27 perf]#
Suggested-by: Stefan Liebler
Suggested-by: Arnaldo Carvalho de M
: Ok
40.2: BPF pinning : Ok
40.3: BPF prologue generation : Ok
40.4: BPF relocation checker : Ok
[root@p23lp27 perf]#
Suggested-by: Stefan Liebler
Suggested-by: Arnaldo Carvalho de M
% ls [kernel.kallsyms] [k] ___might_sleep
1.83% 1.83% ls [kernel.kallsyms] [k]
debug_lockdep_rcu_enabled
1.44% 1.44% ls [kernel.kallsyms] [k] dput
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/util/s390
and diagnostic sampling entry sizes
can be extracted using the trailer entries in the SDB.
On older hardware these values (bsdes and dsdes in the
trailer entry) are reserved and zero. Older hardware use hard
coded values based on the s390 machine type.
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik
]: PERF_RECORD_AUXTRACE size: 0x4
offset: 0 ref: 0 idx: 4 tid: -1 cpu: 4
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/arch/s390/util/auxtrace.c | 1 +
tools/perf/util/Build| 1 +
tools/perf/util/auxtrace.c | 3
perf report interprets the perf.data input file with
option -D.
Patch 3: Display auxiliary trace in UI. Resolve addresses to
symbols and file names.
Thomas Richter (4):
perf auxtrace: Support for perf report -D for s390
perf report: Add raw report support for s390 auxiliary
perf]# ll /tmp/aux.smp.00
-rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/util/s390-cpumsf.c | 94 +--
1 file changed, 91 insertions(+), 3 deletions
...
[root@p23lp27 perf]# ll /tmp/aux.smp.00
-rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/util/s390-cpumsf.c | 94 +--
1 file changed, 91 insertions
perf]# ll /tmp/aux.smp.00
-rw-r--r-- 1 root root 204800 Aug 2 13:48 /tmp/aux.smp.00
[root@p23lp27 perf]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/util/s390-cpumsf.c | 94 +--
1 file changed, 91 insertions(+), 3 deletions
buffer is not needed.
This is also consistant with all the other pr_warning() statements
in this file which all use strerror().
Also fixes a possible initialization issue.
Cc: Wang Nan
Cc: Alexei Starovoitov
Cc: Daniel Borkmann
Signed-off-by: Thomas Richter
---
tools/lib/bpf/libbpf.c | 7 ++
nux-next/tools/build/Makefile.build:96: recipe for target
'libbpf.o' failed
Fix this by using strerror_r return value in pr_warning statement.
Also fixes a possible initialization issue.
Cc: Wang Nan
Signed-off-by: Thomas Richter
---
tools/lib/bpf/libbpf.c | 6 +++---
1 file changed, 3 insertions(+),
t 4: Ok
[root@s35lp76 ~]#
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/tests/builtin-test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
index dd850a26d579..4f5de8245b32 100
compare with the CPU identifier string. Fix this by changing the comparison.
Fixes: eca0fa28cd0d ("perf record: Provide detailed information on s390 CPU")
Cc: Stefan Raspl
Cc: # 4.17
Signed-off-by: Thomas Richter
Reviewed-by: Hendrik Brueckner
---
tools/perf/arch/s390/util/kvm-st
first parameter
and operates on a NULL pointer which might cause core
dumps.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/arch/x86/util/header.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tools/perf/arch/x86/util/header.c
b/tools/perf/ar
x60>
This output is parsed (like on x86) and perf annotate shows those
lines as:
lgrl %r7,mp_+0x60
This patch handles the s390 specific instruction parsing for
pc relative load and store instructions.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/arch/s
a pointer to the necessary error information
instead of NULL. Technically only the else part is needed to avoid
the core dump, just lets be save...
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/builtin-stat.c | 9 +++--
1 file changed, 7 insertions(+), 2 deleti
Function perf_stat_evsel_id_init() has global linkage
but is only used in util/stat.c. Make it static.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/util/stat.c | 2 +-
tools/perf/util/stat.h | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
diff --git a
on x86 is unchanged.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed--by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
tools/perf/builtin-stat.c | 162 ++
1 file changed, 135 insertions(+), 27 deletions(-)
diff -
cpum_cf/TX_NC_TABORT/ #0.000 K/sec
0 cpum_cf/TX_NC_TEND/ #0.000 K/sec
1.001934710 seconds time elapsed
[root@s35lp76 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
---
on the architecture and the CPU measurement
facility counter list. This scheme can be easily extended
to support other architectures.
Output does not change.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.vnet.ibm.com>
Reviewed-by: Hendr
s zero
which is an invalid address.
Introduce a s390 specific call parsing function which skips
the first operand on s390.
Signed-off-by: Thomas Richter <tmri...@linux.vnet.ibm.com>
---
tools/perf/arch/s390/annotate/instructions.c | 53 +++-
tools/perf/uti
1393c0 __GI___inet_pton (/usr/lib64/libc-2.26.so)
fe60d getaddrinfo (/usr/lib64/libc-2.26.so)
2f40 main (/usr/bin/ping)
[root@f27 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.ibm.com>
warning, if the directory is not present
memory node information is not available and won't be displayed.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
tools/perf/util/header.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/perf/util/header.c b/tools/perf/u
So it is only shown when debug level 2 or higher is set.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
tools/perf/util/header.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/perf/util/header.c b/tools/perf/util/header.c
index 121df1683c36..a8bff2178f
From: Thomas Richter <tmri...@linux.vnet.ibm.com>
Perf list with flags -d and -v print a description (-d) or
a very verbose explanation (-v) of CPU specific counter events.
These descriptions are provided with the json files in
directory pmu-events/arch/s390/*.json.
Display of these descri
From: Thomas Richter <tmri...@linux.vnet.ibm.com>
Perf list with flags -d and -v print a description (-d) or
a very verbose explanation (-v) of CPU specific counter events.
These descriptions are provided with the json files in
directory pmu-events/arch/s390/*.json.
Display of these descri
u for helping on this.
Suggested-by: Linus Torvalds <torva...@linux-foundation.org>
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Cc: Jessica Yu <j...@kernel.org>
---
kernel/module.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/module.c b/ker
cting")
Cc: <sta...@vger.kernel.org> # v4.15+
Suggested-by: Linus Torvalds <torva...@linux-foundation.org>
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Cc: Jessica Yu <j...@kernel.org>
---
kernel/module.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(
d) address.
Thanks to Jessica Yu for helping on this.
Suggested-by: Linus Torvalds <torva...@linux-foundation.org>
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Cc: Jessica Yu <j...@kernel.org>
Cc: sta...@vger.kernel.org
---
kernel/module.c | 3 ++-
1 file changed, 2 insert
From: Thomas Richter <tmri...@linux.vnet.ibm.com>
Perf list with flags -d and -v print a description (-d) or
a very verbose explanation (-v) of CPU specific counter events.
These descriptions are provided with the json files in
directory pmu-events/arch/s390/*.json.
Display of these descri
l.org>
Cc: a...@kernel.org
Cc: Steven Rostedt <rost...@goodmis.org>
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
---
kernel/kprobes.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/kernel/kprobes.c b/kernel/kprobes.c
index 102160ff5c66..ea619021d901
1393c0 __GI___inet_pton (/usr/lib64/libc-2.26.so)
fe60d getaddrinfo (/usr/lib64/libc-2.26.so)
2f40 main (/usr/bin/ping)
[root@f27 perf]#
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.ibm.com>
compare code
and uses the common compare function with its regular
expression matching algorithm.
Signed-off-by: Thomas Richter <tmri...@linux.ibm.com>
Reviewed-by: Hendrik Brueckner <brueck...@linux.ibm.com>
---
tools/perf/arch/s390/util/header.c | 18 --
to
1 - 100 of 424 matches
Mail list logo