Why not filename and line number?
Why not filename and line number?
Posted Oct 1, 2010 9:50 UTC (Fri) by epa (subscriber, #39769)In reply to: Why not filename and line number? by felixfix
Parent article: Organizing kernel messages
It wouldn't be a good situation, however, for all kernel messages to become set in stone because people are relying on the CRC32 of the format string, so that even spelling mistakes and typos can never be corrected. If you think that line number is something unpredictable, perhaps show "foo.c:N" for the Nth occurrence of printk() in file foo.c. Then it would be fairly robust against code jiggling; only a real change to the code's functionality would cause the number to change.
