Giter VIP home page Giter VIP logo

traceshark's People

Contributors

cunctator avatar mic92 avatar sudipm-mukherjee avatar yorickbrunet avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

traceshark's Issues

Provide a comparison to kernelshark

These two tools seem alike. What are the pros & cons, or differences in your view ?
Can you kindly provide it in the README, so we can easily know what we can expect ?

macOS: building with Qt 5.15.2, linking fails: Undefined symbols for architecture x86_64: QArrayData::deallocate

Hi there, I'm not sure this is a huge priority (probably most users are on linux) but just reporting these issues compiling on macOS:

$ qmake --version
QMake version 3.1
Using Qt version 5.15.2 in /usr/local/Cellar/qt@5/5.15.2/lib

$ make install
/Library/Developer/CommandLineTools/usr/bin/clang++ -stdlib=libc++ -fwhole-program -O2 -std=c++11 -headerpad_max_install_names  -arch x86_64 -isysroot /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk -mmacosx-version-min=10.13 -Wl,-rpath,@executable_path/../Frameworks -o traceshark.app/Contents/MacOS/traceshark obj/qcustomplot.o obj/abstracttaskmodel.o obj/cpuselectdialog.o obj/cpuselectmodel.o obj/cursor.o obj/cursorinfo.o obj/errordialog.o obj/eventinfodialog.o obj/eventselectdialog.o obj/eventselectmodel.o obj/eventsmodel.o obj/eventswidget.o obj/graphenabledialog.o obj/infowidget.o obj/licensedialog.o obj/mainwindow.o obj/migrationarrow.o obj/migrationline.o obj/regexdialog.o obj/regexwidget.o obj/statslimitedmodel.o obj/statsmodel.o obj/tableview.o obj/taskgraph.o obj/taskmodel.o obj/taskrangeallocator.o obj/taskselectdialog.o obj/tasktoolbar.o obj/traceplot.o obj/tracesharkstyle.o obj/valuebox.o obj/yaxisticker.o obj/abstracttask.o obj/cpufreq.o obj/cpuidle.o obj/cputask.o obj/filterstate.o obj/regexfilter.o obj/task.o obj/tcolor.o obj/traceanalyzer.o obj/fileinfo.o obj/traceevent.o obj/tracefile.o obj/traceparser.o obj/ftraceparams.o obj/ftracegrammar.o obj/perfparams.o obj/perfgrammar.o obj/indexwatcher.o obj/loadbuffer.o obj/loadthread.o obj/tthread.o obj/workqueue.o obj/mempool.o obj/errors.o obj/main.o obj/setting.o obj/settingstore.o obj/traceshark.o obj/translate.o obj/bitvector.o obj/error.o obj/qrc_traceshark.o obj/moc_qcustomplot.o obj/moc_abstracttaskmodel.o obj/moc_cpuselectdialog.o obj/moc_cpuselectmodel.o obj/moc_cursor.o obj/moc_cursorinfo.o obj/moc_errordialog.o obj/moc_eventinfodialog.o obj/moc_eventselectdialog.o obj/moc_eventselectmodel.o obj/moc_eventsmodel.o obj/moc_eventswidget.o obj/moc_graphenabledialog.o obj/moc_infowidget.o obj/moc_licensedialog.o obj/moc_mainwindow.o obj/moc_migrationarrow.o obj/moc_migrationline.o obj/moc_regexdialog.o obj/moc_regexwidget.o obj/moc_statslimitedmodel.o obj/moc_statsmodel.o obj/moc_tableview.o obj/moc_taskmodel.o obj/moc_taskselectdialog.o obj/moc_tasktoolbar.o obj/moc_traceplot.o obj/moc_valuebox.o obj/moc_tthread.o   -F/usr/local/Cellar/qt@5/5.15.2/lib -framework QtPrintSupport -framework QtWidgets -framework QtGui -framework AppKit -framework Metal -framework QtCore -framework DiskArbitration -framework IOKit -framework OpenGL -framework AGL   
ld: warning: object file (obj/abstracttaskmodel.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/cpuselectmodel.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/cursorinfo.o) was built for newer macOS version (11.0) than being linked (10.13)
ld: warning: object file (obj/regexwidget.o) was built for newer macOS version (11.0) than being linked (10.13)
Undefined symbols for architecture x86_64:
  "QArrayData::deallocate(QArrayData*, long long, long long)", referenced from:
      CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
      CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
      CPUSelectModel::~CPUSelectModel() in cpuselectmodel.o
      CPUSelectModel::rowToName(int, bool&) const in cpuselectmodel.o
      CPUSelectModel::data(QModelIndex const&, int) const in cpuselectmodel.o
      CPUSelectModel::headerData(int, Qt::Orientation, int) const in cpuselectmodel.o
      CPUSelectModel::rowToName(int, bool&) const (.cold.1) in cpuselectmodel.o
      ...
  "QByteArray::reallocData(long long, QArrayData::AllocationOption)", referenced from:
      CursorInfo::moveTriggered() in cursorinfo.o
  "QString::toLocal8Bit_helper(QChar const*, long long)", referenced from:
      CursorInfo::moveTriggered() in cursorinfo.o
  "QString::fromUtf8(QByteArrayView)", referenced from:
      CursorInfo::CursorInfo(int, QWidget*) in cursorinfo.o
      CursorInfo::updateValue(vtl::Time) in cursorinfo.o
      CursorInfo::createInputMask(unsigned int) in cursorinfo.o
      RegexWidget::RegexWidget(QWidget*, RegexWidget::Type) in regexwidget.o
      RegexWidget::setType(RegexWidget::Type) in regexwidget.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [traceshark.app/Contents/MacOS/traceshark] Error 1

I'm not sure if this is a mismatch in Qt versions (I'm using 5.15 -- the version installed from brew install qt@5, the readme says 5.13. Or perhaps I'm just holding it totally wrong!

Graphs too small with many CPUs

On HiDPI displays the icons do not scale, while the font does.
Also the graph view is not readable as it is too small.

2020-05-18_13-23

Could the graph view maybe has a scrollbar so that each graph has a minimum hight? I use a 13 inch screen with a 3840x2160 resolution.

macOS: REG_EEND and REG_ESIZE not defined in regex.h

Hi there, I'm not sure this is a huge priority (probably most users are on linux) but just reporting these issues compiling on macOS:

misc/translate.cpp:141:7: error: use of undeclared identifier 'REG_EEND'
        case REG_EEND:                                                                                                                                                               
             ^                         
misc/translate.cpp:153:7: error: use of undeclared identifier 'REG_ESIZE'
        case REG_ESIZE:                                                                   

If I run man 3 regex to list the set of errors that macOS regex has, we see these are not defined:

DIAGNOSTICS
     Non-zero error codes from regcomp() and regexec() include the following:

     REG_NOMATCH   The regexec() function failed to match
     REG_BADPAT    invalid regular expression
     REG_ECOLLATE  invalid collating element
     REG_ECTYPE    invalid character class
     REG_EESCAPE   `\' applied to unescapable character
     REG_ESUBREG   invalid backreference number
     REG_EBRACK    brackets `[ ]' not balanced
     REG_EPAREN    parentheses `( )' not balanced
     REG_EBRACE    braces `{ }' not balanced
     REG_BADBR     invalid repetition count(s) in `{ }'
     REG_ERANGE    invalid character range in `[ ]'
     REG_ESPACE    ran out of memory
     REG_BADRPT    `?', `*', or `+' operand invalid
     REG_EMPTY     empty (sub)expression
     REG_ASSERT    cannot happen - you found a bug
     REG_INVARG    invalid argument, e.g. negative-length string
     REG_ILLSEQ    illegal byte sequence (bad multibyte character)

Pre-built releases

Qt building environment is complex to setup to many of us.
Are you planning on provide pre-built releases in the future.
Thanks!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.