Cflow Problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello guys,

I've found out that cflow doesn't work fine with #ifdefs, it complains
about function redefinitions.

Does anybody knows how to ignore this problem or how to fix it??
Or even another tool to do it??

I'm writing a simple script to generate jpg files from sourcecodes in
the kernel...

Here's the code:

#!/bin/sh

CFLOW="/usr/local/bin/cflow"
CFLOW2DOT="/usr/local/bin/cflow2dot"
DOT="/usr/bin/dot"
EOG="/usr/bin/eog"
HOME="/home/users"
OUTDIR="jpgs"

$CFLOW --format=posix --omit-arguments --level-indent='0=\t'
--level-indent='1=\t' --level-indent=start='\t' $1  | $CFLOW2DOT |
$DOT -Tjpg $1.dot -o $HOME/$jpgs/$1.jpg && $EOG $HOME/$jpgs/$1.jpg

#EOF

--
Best Regards,

Felipe Balbi
felipebalbi@xxxxxxxxxxxxxxxxxxxxx
felipe.lima@xxxxxxxxxxx

Nokia Institute of Technology - INdT
Kernel Developers Team

+55 92 8127 0839

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux