Commit b75cf54e authored by imirkin's avatar imirkin Committed by nouveau

fix extraction script

parent cfad973f
......@@ -19,7 +19,7 @@ You basically never need to do the mmiotrace, unless you're a nouveau developer.
demmio -f mmiotrace.log.xz | perl -e '
open($fh409c, ">fuc409c"); open($fh409d, ">fuc409d"); open($fh41ac, ">fuc41ac"); open($fh41ad, ">fuc41ad");
%m = ("0x409184" => $fh409c, "0x4091c4" => $fh409d, "0x41a184" => $fh41ac, "0x41a1c4" => $fh41ad);
while (<>) { exit if (/0x409840/); next if (!/W (0x4(?:09|1a)1[c8]4) .* <= (.*)/); print { $m{$1} } pack "I", hex($2);}'
while (<>) { exit if (/0x409840/); next if (!/W (0x4(?:09|1a)1[c8]4) .* <= (?:.*0x)?(.*)/); print { $m{$1} } pack "I", hex($2);}'
3. Rename the files to have a `nvXX_` prefix. For example if you have a NVE6 (as determined by 'Chipset' in dmesg), the files would be `nve6_fuc409c`, `nve6_fuc409d`, `nve6_fuc41ac`, and `nve6_fuc41ad`. (c = code, d = data)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment