lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <x491uv8h348.fsf@segfault.boston.devel.redhat.com>
Date:	Thu, 22 Sep 2011 13:57:11 -0400
From:	Jeff Moyer <jmoyer@...hat.com>
To:	jens.axboe@...ionio.com
Cc:	linux-kernel@...r.kernel.org
Subject: blk_classic tracing horribly broken

Hi,

I've stared at the code for a while, and I've come up empty.  Would
anyone care to take a stab at fixing this?

To reproduce:

mount -t debugfs none /sys/kernel/debug
cd /sys/kernel/debug/tracing
echo blk > current_tracer
echo 1 > events/block/enable
echo 1 > options/blk_classic
echo 1 > tracing_on

dd if=/dev/<device> of=/dev/null bs=1M count=1 iflag=direct
cat trace

This is what I see:

# tracer: blk
#
# DEV   CPU TIMESTAMP     PID ACT FLG
#  |     |     |           |   |   |
Unknown action 52
Unknown action 52
Unknown action bce
Unknown action 52
Unknown action 52
Unknown action 52
Unknown action 52
Unknown action 52
Unknown action 52
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
  0,0    2   110.941937315  2584  F   R [pgrep]
Unknown action 52
Unknown action 52
Unknown action 231
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
  0,0    0   110.949383287  2584  F   R [pgrep]
Unknown action 52
Unknown action 52
Unknown action 7fd1
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
  0,0    3   110.984565328  2581  F   R [ps]
Unknown action 52
Unknown action 52
Unknown action 5ad1
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0
  0,0    3   111.003843579  2581  F   R [ps]
Unknown action 52
Unknown action 52
Unknown action 7551
Unknown action 0
Unknown action 0
Unknown action 0
Unknown action 0

Cheers,
Jeff
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ