Package: trace-cmd / 2.6-0.1+deb9u1

Metadata

Package Version Patches format
trace-cmd 2.6-0.1+deb9u1 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 trace cmd Use python2.7 for executable name.patch | (download)

event-viewer.py | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 2/2] trace-cmd: use "python2.7" for executable name

Workaround for lintian python-script-but-no-python-dep error.

Signed-off-by: Seth Forshee <seth.forshee@canonical.com>

0002 tools lib traceevent Add checks for returned EVENT_E.patch | (download)

event-parse.c | 9 9 + 0 - 0 !
1 file changed, 9 insertions(+)

 [patch] tools lib traceevent: add checks for returned event_error
 type

Running the following perf-stat command on an arm64 system produces the
following result...

  [root@aarch64 ~]# perf stat -e kmem:mm_page_alloc -a sleep 1
    Warning: [kmem:mm_page_alloc] function sizeof not defined
    Warning: Error: expected type 4 but read 0
  Segmentation fault
  [root@aarch64 ~]#

The second warning was a result of the first warning not stopping
processing after it detected the issue.

That is, code that found the issue reported the first problem, but
because it did not exit out of the functions smoothly, it caused the
other warning to appear and not only that, it later caused the SIGSEGV.

Signed-off-by: Dean Nelson <dnelson@redhat.com>